Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
Loading...
Searching...
No Matches
CIccSimpleMatrixInverter Class Reference
+ Inheritance diagram for CIccSimpleMatrixInverter:
+ Collaboration diagram for CIccSimpleMatrixInverter:

Public Member Functions

 CIccSimpleMatrixInverter ()
 
virtual bool Invert (icFloatNumber *dMatrix, icUInt16Number nRows, icUInt16Number nCols)
 Member Function: Invert.
 

Detailed Description

Definition at line 223 of file IccSolve.cpp.

Constructor & Destructor Documentation

◆ CIccSimpleMatrixInverter()

CIccSimpleMatrixInverter::CIccSimpleMatrixInverter ( )
inline

Definition at line 226 of file IccSolve.cpp.

226{}

Member Function Documentation

◆ Invert()

virtual bool CIccSimpleMatrixInverter::Invert ( icFloatNumber * dMatrix,
icUInt16Number nRows,
icUInt16Number nCols )
inlinevirtual

Member Function: Invert.

Purpose: Solve for x in the matrix/vector equation y=Mx when M is 3x3 matrix Otherwise return false.

Parameters: -dMatrix is a matrix (M) with nRows x nCols entries in RowOrder -nRows is number of row entries -nCols is number of column entries

Return: true if matrix was inverted or false if not possible/supported.

Implements IIccMatrixInverter.

Definition at line 244 of file IccSolve.cpp.

245 {
246 if (nRows == 3 && nCols == 3) {
247 bool bInvertible = icMatrixInvert3x3(dMatrix);
248
249 return bInvertible;
250 }
251
252 return false;
253 }
bool icMatrixInvert3x3(icFloatNumber *M)
Name: icMatrixInvert3x3.
Definition IccUtil.cpp:391

References icMatrixInvert3x3().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: