MF_Dia_prod
| MD_Dia_prod |
ME_Dia_prod |
MCF_Dia_prod |
MCD_Dia_prod |
MCE_Dia_prod |
|
Function | product of all elements of the diagonal of a square matrix |
|
Syntax C/C++ | #include <MFstd.h>
float MF_Dia_prod( fMatrix MA, ui len ); |
C++ MatObj | #include <OptiVec.h>
T matrix<T>::Dia_prod(); |
Pascal/Delphi | uses MFstd, MCFstd;
function MF_Dia_prod( MA:fMatrix; len:UIntSize ): Single;
function MCF_Dia_prod( MA:cfMatrix; len:UIntSize ): fComplex;
Alternative syntax for the complex types (obsolete, but still supported):
procedure MCF_Dia_prod( var RetVal:fComplex; MA:cfMatrix; len:UIntSize );
|
|
CUDA function C/C++ | #include <cudaMFstd.h>
int cudaMF_Dia_prod( float *h_RetVal, fMatrix d_MA, ui len );
int cusdMF_Dia_prod( float *d_RetVal, fMatrix d_MA, ui len );
float MFcu_Dia_prod( fMatrix h_MA, ui len );
|
CUDA function Pascal/Delphi | uses MFstd, MCFstd;
function cudaMF_Dia_prod( var h_RetVal:Single; d_MA:fMatrix; len:UIntSize ): IntBool;
function cusdMF_Dia_prod( d_RetVal:PSingle; d_MA:fMatrix; len:UIntSize ): IntBool;
procedure MFcu_Dia_prod( h_MA:fMatrix; len:UIntSize ): Single;
function MCFcu_Dia_prod( h_MA:cfMatrix; len:UIntSize ): fComplex;
Alternative syntax for the complex types:
procedure MCFcu_Dia_prod( var h_RetVal:fComplex; h_MA:cfMatrix; len:UIntSize );
|
|
Description | the product of the diagonal elements is returned as a scalar |
|
Return value | product of the diagonal elements |
|
|