MF_getElement MD_getElement ME_getElement
MCF_getElement MCD_getElement MCE_getElement
MI_getElementMBI_getElementMSI_getElementMLI_getElementMQI_getElement
MU_getElementMUB_getElementMUS_getElementMUL_getElementMUQ_getElement
Functionread-only access to a matrix element
Syntax C/C++#include <MFstd.h>
void MF_getElement( float *RetVal, fMatrix MA, ui ht, ui len, unsigned m, unsigned n );
void MCF_getElement( fComplex *RetVal, cfMatrix MA, ui ht, ui len, unsigned m, unsigned n );
C++ MatObj#include <OptiVec.h>
void matrix<T>::getElement( T*RetVal, const unsigned m, const unsigned n );
Pascal/Delphiuses MFstd;
procedure MF_getElement( var RetVal:Single; MA:fMatrix; ht, len, m, n:UIntSize );
procedure MCF_getElement( var RetVal:fComplex; MA:cfMatrix; ht, len, m, n:UIntSize );
CUDA function C/C++#include <cudaMFstd.h>
void cudaMF_getElement( float *h_RetVal, fMatrix d_MA, ui ht, ui len, unsigned m, unsigned n );
void cusdMF_getElement( float *d_RetVal, fMatrix d_MA, ui ht, ui len, unsigned m, unsigned n );
CUDA function Pascal/Delphiuses MFstd;
procedure cudaMF_getElement( var h_RetVal:Single; d_MA:fMatrix; ht, len, m, n:UIntSize );

procedure cusdMF_getElement( d_RetVal:PSingle; d_MA:fMatrix; ht, len, m, n:UIntSize );
DescriptionThe element MAm,n is copied into the location specified as RetVal.
Return valuenone
See alsoMF_setElement,   MF_Pelement,   chapter 2

MatrixLib Table of Contents  OptiVec home