MF_element
| MD_element |
ME_element |
MCF_element |
MCD_element |
MCE_element |
MI_element | MBI_element | MSI_element | MLI_element | MQI_element |
MU_element | MUB_element | MUS_element | MUL_element | MUQ_element |
|
Function | read-only access to a matrix element |
|
Syntax C/C++ | #include <MFstd.h>
float MF_element( fMatrix MA, ui ht, ui len, unsigned m, unsigned n );
fComplex MCF_element( cfMatrix MA, ui ht, ui len, unsigned m, unsigned n ); |
C++ MatObj | #include <OptiVec.h>
T matrix<T>::element( const unsigned m, const unsigned n ); |
Pascal/Delphi | uses MFstd;
function MF_element( MA:fMatrix; ht, len, m, n:UIntSize ): Single;
function MCF_element( MA:cfMatrix; ht, len, m, n:UIntSize ): fComplex;
Alternative syntax for the complex types (obsolete, but still supported):
procedure MCF_element( var RetVal:fComplex; MA:cfMatrix; ht, len, m, n:UIntSize ); |
|
CUDA function C/C++ | #include <cudaMFstd.h>
float cudaMF_element( fMatrix d_MA, ui ht, ui len, unsigned m, unsigned n );
|
CUDA function Pascal/Delphi | uses MFstd;
function cudaMF_element( d_MA:fMatrix; ht, len, m, n:UIntSize ): Single;
function cudaMCF_element( d_MA:cfMatrix; ht, len, m, n:UIntSize ): fComplex;
Alternative syntax for the complex types:
procedure cudaMCF_element( var RetVal:fComplex; MA:cfMatrix; ht, len, m, n:UIntSize );
|
|
Description | The element MAm,n is returned.
MF_element is "read-only". This means, you c a n n o t write something like
MF_element( MX, ht, len, 3, 4 ) := 5;
Write access to individual matrix elements is provided by MF_setElement and MF_Pelement |
|
Return value | the matrix element m,n (except complex version in Pascal/Delphi) |
|
|