MF_Dia_equV MD_Dia_equV ME_Dia_equV
MCF_Dia_equV MCD_Dia_equV MCE_Dia_equV
MI_Dia_equVMBI_Dia_equVMSI_Dia_equVMLI_Dia_equVMQI_Dia_equV
MU_Dia_equVMUB_Dia_equVMUS_Dia_equVMUL_Dia_equVMUQ_Dia_equV
Functioncopy 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/Delphiuses 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/Delphiuses 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 );
DescriptionMAi,i = Xi,  i=0,...,len-1
See alsoMF_Dia_equ0,   MF_Dia_equC,   chapter 3,   chapter 6,   chapter 7

MatrixLib Table of Contents  OptiVec home