MF_Cols_lincomb
| MD_Cols_lincomb |
ME_Cols_lincomb |
MCF_Cols_lincomb |
MCD_Cols_lincomb |
MCE_Cols_lincomb |
|
Function | linear combination of two columns |
|
Syntax C/C++ | #include <MFstd.h>
void MF_Cols_lincomb( fMatrix MA, ui ht, ui len, unsigned destCol, float destC, unsigned srceCol, float srceC ); |
C++ MatObj | #include <OptiVec.h>
void matrix<T>::Cols_lincomb( const unsigned destCol, const T& destC, const unsigned srceCol, const T& srceC ); |
Pascal/Delphi | uses MFstd;
procedure MF_Cols_lincomb( MA:fMatrix; ht, len:UIntSize; destCol:UIntSize; destC:Single; srceCol:UIntSize; srceC:Single ); |
|
CUDA function C/C++ | #include <cudaMFstd.h>
int cudaMF_Cols_lincomb( fMatrix d_MA, ui ht, ui len, unsigned destCol, float destC, unsigned srceCol, float srceC );
int cusdMF_Cols_lincomb( fMatrix d_MA, ui ht, ui len, unsigned destCol, float
d_destC, unsigned srceCol, float *d_srceC );
void MFcu_Cols_lincomb( fMatrix h_MA, ui ht, ui len, unsigned destCol, float destC, unsigned srceCol, float srceC );
|
CUDA function Pascal/Delphi | uses MFstd;
function cudaMF_Cols_lincomb( d_MA:fMatrix; ht, len:UIntSize; destCol:UIntSize; destC:Single; srceCol:UIntSize; srceC:Single ): IntBool;
function cusdMF_Cols_lincomb( d_MA:fMatrix; ht, len:UIntSize; destCol:UIntSize; d_destC:PSingle; srceCol:UIntSize; d_srceC:PSingle ): IntBool;
procedure MFcu_Cols_lincomb( h_MA:fMatrix; ht, len:UIntSize; destCol:UIntSize; destC:Single; srceCol:UIntSize; srceC:Single );
|
|
Description | MAi,destCol = destC * MAi,destCol+ srceC * MAi,srceCol, i=0,..,ht-1 |
|
|