![]() |
FLImaging 6.5.8.1
|
A class representing matrix. More...
#include <Matrix.h>
Public Member Functions | |
CMatrix () | |
virtual | ~CMatrix () |
CMatrix (const CMatrix< Ty > &matrix) | |
CMatrix (const CMatrix< Ty > *pMatrix) | |
CMatrix (int64_t i64Row, int64_t i64Column) | |
CMatrix (int64_t i64Row, int64_t i64Column, Ty tFillValue) | |
CMatrix (const Base::CFLArray< Base::CFLArray< Ty > > &fla2Mat) | |
virtual const CMatrix< Ty > & | operator+= (const int32_t &i32Param) |
virtual const CMatrix< Ty > & | operator+= (const int64_t &i64Param) |
virtual const CMatrix< Ty > & | operator+= (const float &f32Param) |
virtual const CMatrix< Ty > & | operator+= (const double &f64Param) |
virtual const CMatrix< Ty > & | operator+= (const CMatrix< Ty > &cMat) |
virtual const CMatrix< Ty > & | operator-= (const int32_t &i32Param) |
virtual const CMatrix< Ty > & | operator-= (const int64_t &i64Param) |
virtual const CMatrix< Ty > & | operator-= (const float &f32Param) |
virtual const CMatrix< Ty > & | operator-= (const double &f64Param) |
virtual const CMatrix< Ty > & | operator-= (const CMatrix< Ty > &cMat) |
virtual const CMatrix< Ty > & | operator*= (const int32_t &i32Param) |
virtual const CMatrix< Ty > & | operator*= (const int64_t &i64Param) |
virtual const CMatrix< Ty > & | operator*= (const float &f32Param) |
virtual const CMatrix< Ty > & | operator*= (const double &f64Param) |
virtual const CMatrix< Ty > & | operator*= (const CMatrix< Ty > &cMat) |
virtual const CMatrix< Ty > & | operator/= (const int32_t &i32Param) |
virtual const CMatrix< Ty > & | operator/= (const int64_t &i64Param) |
virtual const CMatrix< Ty > & | operator/= (const float &f32Param) |
virtual const CMatrix< Ty > & | operator/= (const double &f64Param) |
virtual const CMatrix< Ty > & | operator/= (const CMatrix< Ty > &cMat) |
CMatrix< Ty > | operator+ (const int32_t &i32Param) const |
CMatrix< Ty > | operator+ (const int64_t &i64Param) const |
CMatrix< Ty > | operator+ (const float &f32Param) const |
CMatrix< Ty > | operator+ (const double &f64Param) const |
CMatrix< Ty > | operator+ (const CMatrix< Ty > &cMat) const |
CMatrix< Ty > | operator- (const int32_t &i32Param) const |
CMatrix< Ty > | operator- (const int64_t &i64Param) const |
CMatrix< Ty > | operator- (const float &f32Param) const |
CMatrix< Ty > | operator- (const double &f64Param) const |
CMatrix< Ty > | operator- (const CMatrix< Ty > &cMat) const |
CMatrix< Ty > | operator* (const int32_t &i32Param) const |
CMatrix< Ty > | operator* (const int64_t &i64Param) const |
CMatrix< Ty > | operator* (const float &f32Param) const |
CMatrix< Ty > | operator* (const double &f64Param) const |
CMatrix< Ty > | operator* (const CMatrix< Ty > &cMat) const |
CMatrix< Ty > | operator/ (const int32_t &i32Param) const |
CMatrix< Ty > | operator/ (const int64_t &i64Param) const |
CMatrix< Ty > | operator/ (const float &f32Param) const |
CMatrix< Ty > | operator/ (const double &f64Param) const |
CMatrix< Ty > | operator/ (const CMatrix< Ty > &cMat) const |
virtual const CMatrix< Ty > & | operator= (const CMatrix< double > &matrix) |
virtual const CMatrix< Ty > & | operator= (const CMatrix< float > &matrix) |
virtual const CMatrix< Ty > & | operator= (const CMatrix< double > *pMatrix) |
virtual const CMatrix< Ty > & | operator= (const CMatrix< float > *pMatrix) |
virtual const CMatrix< Ty > & | operator= (const Base::CFLArray< Base::CFLArray< Ty > > &fla2Matrix) |
virtual bool | operator== (const CMatrix< Ty > &cMat) const |
virtual bool | operator!= (const CMatrix< Ty > &cMat) const |
CMatrix< Ty > | operator== (const double &f64Param) const |
CMatrix< Ty > | operator!= (const double &f64Param) const |
CMatrix< Ty > | operator< (const double &f64Param) const |
CMatrix< Ty > | operator> (const double &f64Param) const |
CMatrix< Ty > | operator< (const CMatrix< Ty > &matOperand) const |
CMatrix< Ty > | operator> (const CMatrix< Ty > &matOperand) const |
CMatrix< Ty > | operator% (const double &f64Param) const |
CMatrix< Ty > | operator% (const CMatrix< Ty > &matOperand) const |
CMatrix< Ty > | operator&& (const CMatrix< Ty > &matOperand) const |
virtual const CMatrix< Ty > & | operator%= (const double &f64Param) |
virtual | operator Ty * () |
virtual Ty * | operator() (const int32_t i32Row, const int32_t i32Column) const |
virtual Ty * | operator[] (int32_t i32Index) |
virtual Ty * | operator[] (int64_t i64Index) |
virtual const Ty * | operator[] (int32_t i32Index) const |
virtual const Ty * | operator[] (int64_t i64Index) const |
virtual EMatrixTemplateType | GetTemplateType () const |
virtual const CResult | Create (int64_t i64Row, int64_t i64Column, bool bFillZero=true) |
virtual const CResult | Create (const CMatrix< float > &matShape, Ty tFillValue=0) |
virtual const CResult | Create (const CMatrix< double > &matShape, Ty tFillValue=0) |
virtual const CResult | Create (const CMatrix< float > *pMatShape, Ty tFillValue=0) |
virtual const CResult | Create (const CMatrix< double > *pMatShape, Ty tFillValue=0) |
virtual const CResult | Ones (int64_t i64Row, int64_t i64Column) |
virtual const CResult | Zeros (int64_t i64Row, int64_t i64Column) |
virtual const CResult | Full (int64_t i64Row, int64_t i64Column, Ty tFillValue) |
virtual const CResult | OnesLike (const CMatrix< float > &matShape) |
virtual const CResult | OnesLike (const CMatrix< double > &matShape) |
virtual const CResult | OnesLike (const CMatrix< float > *pMatShape) |
virtual const CResult | OnesLike (const CMatrix< double > *pMatShape) |
virtual const CResult | ZerosLike (const CMatrix< float > &matShape) |
virtual const CResult | ZerosLike (const CMatrix< double > &matShape) |
virtual const CResult | ZerosLike (const CMatrix< float > *pMatShape) |
virtual const CResult | ZerosLike (const CMatrix< double > *pMatShape) |
virtual const CResult | FullLike (const CMatrix< float > &matShape, Ty tFillValue) |
virtual const CResult | FullLike (const CMatrix< double > &matShape, Ty tFillValue) |
virtual const CResult | FullLike (const CMatrix< float > *pMatShape, Ty tFillValue) |
virtual const CResult | FullLike (const CMatrix< double > *pMatShape, Ty tFillValue) |
virtual bool | IsValid () const override |
virtual const CResult | Assign (const CMatrix< double > &matrix) |
virtual const CResult | Assign (const CMatrix< float > &matrix) |
virtual const CResult | Assign (const CMatrix< double > *pMatrix) |
virtual const CResult | Assign (const CMatrix< float > *pMatrix) |
virtual const CResult | Assign (Ty *pArr2Mat, int64_t i64Row, int64_t i64Column) |
virtual const CResult | Assign (const Base::CFLArray< Base::CFLArray< Ty > > &fla2Matrix) |
virtual const CResult | Assign (const Base::CFLArray< Base::CFLArray< Ty > > *pFla2Matrix) |
virtual const CResult | Set (Ty *pArr2Mat, int64_t i64Row, int64_t i64Column) |
virtual void | Clear () |
virtual int64_t | GetColumn () const |
virtual int64_t | GetRow () const |
virtual int64_t | GetElementCount () const |
virtual int64_t | GetTotalSizeByte () const |
virtual int64_t | GetColumnSizeByte () const |
virtual int64_t | GetRowSizeByte () const |
virtual Ty * | GetBuffer () const |
virtual Ty ** | GetYCache () const |
virtual Ty * | GetValue (int64_t i64Row, int64_t i64Column) const |
virtual const CResult | GetRange (CMatrix< Ty > *pMatResult, int64_t i64StartRow=-1, int64_t i64StartColumn=-1, int64_t i64EndRow=-1, int64_t i64EndColumn=-1) const |
virtual const CResult | GetRange (Base::CFLArray< Ty > *pMatResult, int64_t i64StartRow=-1, int64_t i64StartColumn=-1, int64_t i64EndRow=-1, int64_t i64EndColumn=-1) const |
virtual const CResult | GetRange (Base::CFLArray< Base::CFLArray< Ty > > *pMatResult, int64_t i64StartRow=-1, int64_t i64StartColumn=-1, int64_t i64EndRow=-1, int64_t i64EndColumn=-1) const |
virtual const CResult | GetRangeRef (CMatrix< Ty > *pMatResult, int64_t i64StartRow=-1, int64_t i64StartColumn=-1, int64_t i64EndRow=-1, int64_t i64EndColumn=-1) const |
virtual const CResult | Fill (Ty value) |
virtual const CResult | FillZero () |
virtual const CResult | FillRandom (Ty tRangeMin, Ty tRangeMax) |
virtual const CResult | FillLinear (Ty tRangeStart, Ty tRangeEnd) |
virtual const CResult | LinSpace (Ty tRangeStart, Ty tRangeEnd) |
virtual const CResult | SetValue (int64_t i64Row, int64_t i64Column, Ty value) |
virtual const CResult | Add (const CMatrix< Ty > &matrix) |
virtual const CResult | Add (const CMatrix< Ty > *pMatrix) |
virtual const CResult | Add (const CMatrix< Ty > &matrix, CMatrix< Ty > *pTargetMatrix) const |
virtual const CResult | Add (const CMatrix< Ty > *pMatrix, CMatrix< Ty > *pTargetMatrix) const |
virtual const CResult | Subtract (const CMatrix< Ty > &matrix) |
virtual const CResult | Subtract (const CMatrix< Ty > *pMatrix) |
virtual const CResult | Subtract (const CMatrix< Ty > &matrix, CMatrix< Ty > *pTargetMatrix) const |
virtual const CResult | Subtract (const CMatrix< Ty > *pMatrix, CMatrix< Ty > *pTargetMatrix) const |
virtual const CResult | Multiply (const int32_t &i32Scalar) |
virtual const CResult | Multiply (const int64_t &i64Scalar) |
virtual const CResult | Multiply (const float &f32Scalar) |
virtual const CResult | Multiply (const double &f64Scalar) |
virtual const CResult | Multiply (const CMatrix< Ty > &matrix) |
virtual const CResult | Multiply (const CMatrix< Ty > *pMatrix) |
virtual const CResult | Multiply (const CMatrix< Ty > &matrix, CMatrix< Ty > *pTargetMatrix) const |
virtual const CResult | Multiply (const CMatrix< Ty > *pMatrix, CMatrix< Ty > *pTargetMatrix) const |
virtual const CResult | MultiplyElementwise (const CMatrix< Ty > &matrix) |
virtual const CResult | MultiplyElementwise (const CMatrix< Ty > *pMatrix) |
virtual const CResult | MultiplyElementwise (const CMatrix< Ty > &matrix, CMatrix< Ty > *pTargetMatrix) const |
virtual const CResult | MultiplyElementwise (const CMatrix< Ty > *pMatrix, CMatrix< Ty > *pTargetMatrix) const |
virtual const CResult | Transpose () |
virtual const CResult | Transpose (CMatrix< Ty > *pTargetMatrix) const |
virtual const CResult | Invert () |
virtual const CResult | Invert (CMatrix< Ty > *pTargetMatrix) const |
virtual const CResult | Unit () |
virtual const CResult | Unit (CMatrix< Ty > *pTargetMatrix) const |
virtual const CResult | SetDiagonal (Ty tVal) |
virtual const CResult | SetDiagonal (Ty tVal, CMatrix< Ty > *pTargetMatrix) const |
virtual const CResult | PseudoInverse () |
virtual const CResult | PseudoInverse (CMatrix< Ty > *pTargetMatrix) const |
virtual Ty | GetNorm (const Ty tP=2) const |
virtual const CResult | ReduceSum (const EMatrixReduceType eReduceType, CMatrix< Ty > *pMatResult) const |
virtual const CResult | ReduceMean (const EMatrixReduceType eReduceType, CMatrix< Ty > *pMatResult) const |
virtual const CResult | ReduceMax (const EMatrixReduceType eReduceType, CMatrix< Ty > *pMatResult) const |
virtual const CResult | ReduceMin (const EMatrixReduceType eReduceType, CMatrix< Ty > *pMatResult) const |
virtual CMatrix< Ty > | T () const |
virtual CMatrix< Ty > | I () const |
virtual CMatrix< Ty > | P () const |
virtual CMatrix< Ty > | U () const |
virtual double | Determinant () const |
virtual const CResult | Hessenberg (CMatrix< Ty > *pMatrixH, CMatrix< Ty > *pMatrixP=nullptr) const |
virtual const CResult | SVD (CMatrix< Ty > *pMatrixU, CMatrix< Ty > *pMatrixSig, CMatrix< Ty > *pMatrixVT) const |
virtual const CResult | QR (CMatrix< Ty > *pMatrixQ, CMatrix< Ty > *pMatrixR) const |
virtual const CResult | LU (CMatrix< Ty > *pMatrixL, CMatrix< Ty > *pMatrixU) const |
virtual const CResult | LUP (CMatrix< Ty > *pMatrixP, CMatrix< Ty > *pMatrixL, CMatrix< Ty > *pMatrixU) const |
virtual bool | CheckRange (Ty tMin, Ty tMax) const |
virtual const CResult | MulTransposed (const CMatrix< Ty > *pMatrixSource, CMatrix< Ty > *pMatrixDestination, int32_t i32Order, CMatrix< Ty > *pMatDelta=nullptr, double f64Scale=1.) const |
virtual const CResult | CrossProduct (const CMatrix< Ty > &matrixSource2, CMatrix< Ty > *pMatrixDestination) const |
virtual const CResult | CrossProduct (const CMatrix< Ty > *pMatrixSource2, CMatrix< Ty > *pMatrixDestination) const |
virtual const CResult | Reshape (int64_t i64Row, int64_t i64Column=-1) |
virtual const CResult | Abs () |
virtual const CResult | Sqrt () |
virtual const CResult | Ceil () |
virtual const CResult | Floor () |
virtual const CResult | Round () |
virtual const CResult | Sin () |
virtual const CResult | Cos () |
virtual const CResult | Tan () |
virtual const CResult | Arcsin () |
virtual const CResult | Arccos () |
virtual const CResult | Arctan2 (const CMatrix< Ty > &matrixX) |
virtual const CResult | Arctan2 (const CMatrix< Ty > *pMatrixX) |
virtual const CResult | Degrees () |
virtual const CResult | Radians () |
virtual const CResult | Log () |
virtual const CResult | Log2 () |
virtual const CResult | Log10 () |
virtual const CResult | Log1p () |
virtual const CResult | Clip (Ty tMin, Ty tMax) |
virtual const CResult | ArgMin (int64_t &i64ResultRow, int64_t &i64ResultColumn) const |
virtual const CResult | ArgMin (Base::CFLArray< int64_t > &flaResultIndex, EMatrixAxis eAxis) const |
virtual const CResult | ArgMin (Base::CFLArray< int64_t > *pFlaResultIndex, EMatrixAxis eAxis) const |
virtual const CResult | ArgMax (int64_t &i64ResultRow, int64_t &i64ResultColumn) const |
virtual const CResult | ArgMax (Base::CFLArray< int64_t > &flaResultIndex, EMatrixAxis eAxis) const |
virtual const CResult | ArgMax (Base::CFLArray< int64_t > *pFlaResultIndex, EMatrixAxis eAxis) const |
virtual const CResult | ArgSort (CMatrix< Ty > *pMatResultIndex=nullptr, EMatrixSortOrder eOrder=EMatrixSortOrder_Ascending, EMatrixAxis eAxis=EMatrixAxis_Column) |
virtual Ty | Min () const |
virtual const CResult | Min (CMatrix< Ty > &matResult, EMatrixAxis eAxis) const |
virtual const CResult | Min (CMatrix< Ty > *pMatResult, EMatrixAxis eAxis) const |
virtual Ty | Max () const |
virtual const CResult | Max (CMatrix< Ty > &matResult, EMatrixAxis eAxis) const |
virtual const CResult | Max (CMatrix< Ty > *pMatResult, EMatrixAxis eAxis) const |
virtual Ty | Sum () const |
virtual const CResult | Sum (CMatrix< Ty > &matResult, EMatrixAxis eAxis) const |
virtual const CResult | Sum (CMatrix< Ty > *pMatResult, EMatrixAxis eAxis) const |
virtual Ty | Mean () const |
virtual const CResult | Mean (CMatrix< Ty > &matResult, EMatrixAxis eAxis) const |
virtual const CResult | Mean (CMatrix< Ty > *pMatResult, EMatrixAxis eAxis) const |
virtual Ty | Std () const |
virtual const CResult | Std (CMatrix< Ty > &matResult, EMatrixAxis eAxis) const |
virtual const CResult | Std (CMatrix< Ty > *pMatResult, EMatrixAxis eAxis) const |
virtual const CResult | HStack (const CMatrix< Ty > &matInput, CMatrix< Ty > *pMatResult=nullptr) |
virtual const CResult | HStack (const CMatrix< Ty > *pMatInput, CMatrix< Ty > *pMatResult=nullptr) |
virtual const CResult | VStack (const CMatrix< Ty > &matInput, CMatrix< Ty > *pMatResult=nullptr) |
virtual const CResult | VStack (const CMatrix< Ty > *pMatInput, CMatrix< Ty > *pMatResult=nullptr) |
virtual const CResult | Swap (CMatrix< Ty > &matRight) |
virtual const CResult | Swap (CMatrix< Ty > *pMatRight) |
virtual const CResult | Diff (CMatrix< Ty > &matResult, EMatrixAxis eAxis=EMatrixAxis_Column, int64_t i64Depth=1) const |
virtual const CResult | Diff (CMatrix< Ty > *pMatResult, EMatrixAxis eAxis=EMatrixAxis_Column, int64_t i64Depth=1) const |
virtual const CResult | Dot (const CMatrix< Ty > *pMatInput) |
virtual const CResult | Dot (const CMatrix< Ty > *pMatInput, CMatrix< Ty > *pMatResult) const |
virtual double | Prod () const |
virtual const CResult | Prod (Base::CFLArray< double > &flaResult, EMatrixAxis eAxis) const |
virtual const CResult | Prod (Base::CFLArray< double > *pFlaResult, EMatrixAxis eAxis) const |
virtual const CResult | Unique (CMatrix< Ty > &matResult) const |
virtual const CResult | Unique (CMatrix< Ty > *pMatResult) const |
virtual const CResult | Unique (CMatrix< Ty > &matResult, EMatrixAxis eAxis) const |
virtual const CResult | Unique (CMatrix< Ty > *pMatResult, EMatrixAxis eAxis) const |
virtual bool | Any () const |
virtual const CResult | Any (EMatrixAxis eAxis, CMatrix< Ty > &matResult) const |
virtual const CResult | Any (EMatrixAxis eAxis, CMatrix< Ty > *pMatResult) const |
virtual const CResult | Save (const Base::CFLString< wchar_t > &strFilePath) const |
virtual const CResult | Save (const Base::CFLString< wchar_t > *pStrFilePath) const |
virtual const CResult | Load (const Base::CFLString< wchar_t > &strFilePath) |
virtual const CResult | Load (const Base::CFLString< wchar_t > *pStrFilePath) |
virtual const CResult | SaveCSV (const Base::CFLString< wchar_t > &strFilePath) const |
virtual const CResult | SaveCSV (const Base::CFLString< wchar_t > *pStrFilePath) const |
virtual const CResult | LoadCSV (const Base::CFLString< wchar_t > &strFilePath) |
virtual const CResult | LoadCSV (const Base::CFLString< wchar_t > *pStrFilePath) |
virtual EAccuracy | GetOperationAccuracy () |
virtual const CResult | SetOperationAccuracy (EAccuracy eOperationAccuracy) |
virtual bool | IsReferenceEnabled () const |
![]() | |
CFLBase () | |
Default constructor. | |
virtual | ~CFLBase () |
Destructor. | |
void | Lock () const |
Set a lock on an object. | |
bool | TryLock () const |
Try to lock the object. | |
void | Unlock () const |
Unlock the object. | |
virtual const CProcessingUnitBase * | GetProcessingUnit () const |
Returns the set ProcessingUnit. | |
virtual const CResult | SetProcessingUnit (const CProcessingUnitBase &pub) |
set the ProcessingUnit | |
virtual const CResult | SetProcessingUnit (const CProcessingUnitBase *pPub) |
Set the ProcessingUnit. | |
virtual void | ResetProcessingUnit () |
Rest the ProcessingUnit. | |
template<class T > | |
bool | IsValid (T &tValue) const |
Validate input values. | |
template<class T > | |
bool | IsValid (T *pTValue) const |
Validate input values. | |
template<class T > | |
void | GenerateMin (T &tValue) const |
Generate the minimum value of that type. | |
template<class T > | |
void | GenerateMin (T *pTValue) const |
Generate the minimum value of that type. | |
template<class T > | |
void | GenerateMinInt32 (T &tValue) const |
Generate minimum signed 32-bit integer value. | |
template<class T > | |
void | GenerateMinInt32 (T *pTValue) const |
Generate minimum signed 32-bit integer value. | |
template<class T > | |
void | GenerateMinInt31 (T &tValue) const |
Generate minimum signed 31-bit integer value. | |
template<class T > | |
void | GenerateMinInt31 (T *pTValue) const |
Generate minimum signed 31-bit integer value. | |
template<class T > | |
void | GenerateMax (T &tValue) const |
Generate the maximum value of that type. | |
template<class T > | |
void | GenerateMax (T *pTValue) const |
Generate the maximum value of that type. | |
template<class T > | |
void | GenerateMaxInt32 (T &tValue) const |
Generate maximum signed 32-bit integer value. | |
template<class T > | |
void | GenerateMaxInt32 (T *pTValue) const |
Generate maximum signed 32-bit integer value. | |
template<class T > | |
void | GenerateMaxInt31 (T &tValue) const |
Generate maximum signed 31-bit integer value. | |
template<class T > | |
void | GenerateMaxInt31 (T *pTValue) const |
Generate maximum signed 31-bit integer value. | |
template<class T > | |
void | GenerateInvalid (T &tValue) const |
Generate invalid value. | |
template<class T > | |
void | GenerateInvalid (T *pTValue) const |
Generate invalid value. | |
virtual void | OnReceiveBroadcast (const CBroadcastMessage *pMessage) |
Callback function. A function that receives a BroadcastMessage. | |
virtual int64_t | GetClassType () const =0 |
Returns the Type value of Class. The returned value itself has no meaning, but if it is the same type of class, the same value will be displayed, so comparison is possible. | |
const char * | GetClassNameWithNamespace () const |
Returns the class name including the namespace of the actual instance. | |
const char * | GetClassNameWithoutNamespace () const |
Returns the class name that does not include the namespace of the actual instance. | |
virtual uint32_t | GetClassHash () const |
Returns the class hash value of the actual instance. For the same class, even if the instance is different, it has the same value. | |
virtual bool | IsLicenseAvailable () const |
Returns whether the algorithm can be used with the current license. | |
const CResult | ShareSynchronizationObject (const CFLBase *pSrcObject) const |
Share synchronization object of original object. | |
bool | IsSharedSynchronizationObject () const |
Is shared synchronization object. | |
virtual void | Throw (const CResult &res, const wchar_t *pWcsExtraMessage=nullptr) const |
Raise an exception. Information and error codes of the object that occurred are recorded in the log. | |
virtual void | Throw (const std::exception &res, const wchar_t *pWcsExtraMessage) const |
Raise an exception. Information and error codes of the object that occurred are recorded in the log. | |
Static Public Member Functions | |
static const CResult | Where (const CMatrix< Ty > &matCondition, const CMatrix< Ty > &matTrue, const CMatrix< Ty > &matFalse, CMatrix< Ty > &matResult) |
static const CResult | Where (const CMatrix< Ty > &matCondition, const CMatrix< Ty > &matTrue, const CMatrix< Ty > &matFalse, CMatrix< Ty > *pMatResult) |
static const CResult | Where (const CMatrix< Ty > *pMatCondition, const CMatrix< Ty > *pMatTrue, const CMatrix< Ty > *pMatFalse, CMatrix< Ty > &matResult) |
static const CResult | Where (const CMatrix< Ty > *pMatCondition, const CMatrix< Ty > *pMatTrue, const CMatrix< Ty > *pMatFalse, CMatrix< Ty > *pMatResult) |
static const CResult | Where (const CMatrix< Ty > &matCondition, const CMatrix< Ty > &matTrue, Ty tFalse, CMatrix< Ty > &matResult) |
static const CResult | Where (const CMatrix< Ty > &matCondition, const CMatrix< Ty > &matTrue, Ty tFalse, CMatrix< Ty > *pMatResult) |
static const CResult | Where (const CMatrix< Ty > *pMatCondition, const CMatrix< Ty > *pMatTrue, Ty tFalse, CMatrix< Ty > &matResult) |
static const CResult | Where (const CMatrix< Ty > *pMatCondition, const CMatrix< Ty > *pMatTrue, Ty tFalse, CMatrix< Ty > *pMatResult) |
static const CResult | Where (const CMatrix< Ty > &matCondition, Ty tTrue, const CMatrix< Ty > &matFalse, CMatrix< Ty > &matResult) |
static const CResult | Where (const CMatrix< Ty > &matCondition, Ty tTrue, const CMatrix< Ty > &matFalse, CMatrix< Ty > *pMatResult) |
static const CResult | Where (const CMatrix< Ty > *pMatCondition, Ty tTrue, const CMatrix< Ty > *pMatFalse, CMatrix< Ty > &matResult) |
static const CResult | Where (const CMatrix< Ty > *pMatCondition, Ty tTrue, const CMatrix< Ty > *pMatFalse, CMatrix< Ty > *pMatResult) |
static const CResult | Where (const CMatrix< Ty > &matCondition, Ty tTrue, Ty tFalse, CMatrix< Ty > &matResult) |
static const CResult | Where (const CMatrix< Ty > &matCondition, Ty tTrue, Ty tFalse, CMatrix< Ty > *pMatResult) |
static const CResult | Where (const CMatrix< Ty > *pMatCondition, Ty tTrue, Ty tFalse, CMatrix< Ty > &matResult) |
static const CResult | Where (const CMatrix< Ty > *pMatCondition, Ty tTrue, Ty tFalse, CMatrix< Ty > *pMatResult) |
static const CResult | SolveLU (CMatrix< Ty > *pMatL, CMatrix< Ty > *pMatU, CMatrix< Ty > *pMatB, CMatrix< Ty > *pMatRes) |
static const CResult | SolveLUP (CMatrix< Ty > *pMatP, CMatrix< Ty > *pMatL, CMatrix< Ty > *pMatU, CMatrix< Ty > *pMatB, CMatrix< Ty > *pMatRes) |
static const CResult | Solve (CMatrix< Ty > *pMatA, CMatrix< Ty > *pMatB, CMatrix< Ty > *pMatRes) |
static const CResult | ConjugateGradient (const CMatrix< Ty > *pMatA, const CMatrix< Ty > *pMatB, CMatrix< Ty > *pMatRes, bool bSparseMatrix=false, double f64Tolerance=1e-5, int64_t i64MaxIteratorCount=10000) |
static const CResult | GetSimilarity (const CFLPointArray &flpaSrcPoints, const CFLPointArray &flpaDstPoints, CMatrix< Ty > *pMatResult) |
static const CResult | GetSimilarity (const CFLPointArray *pFlpaSrcPoints, const CFLPointArray *pFlpaDstPoints, CMatrix< Ty > *pMatResult) |
static const CResult | GetSimilarity (const Base::CFLArray< Base::TPoint< Ty > > &flaSrcPoints, const Base::CFLArray< Base::TPoint< Ty > > &flaDstPoints, CMatrix< Ty > *pMatResult) |
static const CResult | GetSimilarity (const Base::CFLArray< Base::TPoint< Ty > > *pFlaSrcPoints, const Base::CFLArray< Base::TPoint< Ty > > *pFlaDstPoints, CMatrix< Ty > *pMatResult) |
static const CResult | GetSimilarity (const Base::CFLArray< Ty > &flaSrcX, const Base::CFLArray< Ty > &flaSrcY, const Base::CFLArray< Ty > &flaDstX, const Base::CFLArray< Ty > &flaDstY, CMatrix< Ty > *pMatResult) |
static const CResult | GetSimilarity (const Base::CFLArray< Ty > *pFlaSrcX, const Base::CFLArray< Ty > *pFlaSrcY, const Base::CFLArray< Ty > *pFlaDstX, const Base::CFLArray< Ty > *pFlaDstY, CMatrix< Ty > *pMatResult) |
A class representing matrix.
FLImaging::Foundation::CMatrix< Ty >::CMatrix | ( | ) |
default constructor
|
virtual |
default destructor
FLImaging::Foundation::CMatrix< Ty >::CMatrix | ( | const CMatrix< Ty > & | matrix | ) |
copy constructor
[in] | matrix | object to copy |
FLImaging::Foundation::CMatrix< Ty >::CMatrix | ( | const CMatrix< Ty > * | pMatrix | ) |
copy constructor
[in] | pMatrix | object to copy |
FLImaging::Foundation::CMatrix< Ty >::CMatrix | ( | int64_t | i64Row, |
int64_t | i64Column ) |
initialization constructor
[in] | i64Row | row count |
[in] | i64Column | column count |
FLImaging::Foundation::CMatrix< Ty >::CMatrix | ( | int64_t | i64Row, |
int64_t | i64Column, | ||
Ty | tFillValue ) |
initialization constructor
[in] | i64Row | row count |
[in] | i64Column | column count |
[in] | tFillValue | Initialize with that value |
FLImaging::Foundation::CMatrix< Ty >::CMatrix | ( | const Base::CFLArray< Base::CFLArray< Ty > > & | fla2Mat | ) |
initialization constructor
[in] | fla2Mat | 2D FLArray with matrix elements |
|
virtual |
Takes the absolute value of each element.
const | FLImaging::CResult Information about execution results |
|
virtual |
Performs matrix addition and stores the result in the corresponding object.
[in] | matrix | matrix to add |
const | FLImaging::CResult Information about execution results |
|
virtual |
Perform matrix addition.
[in] | matrix | matrix to add |
[out] | pTargetMatrix | result matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Performs matrix addition and stores the result in the corresponding object.
[in] | pMatrix | matrix to add |
const | FLImaging::CResult Information about execution results |
|
virtual |
Perform matrix addition.
[in] | pMatrix | matrix to add |
[out] | pTargetMatrix | result matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Checks whether all elements of the matrix are true.
bool | Returns true if all elements of the matrix are true |
|
virtual |
Along a given axis, checks if all elements on that axis are true.
[in] | eAxis | Axis of the matrix |
[out] | matResult | Result matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Along a given axis, checks if all elements on that axis are true.
[in] | eAxis | Axis of the matrix |
[out] | pMatResult | Result matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Takes the arccosine of value for each element.
const | FLImaging::CResult Information about execution results |
|
virtual |
Takes the arcsine of value for each element.
const | FLImaging::CResult Information about execution results |
|
virtual |
Takes the arctangent2 of value for each element. arctan(y / x), y = Source, x = matrixX
[in] | matrixX | x value of arctangent 2 |
const | FLImaging::CResult Information about execution results |
|
virtual |
Takes the arctangent2 of value for each element. arctan(y / x), y = Source, x = pMatrixX
[in] | pMatrixX | x value of arctangent 2 |
const | FLImaging::CResult Information about execution results |
|
virtual |
Returns the indices of the maximum values along an axis.
[out] | flaResultIndex | Index of maximum value along axis |
[in] | eAxis | Axis of the matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Returns the indices of the maximum values along an axis.
[out] | pFlaResultIndex | Index of maximum value along axis |
[in] | eAxis | Axis of the matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
A function that returns the row and column with the maximum value among the elements of a matrix
[out] | i64ResultRow | Row of maximum element |
[out] | i64ResultColumn | Column of maximum element |
const | FLImaging::CResult Information about execution results |
|
virtual |
Returns the indices of the minimum values along an axis.
[out] | flaResultIndex | Index of minimum value along axis |
[in] | eAxis | Axis of the matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Returns the indices of the minimum values along an axis.
[out] | pFlaResultIndex | Index of minimum value along axis |
[in] | eAxis | Axis of the matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
A function that returns the row and column with the minimum value among the elements of a matrix
[out] | i64ResultRow | Row of minimum element |
[out] | i64ResultColumn | Column of minimum element |
const | FLImaging::CResult Information about execution results |
|
virtual |
Returns the indices that would sort an array.
[out] | pMatResultIndex | Index result matrix to sort. If nullptr, the result is contained in the Source object. |
[in] | eOrder | Sort order |
[in] | eAxis | Axis of the matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Assigns a matrix by copying it from a 2D FLArray. (reference)
[in] | fla2Matrix | matrix element values |
const | FLImaging::CResult Information about execution results |
|
virtual |
Assigns a matrix by copying it from a 2-D FLArray. (pointer)
[in] | pFla2Matrix | matrix element values |
const | FLImaging::CResult Information about execution results |
|
virtual |
Assign a matrix.
[in] | matrix | matrix to copy |
const | FLImaging::CResult Information about execution results |
|
virtual |
Assign a matrix.
[in] | pMatrix | matrix to copy |
const | FLImaging::CResult Information about execution results |
|
virtual |
Assign a matrix.
[in] | matrix | matrix to copy |
const | FLImaging::CResult Information about execution results |
|
virtual |
Assign a matrix.
[in] | pMatrix | matrix to copy |
const | FLImaging::CResult Information about execution results |
|
virtual |
Assign values by copying the matrix.
[in] | pArr2Mat | Pointer to matrix to allocate |
[in] | i64Row | row count |
[in] | i64Column | column count |
const | FLImaging::CResult Information about execution results |
|
virtual |
Rounds up each element.
const | FLImaging::CResult Information about execution results |
|
virtual |
Determines whether all elements of a matrix are within the range of min and max values. \( tMin < val < tMax\)
[in] | tMin | Minimum range |
[in] | tMax | Maximum range |
bool | Returns true if all elements of the matrix are within the range of min and max values |
|
virtual |
Initialize the object's variables.
|
virtual |
If each element is outside the set range, it is cut to the corresponding range value.
[in] | tMin | Minimum range of values |
[in] | tMax | Maximum range of values |
const | FLImaging::CResult Information about execution results |
|
static |
Returns the roots of a system of linear equations expressed as a matrix using the Conjugate Gradient Method. \( Ax = B\)
[in] | pMatA | Matrix A |
[in] | pMatB | Matrix B |
[out] | pMatRes | Solution matrix (x matrix) of a system of linear equations |
[in] | bSparseMatrix | If matrix A is expressed as a sparse matrix, the corresponding option must be set to true. In the case of a sparse matrix, the first row should contain (rows of the entire matrix, columns of the entire matrix, number of non-zero elements), and the other rows should contain information about the element (row, column, value of the element). Example) \[ A_{bSparseMatrix(false)} = \begin{pmatrix} 3 & 0 & 0 \\ 4 & 1 & 0 \\ 0 & 0 & 5 \end{pmatrix}, A_{bSparseMatrix(true)} = \begin{pmatrix} 3 & 3 & 4 \\ 0 & 0 & 3 \\ 1 & 0 & 4 \\ 1 & 1 & 1 \\ 2 & 2 & 5 \end{pmatrix} \] |
[in] | f64Tolerance | Tolerance |
[in] | i64MaxIteratorCount | Max iterator count |
const | FLImaging::CResult Information about execution results |
|
virtual |
Takes the cosine of value for each element.
const | FLImaging::CResult Information about execution results |
|
virtual |
Create a matrix with the same size as the matrix of parameters.
[in] | matShape | Create a matrix with the same size as the corresponding matrix |
[in] | tFillValue | Initialize with that value |
const | FLImaging::CResult Information about execution results |
|
virtual |
Create a matrix with the same size as the matrix of parameters.
[in] | pMatShape | Create a matrix with the same size as the corresponding matrix |
[in] | tFillValue | Initialize with that value |
const | FLImaging::CResult Information about execution results |
|
virtual |
Create a matrix with the same size as the matrix of parameters.
[in] | matShape | Create a matrix with the same size as the corresponding matrix |
[in] | tFillValue | Initialize with that value |
const | FLImaging::CResult Information about execution results |
|
virtual |
Create a matrix with the same size as the matrix of parameters.
[in] | pMatShape | Create a matrix with the same size as the corresponding matrix |
[in] | tFillValue | Initialize with that value |
const | FLImaging::CResult Information about execution results |
|
virtual |
Create a matrix.
[in] | i64Row | row count |
[in] | i64Column | column count |
[in] | bFillZero | Whether to initialize to 0 |
const | FLImaging::CResult Information about execution results |
|
virtual |
Calculate and output the cross product of 2D or 3D column vectors.
[in] | matrixSource2 | matrix to operate on 2 |
[out] | pMatrixDestination | operation result matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Calculate and output the cross product of 2D or 3D column vectors.
[in] | pMatrixSource2 | matrix to operate on 2 |
[out] | pMatrixDestination | operation result matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Convert the value of each element from Radian to Degree.
const | FLImaging::CResult Information about execution results |
|
virtual |
Evaluates the determinant.
double | determinant value |
|
virtual |
Calculate the n-th discrete difference along the given axis.
[out] | matResult | Result matrix |
[in] | eAxis | Axis of the matrix |
[in] | i64Depth | Number of times to calculate value difference |
const | FLImaging::CResult Information about execution results |
|
virtual |
Calculate the n-th discrete difference along the given axis.
[out] | pMatResult | Result matrix |
[in] | eAxis | Axis of the matrix |
[in] | i64Depth | Number of times to calculate value difference |
const | FLImaging::CResult Information about execution results |
|
virtual |
Dot product of a matrix (matrix multiplication)
[in] | pMatInput | matrix to multiply |
const | FLImaging::CResult Information about execution results |
|
virtual |
Dot product of a matrix (matrix multiplication)
[in] | pMatInput | matrix to multiply |
[out] | pMatResult | Result matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Set the values of all matrix elements to a single value.
[in] | value | values to set to elements |
const | FLImaging::CResult Information about execution results |
|
virtual |
Set the values of all matrix elements to linearly spaced values within the range.
[in] | tRangeStart | Starting value to be generated |
[in] | tRangeEnd | End value to be generated |
const | FLImaging::CResult Information about execution results |
|
virtual |
Set the values of all matrix elements to random values within a range.
[in] | tRangeMin | Random minimum value to be generated |
[in] | tRangeMax | Random maximum value to be generated |
const | FLImaging::CResult Information about execution results |
|
virtual |
Set the values of all matrix elements to 0.
const | FLImaging::CResult Information about execution results |
|
virtual |
Round down on each element.
const | FLImaging::CResult Information about execution results |
|
virtual |
Create a matrix initialized to tFillValue.
[in] | i64Row | row count |
[in] | i64Column | column count |
[in] | tFillValue | value to initialize |
const | FLImaging::CResult Information about execution results |
|
virtual |
Creates a matrix initialized to tFillValue with the same size as the parameter matrix.
[in] | matShape | Create a matrix with the same size as the corresponding matrix |
[in] | tFillValue | value to initialize |
const | FLImaging::CResult Information about execution results |
|
virtual |
Creates a matrix initialized to tFillValue with the same size as the parameter matrix.
[in] | pMatShape | Create a matrix with the same size as the corresponding matrix |
[in] | tFillValue | value to initialize |
const | FLImaging::CResult Information about execution results |
|
virtual |
Creates a matrix initialized to tFillValue with the same size as the parameter matrix.
[in] | matShape | Create a matrix with the same size as the corresponding matrix |
[in] | tFillValue | value to initialize |
const | FLImaging::CResult Information about execution results |
|
virtual |
Creates a matrix initialized to tFillValue with the same size as the parameter matrix.
[in] | pMatShape | Create a matrix with the same size as the corresponding matrix |
[in] | tFillValue | value to initialize |
const | FLImaging::CResult Information about execution results |
|
virtual |
Get the matrix data buffer.
Ty* | Buffer address of matrix data |
|
virtual |
Get the set number of columns.
int64_t | column count |
|
virtual |
Gets the byte size of the column (number of columns * type byte size).
int64_t | column size in bytes |
|
virtual |
Get the number of elements (number of rows * number of columns).
int64_t | number of elements |
|
virtual |
Find the norm.
[in] | tP | Power |
Ty | norm value |
|
virtual |
Gets the floating point arithmetic precision.
FLImaging::Foundation::EAccuracy | Floating-point arithmetic precision |
|
virtual |
Cuts and imports a matrix in a specified range.
[out] | pMatResult | result matrix |
[in] | i64StartRow | Index of the starting row of the range, set to index 0 in case of -1 |
[in] | i64StartColumn | The index of the starting column in the range, set to index 0 in case of -1 |
[in] | i64EndRow | The index of the row at the end of the range, if set to -1, set to the index at the end of the row |
[in] | i64EndColumn | The index of the column at the end of the range, if set to -1, the index at the end of the column |
const | FLImaging::CResult Information about execution results |
|
virtual |
Cuts and imports a matrix in a specified range.
[out] | pMatResult | result matrix |
[in] | i64StartRow | Index of the starting row of the range, set to index 0 in case of -1 |
[in] | i64StartColumn | The index of the starting column in the range, set to index 0 in case of -1 |
[in] | i64EndRow | The index of the row at the end of the range, if set to -1, set to the index at the end of the row |
[in] | i64EndColumn | The index of the column at the end of the range, if set to -1, the index at the end of the column |
const | FLImaging::CResult Information about execution results |
|
virtual |
Cuts and imports a matrix in a specified range.
[out] | pMatResult | result matrix |
[in] | i64StartRow | Index of the starting row of the range, set to index 0 in case of -1 |
[in] | i64StartColumn | The index of the starting column in the range, set to index 0 in case of -1 |
[in] | i64EndRow | The index of the row at the end of the range, if set to -1, set to the index at the end of the row |
[in] | i64EndColumn | The index of the column at the end of the range, if set to -1, the index at the end of the column |
const | FLImaging::CResult Information about execution results |
|
virtual |
Cuts and imports a matrix in a specified range without copying.
[out] | pMatResult | result matrix |
[in] | i64StartRow | Index of the starting row of the range, set to index 0 in case of -1 |
[in] | i64StartColumn | The index of the starting column in the range, set to index 0 in case of -1 |
[in] | i64EndRow | The index of the row at the end of the range, if set to -1, set to the index at the end of the row |
[in] | i64EndColumn | The index of the column at the end of the range, if set to -1, the index at the end of the column |
const | FLImaging::CResult Information about execution results |
|
virtual |
Get the set number of row.
int64_t | row count |
|
virtual |
Gets the byte size of the row (number of columns * type byte size).
int64_t | column size in bytes |
|
static |
Calculate the transformation matrix that minimizes the sum of the distance differences between the source and destination points.
\[ \sum _i \left | \left | \left ( \begin{bmatrix} DstX_i \\ DstY_i \\ 1 \end{bmatrix} - pMatResult * \begin{bmatrix} SrcX_i \\ SrcY_i \\ 1 \end{bmatrix} \right) \right | \right | ^2 = minimum \]
[in] | flaSrcPoints | Source points |
[in] | flaDstPoints | Destination points |
[out] | pMatResult | Transformation matrix that minimizes the distance difference |
const | FLImaging::CResult Information about execution results |
|
static |
Calculate the transformation matrix that minimizes the sum of the distance differences between the source and destination points.
\[ \sum _i \left | \left | \left ( \begin{bmatrix} DstX_i \\ DstY_i \\ 1 \end{bmatrix} - pMatResult * \begin{bmatrix} SrcX_i \\ SrcY_i \\ 1 \end{bmatrix} \right) \right | \right | ^2 = minimum \]
[in] | pFlaSrcPoints | Source points |
[in] | pFlaDstPoints | Destination points |
[out] | pMatResult | Transformation matrix that minimizes the distance difference |
const | FLImaging::CResult Information about execution results |
|
static |
Calculate the transformation matrix that minimizes the sum of the distance differences between the source and destination points.
\[ \sum _i \left | \left | \left ( \begin{bmatrix} DstX_i \\ DstY_i \\ 1 \end{bmatrix} - pMatResult * \begin{bmatrix} SrcX_i \\ SrcY_i \\ 1 \end{bmatrix} \right) \right | \right | ^2 = minimum \]
[in] | flaSrcX | Set of X coordinates of Source |
[in] | flaSrcY | Set of Y coordinates of Source |
[in] | flaDstX | Set of X coordinates of Destination |
[in] | flaDstY | Set of Y coordinates of Destination |
[out] | pMatResult | Transformation matrix that minimizes the distance difference |
const | FLImaging::CResult Information about execution results |
|
static |
Calculate the transformation matrix that minimizes the sum of the distance differences between the source and destination points.
\[ \sum _i \left | \left | \left ( \begin{bmatrix} DstX_i \\ DstY_i \\ 1 \end{bmatrix} - pMatResult * \begin{bmatrix} SrcX_i \\ SrcY_i \\ 1 \end{bmatrix} \right) \right | \right | ^2 = minimum \]
[in] | pFlaSrcX | Set of X coordinates of Source |
[in] | pFlaSrcY | Set of Y coordinates of Source |
[in] | pFlaDstX | Set of X coordinates of Destination |
[in] | pFlaDstY | Set of Y coordinates of Destination |
[out] | pMatResult | Transformation matrix that minimizes the distance difference |
const | FLImaging::CResult Information about execution results |
|
static |
Calculate the transformation matrix that minimizes the sum of the distance differences between the source and destination points.
\[ \sum _i \left | \left | \left ( \begin{bmatrix} DstX_i \\ DstY_i \\ 1 \end{bmatrix} - pMatResult * \begin{bmatrix} SrcX_i \\ SrcY_i \\ 1 \end{bmatrix} \right) \right | \right | ^2 = minimum \]
[in] | flpaSrcPoints | Source points |
[in] | flpaDstPoints | Destination points |
[out] | pMatResult | Transformation matrix that minimizes the distance difference |
const | FLImaging::CResult Information about execution results |
|
static |
Calculate the transformation matrix that minimizes the sum of the distance differences between the source and destination points.
\[ \sum _i \left | \left | \left ( \begin{bmatrix} DstX_i \\ DstY_i \\ 1 \end{bmatrix} - pMatResult * \begin{bmatrix} SrcX_i \\ SrcY_i \\ 1 \end{bmatrix} \right) \right | \right | ^2 = minimum \]
[in] | pFlpaSrcPoints | Source points |
[in] | pFlpaDstPoints | Destination points |
[out] | pMatResult | Transformation matrix that minimizes the distance difference |
const | FLImaging::CResult Information about execution results |
|
virtual |
Returns the template type of an object
FLImaging::Foundation::EMatrixTemplateType | object's template type |
|
virtual |
Get the total byte size of the matrix (number of columns * number of rows * type bytes size).
int64_t | total size of matrix in bytes |
|
virtual |
Get the value of a matrix element.
[in] | i64Row | row number of elements |
[in] | i64Column | column number of elements |
Ty* | A pointer to the matrix element values |
|
virtual |
Get matrix data.
Ty** | pointer to matrix data |
|
virtual |
Find the Hessenberg value.
\( A = PHP^T, P^TP = I\)
[out] | pMatrixH | Hessenberg matrix |
[out] | pMatrixP | Unitary matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Stack the matrices horizontally in order.
[in] | matInput | Matrix to stack |
[out] | pMatResult | Result matrix. If nullptr, the result is contained in the Source object. |
const | FLImaging::CResult Information about execution results |
|
virtual |
Stack the matrices horizontally in order.
[in] | pMatInput | Matrix to stack |
[out] | pMatResult | Result matrix. If nullptr, the result is contained in the Source object. |
const | FLImaging::CResult Information about execution results |
|
virtual |
Returns the inverse matrix.
FLImaging::Foundation::CMatrix<Ty> | result matrix |
|
virtual |
Inverse the matrix and store the result in that object.
const | FLImaging::CResult Information about execution results |
|
virtual |
Find the inverse matrix.
[out] | pTargetMatrix | inverse matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Gets whether it is a reference matrix.
bool | Returns whether the reference matrix is |
|
overridevirtual |
Check if it is a valid matrix. Returns false if the matrix has not been created.
matrix | validation |
Reimplemented from FLImaging::Base::CFLBase.
|
virtual |
Set the values of all matrix elements to linearly spaced values within the range.
[in] | tRangeStart | Starting value to be generated |
[in] | tRangeEnd | End value to be generated |
const | FLImaging::CResult Information about execution results |
|
virtual |
Load the saved matrix.
[in] | strFilePath | file path to load |
const | FLImaging::CResult Information about execution results |
|
virtual |
Load the saved matrix.
[in] | pStrFilePath | file path to load |
const | FLImaging::CResult Information about execution results |
|
virtual |
Load the matrix as a csv file.
[in] | strFilePath | path to laod |
const | FLImaging::CResult Information about execution results |
|
virtual |
Load the matrix as a csv file.
[in] | pStrFilePath | path to laod |
const | FLImaging::CResult Information about execution results |
|
virtual |
Take the log of the base e of the value of each element.
const | FLImaging::CResult Information about execution results |
|
virtual |
Take the log of the base 10 of the value of each element.
const | FLImaging::CResult Information about execution results |
|
virtual |
Add 1 to the value of each element to take Log whose base is e.
const | FLImaging::CResult Information about execution results |
|
virtual |
Take the log of the base 2 of the value of each element.
const | FLImaging::CResult Information about execution results |
|
virtual |
Perform LU decomposition. \( A = LU \)
[out] | pMatrixL | lower triangular matrix |
[out] | pMatrixU | upper triangular matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Partial Pivoting LU decomposition. \( PA = LU \)
[out] | pMatrixP | substitution matrix |
[out] | pMatrixL | lower triangular matrix |
[out] | pMatrixU | upper triangular matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Returns the maximum value among the elements of a matrix.
Ty | Maximum value |
|
virtual |
Returns the maximum value along an axis.
[out] | matResult | Result matrix |
[in] | eAxis | Axis of the matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Returns the maximum value along an axis.
[out] | pMatResult | Result matrix |
[in] | eAxis | Axis of the matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Returns the mean of the elements of a matrix.
Ty | Mean of elements |
|
virtual |
Returns the mean of elements along an axis.
[out] | matResult | Result matrix |
[in] | eAxis | Axis of the matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Returns the mean of elements along an axis.
[out] | pMatResult | Result matrix |
[in] | eAxis | Axis of the matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Returns the minimum value among the elements of a matrix.
Ty | Minimum value |
|
virtual |
Returns the minimum value along an axis.
[out] | matResult | Result matrix |
[in] | eAxis | Axis of the matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Returns the minimum value along an axis.
[out] | pMatResult | Result matrix |
[in] | eAxis | Axis of the matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Performs matrix multiplication and stores the result in the corresponding object.
[in] | matrix | matrix to multiply |
const | FLImaging::CResult Information about execution results |
|
virtual |
Perform matrix multiplication.
[in] | matrix | matrix to multiply |
[out] | pTargetMatrix | result matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Performs matrix multiplication and stores the result in the corresponding object.
[in] | pMatrix | matrix to multiply |
const | FLImaging::CResult Information about execution results |
|
virtual |
Perform matrix multiplication.
[in] | pMatrix | matrix to multiply |
[out] | pTargetMatrix | result matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Performs scalar multiplication and stores the result in the corresponding object.
[in] | f64Scalar | scalar value to multiply to each element of the matrix |
FLImaging::Foundation::CMatrix<Ty> | created object |
|
virtual |
Performs scalar multiplication and stores the result in the corresponding object.
[in] | f32Scalar | scalar value to multiply to each element of the matrix |
FLImaging::Foundation::CMatrix<Ty> | created object |
|
virtual |
Performs scalar multiplication and stores the result in the corresponding object.
[in] | i32Scalar | scalar value to multiply to each element of the matrix |
FLImaging::Foundation::CMatrix<Ty> | created object |
|
virtual |
Performs scalar multiplication and stores the result in the corresponding object.
[in] | i64Scalar | scalar value to multiply to each element of the matrix |
FLImaging::Foundation::CMatrix<Ty> | created object |
|
virtual |
Performs multiplication between elements of a matrix of the same size and stores the result in the corresponding object.
[in] | matrix | matrix to multiply |
const | FLImaging::CResult Information about execution results |
|
virtual |
Performs multiplication between elements of a matrix of the same size.
[in] | matrix | matrix to multiply |
[out] | pTargetMatrix | result matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Performs multiplication between elements of a matrix of the same size and stores the result in the corresponding object.
[in] | pMatrix | matrix to multiply |
const | FLImaging::CResult Information about execution results |
|
virtual |
Performs multiplication between elements of a matrix of the same size.
[in] | pMatrix | matrix to multiply |
[out] | pTargetMatrix | result matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
If order=0, print dst = scale*(src - delta)(src - delta)^T, otherwise print dst = scale*(src - delta)^T(src - delta).
[in] | pMatrixSource | matrix to operate |
[out] | pMatrixDestination | operation result matrix |
[in] | i32Order | order of matrix multiplication |
[in] | pMatDelta | delta matrix |
[in] | f64Scale | Scale value |
const | FLImaging::CResult Information about execution results |
|
virtual |
Create a matrix initialized to 1.
[in] | i64Row | row count |
[in] | i64Column | column count |
const | FLImaging::CResult Information about execution results |
|
virtual |
Creates a matrix initialized to 1 with the same size as the parameter matrix.
[in] | matShape | Create a matrix with the same size as the corresponding matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Creates a matrix initialized to 1 with the same size as the parameter matrix.
[in] | pMatShape | Create a matrix with the same size as the corresponding matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Creates a matrix initialized to 1 with the same size as the parameter matrix.
[in] | matShape | Create a matrix with the same size as the corresponding matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Creates a matrix initialized to 1 with the same size as the parameter matrix.
[in] | pMatShape | Create a matrix with the same size as the corresponding matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
reference operator
Ty* | address of data start position |
|
virtual |
comparison operator
[in] | cMat | object to compare |
bool | Comparison result |
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator!= | ( | const double & | f64Param | ) | const |
Scalar comparison operators
[in] | f64Param | Value to compare to each element of the matrix |
FLImaging::Foundation::CMatrix<Ty> | created object |
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator% | ( | const CMatrix< Ty > & | matOperand | ) | const |
Scalar modular operator
[in] | matOperand | Matrix to perform modular calculation between each element of the matrix |
FLImaging::Foundation::CMatrix<Ty> | created object |
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator% | ( | const double & | f64Param | ) | const |
Scalar modular operator
[in] | f64Param | Each element of the matrix and the value to be modularized |
FLImaging::Foundation::CMatrix<Ty> | created object |
|
virtual |
Scalar Modular operator
[in] | f64Param | Each element of the matrix and the value to be modularized |
const | FLImaging::Foundation::CMatrix<Ty>& own object |
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator&& | ( | const CMatrix< Ty > & | matOperand | ) | const |
logical operator
[in] | matOperand | Matrix to perform modular calculation between each element of the matrix |
FLImaging::Foundation::CMatrix<Ty> | created object |
|
virtual |
Get the value of a matrix element.
[in] | i32Row | row number of elements |
[in] | i32Column | column number of elements |
Ty* | A pointer to the matrix element value |
Reimplemented in FLImaging::Foundation::CMatrixFor3D< Ty >.
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator* | ( | const CMatrix< Ty > & | cMat | ) | const |
multiplication operator
[in] | cMat | matrix to multiply |
FLImaging::Foundation::CMatrix<Ty> | created object |
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator* | ( | const double & | f64Param | ) | const |
scalar multiplication operator
[in] | f64Param | scalar value to multiply to each element of the matrix |
FLImaging::Foundation::CMatrix<Ty> | created object |
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator* | ( | const float & | f32Param | ) | const |
scalar multiplication operator
[in] | f32Param | scalar value to multiply to each element of the matrix |
FLImaging::Foundation::CMatrix<Ty> | created object |
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator* | ( | const int32_t & | i32Param | ) | const |
scalar multiplication operator
[in] | i32Param | scalar value to multiply to each element of the matrix |
FLImaging::Foundation::CMatrix<Ty> | created object |
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator* | ( | const int64_t & | i64Param | ) | const |
scalar multiplication operator
[in] | i64Param | scalar value to multiply to each element of the matrix |
FLImaging::Foundation::CMatrix<Ty> | created object |
|
virtual |
multiplication operator
[in] | cMat | matrix to multiply |
const | FLImaging::Foundation::CMatrix<Ty>& own object |
|
virtual |
scalar multiplication operator
[in] | f64Param | scalar value to multiply to each element of the matrix |
const | FLImaging::Foundation::CMatrix<Ty>& own object |
|
virtual |
scalar multiplication operator
[in] | f32Param | scalar value to multiply to each element of the matrix |
const | FLImaging::Foundation::CMatrix<Ty>& own object |
|
virtual |
scalar multiplication operator
[in] | i32Param | scalar value to multiply to each element of the matrix |
const | FLImaging::Foundation::CMatrix<Ty>& own object |
|
virtual |
scalar multiplication operator
[in] | i64Param | scalar value to multiply to each element of the matrix |
const | FLImaging::Foundation::CMatrix<Ty>& own object |
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator+ | ( | const CMatrix< Ty > & | cMat | ) | const |
addition operator
[in] | cMat | matrix to add |
FLImaging::Foundation::CMatrix<Ty> | created object |
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator+ | ( | const double & | f64Param | ) | const |
scalar addition operator
[in] | f64Param | scalar value to add to each element of the matrix |
FLImaging::Foundation::CMatrix<Ty> | created object |
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator+ | ( | const float & | f32Param | ) | const |
scalar addition operator
[in] | f32Param | scalar value to add to each element of the matrix |
FLImaging::Foundation::CMatrix<Ty> | created object |
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator+ | ( | const int32_t & | i32Param | ) | const |
scalar addition operator
[in] | i32Param | scalar value to add to each element of the matrix |
FLImaging::Foundation::CMatrix<Ty> | created object |
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator+ | ( | const int64_t & | i64Param | ) | const |
scalar addition operator
[in] | i64Param | scalar value to add to each element of the matrix |
FLImaging::Foundation::CMatrix<Ty> | created object |
|
virtual |
addition operator
[in] | cMat | matrix to add |
const | FLImaging::Foundation::CMatrix<Ty>& own object |
|
virtual |
scalar addition operator
[in] | f64Param | scalar value to add to each element of the matrix |
const | FLImaging::Foundation::CMatrix<Ty>& own object |
|
virtual |
scalar addition operator
[in] | f32Param | scalar value to add to each element of the matrix |
const | FLImaging::Foundation::CMatrix<Ty>& own object |
|
virtual |
scalar addition operator
[in] | i32Param | scalar value to add to each element of the matrix |
const | FLImaging::Foundation::CMatrix<Ty>& own object |
|
virtual |
scalar addition operator
[in] | i64Param | scalar value to add to each element of the matrix |
const | FLImaging::Foundation::CMatrix<Ty>& own object |
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator- | ( | const CMatrix< Ty > & | cMat | ) | const |
subtraction operator
[in] | cMat | matrix to subtract |
FLImaging::Foundation::CMatrix<Ty> | created object |
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator- | ( | const double & | f64Param | ) | const |
scalar subtraction operator
[in] | f64Param | scalar value to subtract to each element of the matrix |
FLImaging::Foundation::CMatrix<Ty> | created object |
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator- | ( | const float & | f32Param | ) | const |
scalar subtraction operator
[in] | f32Param | scalar value to subtract to each element of the matrix |
FLImaging::Foundation::CMatrix<Ty> | created object |
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator- | ( | const int32_t & | i32Param | ) | const |
scalar subtraction operator
[in] | i32Param | scalar value to subtract to each element of the matrix |
FLImaging::Foundation::CMatrix<Ty> | created object |
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator- | ( | const int64_t & | i64Param | ) | const |
scalar subtraction operator
[in] | i64Param | scalar value to subtract to each element of the matrix |
FLImaging::Foundation::CMatrix<Ty> | created object |
|
virtual |
subtraction operator
[in] | cMat | matrix to subtract |
const | FLImaging::Foundation::CMatrix<Ty>& own object |
|
virtual |
scalar subtraction operator
[in] | f64Param | scalar value to subtract to each element of the matrix |
const | FLImaging::Foundation::CMatrix<Ty>& own object |
|
virtual |
scalar subtraction operator
[in] | f32Param | scalar value to subtract to each element of the matrix |
const | FLImaging::Foundation::CMatrix<Ty>& own object |
|
virtual |
scalar subtraction operator
[in] | i32Param | scalar value to subtract to each element of the matrix |
const | FLImaging::Foundation::CMatrix<Ty>& own object |
|
virtual |
scalar subtraction operator
[in] | i64Param | scalar value to subtract to each element of the matrix |
const | FLImaging::Foundation::CMatrix<Ty>& own object |
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator/ | ( | const CMatrix< Ty > & | cMat | ) | const |
division operator
[in] | cMat | matrix to divide |
FLImaging::Foundation::CMatrix<Ty> | created object |
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator/ | ( | const double & | f64Param | ) | const |
scalar division operator
[in] | f64Param | scalar value to divide to each element of the matrix |
FLImaging::Foundation::CMatrix<Ty> | created object |
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator/ | ( | const float & | f32Param | ) | const |
scalar division operator
[in] | f32Param | scalar value to divide to each element of the matrix |
FLImaging::Foundation::CMatrix<Ty> | created object |
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator/ | ( | const int32_t & | i32Param | ) | const |
scalar division operator
[in] | i32Param | scalar value to divide to each element of the matrix |
FLImaging::Foundation::CMatrix<Ty> | created object |
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator/ | ( | const int64_t & | i64Param | ) | const |
scalar division operator
[in] | i64Param | scalar value to divide to each element of the matrix |
FLImaging::Foundation::CMatrix<Ty> | created object |
|
virtual |
division operator
[in] | cMat | matrix to divide |
const | FLImaging::Foundation::CMatrix<Ty>& own object |
|
virtual |
scalar division operator
[in] | f64Param | scalar value to divide each element of the matrix |
const | FLImaging::Foundation::CMatrix<Ty>& own object |
|
virtual |
scalar division operator
[in] | f32Param | scalar value to divide each element of the matrix |
const | FLImaging::Foundation::CMatrix<Ty>& own object |
|
virtual |
scalar division operator
[in] | i32Param | scalar value to divide each element of the matrix |
const | FLImaging::Foundation::CMatrix<Ty>& own object |
|
virtual |
scalar division operator
[in] | i64Param | scalar value to divide each element of the matrix |
const | FLImaging::Foundation::CMatrix<Ty>& own object |
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator< | ( | const CMatrix< Ty > & | matOperand | ) | const |
comparison operators
[in] | matOperand | object to compare |
FLImaging::Foundation::CMatrix<Ty> | created object |
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator< | ( | const double & | f64Param | ) | const |
Scalar comparison operators
[in] | f64Param | Value to compare to each element of the matrix |
FLImaging::Foundation::CMatrix<Ty> | created object |
|
virtual |
assignment operator
[in] | fla2Matrix | matrix element values |
const | FLImaging::Foundation::CMatrix<Ty>& own object |
|
virtual |
assignment operator
[in] | matrix | object to copy |
const | FLImaging::Foundation::CMatrix<Ty>& own object |
|
virtual |
assignment operator
[in] | pMatrix | object to copy |
const | FLImaging::Foundation::CMatrix<Ty>& own object |
|
virtual |
assignment operator
[in] | matrix | object to copy |
const | FLImaging::Foundation::CMatrix<Ty>& own object |
|
virtual |
assignment operator
[in] | pMatrix | object to copy |
const | FLImaging::Foundation::CMatrix<Ty>& own object |
|
virtual |
comparison operator
[in] | cMat | object to compare |
bool | Comparison result |
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator== | ( | const double & | f64Param | ) | const |
Scalar comparison operators
[in] | f64Param | Value to compare to each element of the matrix |
FLImaging::Foundation::CMatrix<Ty> | created object |
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator> | ( | const CMatrix< Ty > & | matOperand | ) | const |
comparison operators
[in] | matOperand | object to compare |
FLImaging::Foundation::CMatrix<Ty> | created object |
CMatrix< Ty > FLImaging::Foundation::CMatrix< Ty >::operator> | ( | const double & | f64Param | ) | const |
Scalar comparison operators
[in] | f64Param | Value to compare to each element of the matrix |
FLImaging::Foundation::CMatrix<Ty> | created object |
|
virtual |
reference operator
[in] | i32Index | index to reference |
Ty* | pointer to that location |
|
virtual |
reference operator
[in] | i32Index | index to reference |
const | Ty* pointer to that location |
|
virtual |
reference operator
[in] | i64Index | index to reference |
Ty* | pointer to that location |
|
virtual |
reference operator
[in] | i64Index | index to reference |
const | Ty* pointer to that location |
|
virtual |
Returns the pseudo-inverse matrix.
FLImaging::Foundation::CMatrix<Ty> | result matrix |
|
virtual |
Returns the product between elements.
double | Product of elements |
|
virtual |
Return the product of array elements over a given axis.
[out] | flaResult | Result array |
[in] | eAxis | Axis of the matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Return the product of array elements over a given axis.
[out] | pFlaResult | Result array |
[in] | eAxis | Axis of the matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Takes the pseudo-inverse matrix and stores the result in that object.
const | FLImaging::CResult Information about execution results |
|
virtual |
Get the pseudo-inverse matrix.
[out] | pTargetMatrix | The result matrix, if nullptr, stores the result value in the current object. |
const | FLImaging::CResult Information about execution results |
|
virtual |
Perform QR decomposition. \( A = QR \)
[out] | pMatrixQ | \( \text{Get }Q \text{ from } A = QR \) |
[out] | pMatrixR | \( \text{Get }R \text{ from } A = QR \) |
const | FLImaging::CResult Information about execution results |
|
virtual |
Convert the value of each element from Degree to Radian.
const | FLImaging::CResult Information about execution results |
|
virtual |
Performs a Reduce Max operation.
[in] | eReduceType | Reduce type of matrix |
[out] | pMatResult | Result matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Performs a Reduce Mean operation.
[in] | eReduceType | Reduce type of matrix |
[out] | pMatResult | Result matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Performs a Reduce Min operation.
[in] | eReduceType | Reduce type of matrix |
[out] | pMatResult | Result matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Performs a Reduce Sum operation.
[in] | eReduceType | Reduce type of matrix |
[out] | pMatResult | Result matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Change the shape of the matrix.
[in] | i64Row | column size of matrix |
[in] | i64Column | Row size of matrix, autofit if -1 |
const | FLImaging::CResult Information about execution results |
|
virtual |
Takes rounding for each element.
const | FLImaging::CResult Information about execution results |
|
virtual |
Save the matrix.
[in] | strFilePath | path to save |
const | FLImaging::CResult Information about execution results |
|
virtual |
Save the matrix.
[in] | pStrFilePath | path to save |
const | FLImaging::CResult Information about execution results |
|
virtual |
Save the matrix as a csv file.
[in] | strFilePath | path to save |
const | FLImaging::CResult Information about execution results |
|
virtual |
Save the matrix as a csv file.
[in] | pStrFilePath | path to save |
const | FLImaging::CResult Information about execution results |
|
virtual |
Set the address of the unsorted matrix.
[in] | pArr2Mat | pointer to matrix |
[in] | i64Row | row count |
[in] | i64Column | column count |
const | FLImaging::CResult Information about execution results |
|
virtual |
Sets the diagonal component of a matrix to the given value. Other values are initialized to 0.
[in] | tVal | Diagonal component values to set |
const | FLImaging::CResult Information about execution results |
|
virtual |
Sets the diagonal component of a matrix to the given value. Other values are initialized to 0.
[in] | tVal | Diagonal component values to set |
[out] | pTargetMatrix | result matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Set the floating point arithmetic precision.
[in] | eOperationAccuracy | Floating-point arithmetic precision |
const | FLImaging::CResult Information about execution results |
|
virtual |
Sets the values of matrix elements.
[in] | i64Row | row number of elements |
[in] | i64Column | column number of elements |
[in] | value | value to set for element |
const | FLImaging::CResult Information about execution results |
|
virtual |
Takes the sine of value for each element.
const | FLImaging::CResult Information about execution results |
|
static |
Returns the root of a system of linear equations expressed as a matrix. \( Ax = B\)
[in] | pMatA | Matrix A |
[in] | pMatB | Matrix B |
[out] | pMatRes | Solution matrix (x matrix) of a system of linear equations |
const | FLImaging::CResult Information about execution results |
|
static |
Find the roots of a system of linear equations using the LU decomposition matrix. \( Ax = B\)
[in] | pMatL | lower triangular matrix |
[in] | pMatU | upper triangular matrix |
[in] | pMatB | Constant matrix of linear equations |
[out] | pMatRes | Solution matrix of a system of linear equations |
const | FLImaging::CResult Information about execution results |
|
static |
Find the roots of a system of linear equations using the LU decomposition matrix. \( Ax = B\)
[in] | pMatP | substitution matrix |
[in] | pMatL | lower triangular matrix |
[in] | pMatU | upper triangular matrix |
[in] | pMatB | Constant matrix of linear equations |
[out] | pMatRes | Solution matrix of a system of linear equations |
const | FLImaging::CResult Information about execution results |
|
virtual |
Take the square root of each element.
const | FLImaging::CResult Information about execution results |
|
virtual |
Returns the standard deviation of the elements of a matrix.
Ty | Standard deviation of elements |
|
virtual |
Returns the standard deviation of elements along an axis.
[out] | matResult | Result matrix |
[in] | eAxis | Axis of the matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Returns the standard deviation of elements along an axis.
[out] | pMatResult | Result matrix |
[in] | eAxis | Axis of the matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Performs matrix subtraction and stores the result in the corresponding object.
[in] | matrix | matrix to subtract |
const | FLImaging::CResult Information about execution results |
|
virtual |
Perform matrix subtraction.
[in] | matrix | matrix to subtract |
[out] | pTargetMatrix | result matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Performs matrix subtraction and stores the result in the corresponding object.
[in] | pMatrix | matrix to subtract |
const | FLImaging::CResult Information about execution results |
|
virtual |
Perform matrix subtraction.
[in] | pMatrix | matrix to subtract |
[out] | pTargetMatrix | result matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Returns the sum of the elements of a matrix.
Ty | Sum of elements |
|
virtual |
Returns the sum of elements along an axis.
[out] | matResult | Result matrix |
[in] | eAxis | Axis of the matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Returns the sum of elements along an axis.
[out] | pMatResult | Result matrix |
[in] | eAxis | Axis of the matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Find the SVD value. \( A = U\sum V^Ty \)
[out] | pMatrixU | \( \text{Get }U \text{ from }A = U\sum V^Ty \) |
[out] | pMatrixSig | \( \text{Get }\sum \text{ from }A = U\sum V^Ty \) |
[out] | pMatrixVT | \( \text{Get }V^Ty\text{ from }A = U\sum V^Ty \) |
const | FLImaging::CResult Information about execution results |
|
virtual |
Swap the matrices.
[in] | matRight | Matrix to swap |
const | FLImaging::CResult Information about execution results |
|
virtual |
Swap the matrices.
[in] | pMatRight | Matrix to swap |
const | FLImaging::CResult Information about execution results |
|
virtual |
Returns the result of transposing a matrix.
FLImaging::Foundation::CMatrix<Ty> | result matrix |
|
virtual |
Takes the tangent of value for each element.
const | FLImaging::CResult Information about execution results |
|
virtual |
Performs matrix transposition and stores the result in the corresponding object.
const | FLImaging::CResult Information about execution results |
|
virtual |
Performs matrix transposition.
[out] | pTargetMatrix | result matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Returns the identity matrix.
FLImaging::Foundation::CMatrix<Ty> | result matrix |
|
virtual |
Returns the sorted unique elements of matrix.
[out] | matResult | Result matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Returns the sorted unique elements of matrix.
[out] | matResult | Result matrix |
[in] | eAxis | Axis of the matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Returns the sorted unique elements of matrix.
[out] | pMatResult | Result matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Returns the sorted unique elements of matrix.
[out] | pMatResult | Result matrix |
[in] | eAxis | Axis of the matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Find the identity matrix and store the result in that object.
const | FLImaging::CResult Information about execution results |
|
virtual |
Returns the identity matrix.
[out] | pTargetMatrix | result matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Stack the matrices vertically in order.
[in] | matInput | Matrix to stack |
[out] | pMatResult | Result matrix. If nullptr, the result is contained in the Source object. |
const | FLImaging::CResult Information about execution results |
|
virtual |
Stack the matrices vertically in order.
[in] | pMatInput | Matrix to stack |
[out] | pMatResult | Result matrix. If nullptr, the result is contained in the Source object. |
const | FLImaging::CResult Information about execution results |
|
static |
Returns the selected element, true or false depending on the condition.
[in] | matCondition | Condition matrix |
[in] | matTrue | Value to convert when conditions are met |
[in] | matFalse | Value to convert when conditions are not met |
[out] | matResult | Result matrix |
const | FLImaging::CResult Information about execution results |
|
static |
Returns the selected element, true or false depending on the condition.
[in] | matCondition | Condition matrix |
[in] | matTrue | Value to convert when conditions are met |
[in] | matFalse | Value to convert when conditions are not met |
[out] | pMatResult | Result matrix |
const | FLImaging::CResult Information about execution results |
|
static |
Returns the selected element, true or false depending on the condition.
[in] | matCondition | Condition matrix |
[in] | matTrue | Value to convert when conditions are met |
[in] | tFalse | Value to convert when conditions are not met |
[out] | matResult | Result matrix |
const | FLImaging::CResult Information about execution results |
|
static |
Returns the selected element, true or false depending on the condition.
[in] | matCondition | Condition matrix |
[in] | matTrue | Value to convert when conditions are met |
[in] | tFalse | Value to convert when conditions are not met |
[out] | pMatResult | Result matrix |
const | FLImaging::CResult Information about execution results |
|
static |
Returns the selected element, true or false depending on the condition.
[in] | matCondition | Condition matrix |
[in] | tTrue | Value to convert when conditions are met |
[in] | matFalse | Value to convert when conditions are not met |
[out] | matResult | Result matrix |
const | FLImaging::CResult Information about execution results |
|
static |
Returns the selected element, true or false depending on the condition.
[in] | matCondition | Condition matrix |
[in] | tTrue | Value to convert when conditions are met |
[in] | matFalse | Value to convert when conditions are not met |
[out] | pMatResult | Result matrix |
const | FLImaging::CResult Information about execution results |
|
static |
Returns the selected element, true or false depending on the condition.
[in] | matCondition | Condition matrix |
[in] | tTrue | Value to convert when conditions are met |
[in] | tFalse | Value to convert when conditions are not met |
[out] | matResult | Result matrix |
const | FLImaging::CResult Information about execution results |
|
static |
Returns the selected element, true or false depending on the condition.
[in] | matCondition | Condition matrix |
[in] | tTrue | Value to convert when conditions are met |
[in] | tFalse | Value to convert when conditions are not met |
[out] | pMatResult | Result matrix |
const | FLImaging::CResult Information about execution results |
|
static |
Returns the selected element, true or false depending on the condition.
[in] | pMatCondition | Condition matrix |
[in] | pMatTrue | Value to convert when conditions are met |
[in] | pMatFalse | Value to convert when conditions are not met |
[out] | matResult | Result matrix |
const | FLImaging::CResult Information about execution results |
|
static |
Returns the selected element, true or false depending on the condition.
[in] | pMatCondition | Condition matrix |
[in] | pMatTrue | Value to convert when conditions are met |
[in] | pMatFalse | Value to convert when conditions are not met |
[out] | pMatResult | Result matrix |
const | FLImaging::CResult Information about execution results |
|
static |
Returns the selected element, true or false depending on the condition.
[in] | pMatCondition | Condition matrix |
[in] | pMatTrue | Value to convert when conditions are met |
[in] | tFalse | Value to convert when conditions are not met |
[out] | matResult | Result matrix |
const | FLImaging::CResult Information about execution results |
|
static |
Returns the selected element, true or false depending on the condition.
[in] | pMatCondition | Condition matrix |
[in] | pMatTrue | Value to convert when conditions are met |
[in] | tFalse | Value to convert when conditions are not met |
[out] | pMatResult | Result matrix |
const | FLImaging::CResult Information about execution results |
|
static |
Returns the selected element, true or false depending on the condition.
[in] | pMatCondition | Condition matrix |
[in] | tTrue | Value to convert when conditions are met |
[in] | pMatFalse | Value to convert when conditions are not met |
[out] | matResult | Result matrix |
const | FLImaging::CResult Information about execution results |
|
static |
Returns the selected element, true or false depending on the condition.
[in] | pMatCondition | Condition matrix |
[in] | tTrue | Value to convert when conditions are met |
[in] | pMatFalse | Value to convert when conditions are not met |
[out] | pMatResult | Result matrix |
const | FLImaging::CResult Information about execution results |
|
static |
Returns the selected element, true or false depending on the condition.
[in] | pMatCondition | Condition matrix |
[in] | tTrue | Value to convert when conditions are met |
[in] | tFalse | Value to convert when conditions are not met |
[out] | matResult | Result matrix |
const | FLImaging::CResult Information about execution results |
|
static |
Returns the selected element, true or false depending on the condition.
[in] | pMatCondition | Condition matrix |
[in] | tTrue | Value to convert when conditions are met |
[in] | tFalse | Value to convert when conditions are not met |
[out] | pMatResult | Result matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Create a matrix initialized to 0.
[in] | i64Row | row count |
[in] | i64Column | column count |
const | FLImaging::CResult Information about execution results |
|
virtual |
Creates a matrix initialized to 0 with the same size as the parameter matrix.
[in] | matShape | Create a matrix with the same size as the corresponding matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Creates a matrix initialized to 0 with the same size as the parameter matrix.
[in] | pMatShape | Create a matrix with the same size as the corresponding matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Creates a matrix initialized to 0 with the same size as the parameter matrix.
[in] | matShape | Create a matrix with the same size as the corresponding matrix |
const | FLImaging::CResult Information about execution results |
|
virtual |
Creates a matrix initialized to 0 with the same size as the parameter matrix.
[in] | pMatShape | Create a matrix with the same size as the corresponding matrix |
const | FLImaging::CResult Information about execution results |