You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Matrix Structure > Matrix Methods > Inv Method > Matrix.Inv Method (int, int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Matrix.Inv Method (int, int)

Calculate the inverse of calling object elements [Index]..[Index+Len-1] in-place.

Syntax
C#
Visual Basic
public TMtxVec Inv(int Index, int Len);

An exception is raised if array borders are overrun/underrun.

var a,b: Matrix; begin a.SetIt(2,2,False,[1,2,3,4]); // a = [1, 2, 3, 4] b.Inv(a,0.01); // b = [1.0, 0.5, 0.3333, 0.25] b := Inv(a,0.01); end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!