MF_subM MD_subM ME_subM
MFs_subM MDs_subM MEs_subM
MCF_subM MCD_subM MCE_subM
Functionelement-wise subtraction of two matrices
Syntax C/C++#include <MFstd.h>
void MF_subM( fMatrix MC, fMatrix MA, fMatrix MB, ui ht, ui len );
void MFs_subM( fMatrix MC, fMatrix MA, fMatrix MB, ui ht, ui len, float C );
C++ MatObj#include <OptiVec.h>
void matrix<T>::subM( const matrix<T>& MA, const matrix<T>& MB);
void matrix<T>::s_subM( const matrix<T>& MA, const matrix<T>& MB, const T& C);
Pascal/Delphiuses MFstd;
procedure MF_subM( MC, MA, MB:fMatrix; ht, len:UIntSize );
procedure MFs_subM( MC, MA, MB:fMatrix; ht, len:UIntSize; C:Single );
CUDA function C/C++#include <cudaMFstd.h>
int cudaMF_subM( fMatrix d_MC, fMatrix d_MA, fMatrix d_MB, ui ht, ui len );
int cudaMFs_subM( fMatrix d_MC, fMatrix d_MA, fMatrix d_MB, ui ht, ui len, float C );
int cusdMFs_subM( fMatrix d_MC, fMatrix d_MA, fMatrix d_MB, ui ht, ui len, float *d_C );
void MFcu_subM( fMatrix h_MC, fMatrix h_MA, fMatrix h_MB, ui ht, ui len );
void MFs_subM( fMatrix h_MC, fMatrix h_MA, fMatrix h_MB, ui ht, ui len, float C );
CUDA function Pascal/Delphiuses MFstd;
function cudaMF_subM( d_MC, d_MA, d_MB:fMatrix; ht, len:UIntSize ): IntBool;
function cudaMFs_subM( d_MC, d_MA, d_MB:fMatrix; ht, len:UIntSize; C:Single ): IntBool;
function cusdMFs_subM( d_MC, d_MA, d_MB:fMatrix; ht, len:UIntSize; d_C:PSingle ): IntBool;
procedure MF_subM( h_MC, h_MA, h_MB:fMatrix; ht, len:UIntSize );
procedure MFs_subM( h_MC, h_MA, h_MB:fMatrix; ht, len:UIntSize; C:Single );
Descriptionnormal version: MCij = MAij - MBij
scaled version: MCij = C * (MAij - MBij)
See alsoMF_subMT,   MF_addM,   chapter 9

MatrixLib Table of Contents  OptiVec home