MFdia_mulM MDdia_mulM MEdia_mulM
MCFdia_mulM MCDdia_mulM MCEdia_mulM
Functionmultiplication 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/Delphiuses MFstd;
procedure MFdia_mulM( MC:fMatrix; MADia: fVector; MB:fMatrix; lenA, lenB:UIntSize );
DescriptionMC = 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.
See alsoMFdia_mulMT,   chapter 9

MatrixLib Table of Contents  OptiVec home