MF_hexprint MD_hexprint ME_hexprint
MCF_hexprint MCD_hexprint MCE_hexprint
MI_hexprintMBI_hexprintMSI_hexprintMLI_hexprintMQI_hexprint
MU_hexprintMUB_hexprintMUS_hexprintMUL_hexprintMUQ_hexprint;
Functionprint a matrix in hexadecimal format to stdout (Console applications only)
Syntax C/C++#include <MFstd.h>
void MF_hexprint( fMatrix MA, ui ht, ui len );
C++ MatObj#include <OptiVec.h>
void matrix<T>::hexprint();
Pascal/Delphiuses MFstd;
procedure MF_hexprint( MA:fMatrix; ht, len:UIntSize );
CUDA function C/C++#include <cudaMFstd.h>
int cudaMF_hexprint( fMatrix d_MA, ui ht, ui len );
int cudaMF_hexprint_buf( fMatrix d_MA, ui ht, ui len, fVector h_Wk );
CUDA function Pascal/Delphiuses MFstd;
function cudaMF_hexprint( d_MA:fMatrix; ht, len:UIntSize ): IntBool;
function cudaMF_hexprint_buf( d_MA:fMatrix; ht, len:UIntSize; h_Wk:fVector ): IntBool;
DescriptionThe matrix MA is written in hexadecimal format to stream. Each line corresponds to one row of the matrix. The lines are numbered.
C/C++: The linewidth is determined by the symbolic constant V_consoleWindowWidth, defined in <VecLib.h> with a default value of 150 characters. If you wish to change this default value, either change it in <VecLib.h> or write #define V_consoleWindowWidth xxxx before you #include <VecLib.h>.
Pascal/Delphi: The linewidth is determined by the variable V_consoleWindowWidth in the unit VecLib with a default value of 150 characters. If you wish to change this default value, you may simply assign a new value to V_consoleWindowWidth, e.g., V_consoleWindowWidth := 80;
If this linewidth is too small to write all columns, rows are cut off.
Cartesian complex numbers are hexprinted in braces, with the real and imaginary parts separated by a komma: {Re, Im}.

In contrast to MF_chexprint, no paging is performed.
This family of functions can be used only in console applications.

CUDA versions only: cudaM?_hexprint_buf takes a host vector h_Wk as additional argument. The latter serves as buffer memory and needs to be (at least) of the same size as d_MA, i.e. ht*len. By avoiding the need of cudaM?_hexprint to allocate its own buffer memory, cudaM?_hexprint_buf is slightly faster.

See alsoVF_hexprint,   MF_print,   MF_chexprint,   MF_fhexprint,   chapter 14

MatrixLib Table of Contents  OptiVec home