MF_Dia_equV
| MD_Dia_equV |
ME_Dia_equV |
MCF_Dia_equV |
MCD_Dia_equV |
MCE_Dia_equV |
MI_Dia_equV | MBI_Dia_equV | MSI_Dia_equV | MLI_Dia_equV | MQI_Dia_equV |
MU_Dia_equV | MUB_Dia_equV | MUS_Dia_equV | MUL_Dia_equV | MUQ_Dia_equV |
|
Function | copy a vector into the diagonal of a square matrix |
|
Syntax C/C++ | #include <MFstd.h>
void MF_Dia_equV( fMatrix MA, ui len, fVector X ); |
C++ MatObj | #include <OptiVec.h>
void matrix<T>::Dia_equV( const vector<T>& X ); |
Pascal/Delphi | uses MFstd;
procedure MF_Dia_equV( MA:fMatrix; len:UIntSize; X:fVector ); |
|
CUDA function C/C++ | #include <cudaMFstd.h>
int cudaMF_Dia_equV( fMatrix d_MA, ui len, fVector d_X );
void MFcu_Dia_equV( fMatrix h_MA, ui len, fVector h_X ); |
CUDA function Pascal/Delphi | uses MFstd;
function cudaMF_Dia_equV( d_MA:fMatrix; len:UIntSize; d_X:fVector ): IntBool;
procedure MFcu_Dia_equV( h_MA:fMatrix; len:UIntSize; h_X:fVector );
|
|
Description | MAi,i = Xi, i=0,...,len-1 |
|
|