MFdia_mulM
| MDdia_mulM |
MEdia_mulM |
MCFdia_mulM |
MCDdia_mulM |
MCEdia_mulM |
|
Function | multiplication of a diagonal matrix and a general matrix |
|
Syntax C/C++ | #include <MFstd.h>
void MFdia_mulM( fMatrix MC, fVector MADia, fMatrix MB, ui lenA, ui lenB ); |
C++ MatObj | #include <OptiVec.h>
void matrix<T>::dia_mulM( const vector<T>& MADia, const matrix<T>& MB ); |
Pascal/Delphi | uses MFstd;
procedure MFdia_mulM( MC:fMatrix; MADia: fVector; MB:fMatrix; lenA, lenB:UIntSize ); |
|
CUDA function C/C++ | #include <cudaMFstd.h>
int cudaMFdia_mulM( fMatrix d_MC, fVector d_MADia, fMatrix d_MB, ui lenA, ui lenB );
void MFdiacu_mulM( fMatrix h_MC, fVector h_MADia, fMatrix h_MB, ui lenA, ui lenB );
|
CUDA function Pascal/Delphi | uses MFstd;
function cudaMFdia_mulM( d_MC:fMatrix; d_MADia:fVector; d_MB:fMatrix; lenA, lenB:UIntSize ): IntBool;
procedure MFdiacu_mulM( h_MC:fMatrix; h_MADia:fVector; h_MB:fMatrix; lenA, lenB:UIntSize );
|
|
Description | MC = MADia * MB
The vector MAdia represents the diagonal matrix MA. (A matrix is called diagonal, it it has non-zero elements only on the diagonal). lenA, and lenB must be specified; htB is equal to lenA. |
|
|