MF_equM MD_equM ME_equM
MCF_equM MCD_equM MCE_equM
MI_equMMBI_equMMSI_equMMLI_equMMQI_equM
MU_equMMUB_equMMUS_equMMUL_equMMUQ_equM
Functionmake one matrix the copy of another
Syntax C/C++#include <MFstd.h>
void MF_equM( fMatrix MB, fMatrix MA, ui ht, ui len );
C++ MatObj#include <OptiVec.h>
void matrix<T>::equM( const matrix<T>& MA );
Pascal/Delphiuses MFstd;
procedure MF_equM( MB, MA:fMatrix; ht, len:UIntSize );
CUDA function C/C++#include <cudaMFstd.h>
int cudaMF_equM( fMatrix d_MB, fMatrix d_MA, ui ht, ui len );
void MFcu_equM( fMatrix h_MB, fMatrix h_MA, ui ht, ui len );
 
int cudaMF_equMhost( fMatrix d_MB, fMatrix h_NA, ui ht, ui len );
int MF_equMdevice( fMatrix h_MB, fMatrix d_MA, ui ht, ui len );
CUDA function Pascal/Delphiuses MFstd;
function cudaMF_equM( d_MB, d_MA:fMatrix; ht, len:UIntSize ): IntBool;
procedure MF_equM( h_MB, h_MA:fMatrix; ht, len:UIntSize );
 
function cudaMF_equMhost( d_MB, h_MA:fMatrix; ht, len:UIntSize ): IntBool;
function MF_equMdevice( h_MB, d_MA:fMatrix; ht, len:UIntSize ): IntBool;
DescriptionMBi,j = MAi,j

CUDA versions: cudaMF_equMhost and MF_equMdevice transfer matrices from host to device memory and vice versa.

See alsoMF_transpose,   MF_neg,   chapter 3

MatrixLib Table of Contents  OptiVec home