|
Function | multiply a row vector by a matrix |
|
Syntax C/C++ | #include <MFstd.h>
void VF_mulM( fVector Y, fVector X, fMatrix MA, ui htA, ui lenA ); |
C++ MatObj | #include <OptiVec.h>
void vector<T>::mulM( const vector<T>& X, const matrix<T>& MA ); |
Pascal/Delphi | uses MFstd;
procedure VF_mulM( Y, X:fVector; MA:fMatrix; htA, lenA:UIntSize ); |
|
CUDA function C/C++ | #include <cudaMFstd.h>
int cudaVF_mulM( fVector d_Y, fVector d_X, fMatrix d_MA, ui htA, ui lenA );
void VFcu_mulM( fVector h_Y, fVector h_X, fMatrix h_MA, ui htA, ui lenA );
|
CUDA function Pascal/Delphi | uses MFstd;
function cudaVF_mulM( d_Y, d_X:fVector; d_MA:fMatrix; htA, lenA:UIntSize ): IntBool;
procedure VFcu_mulM( h_Y, h_X:fVector; h_MA:fMatrix; htA, lenA:UIntSize );
|
|
Description | Y = X * MA;
the dimensions of X and Y are implicitly given by the matrix dimensions: sizX = htA, sizY = lenA. |
|
|