The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |
Home ![]() ![]() ![]() ![]() |
|||||||||
See also: Invert, CalcHatMatrix, ReciprocalArray | |||||||||
InvertArray |
|||||||||
The function InvertArray inverts the array Arr. Please keep in mind that inverting a boolean array (versions [1] and [2]) is completely different to inverting a (square) numeric array (version [3]). Versions [1] and [2]: The inversion of boolean arrays is done cell by cell by exchanging TRUE and FALSE values. The function returns the following error codes: 0 ... everything is OK Version [3]: The inversion of a numeric array means calculating the inverse matrix of the (square) array Arr. The inverse matrix is stored on top of the original data (thereby destroying the original contents). The matrix inversion is carried out using the LU-decomposition procedure (decomposition into two triangle matrices). It must not be applied to non-quadratic matrices. The function returns the following error codes: 0 ... everything is OKIn the case of a non-zero return code the resulting matrix is undefined. Version [3] increments the global variable ProcStat and calls the feedback routine MathFeedBackProc in order to allow feedback to the user during time consuming calculations. The InvertArray function can be terminated by setting the global variable AbortMathProc to TRUE.
|