Computes the inverse of a matrix.
Namespace: Accord.MathAccord.Math (in Accord.Math.dll) Version: 3.8.0
Syntaxpublic static double[,] Inverse( this double[,] matrix )
<ExtensionAttribute> Public Shared Function Inverse ( matrix As Double(,) ) As Double(,)Request Example View Source Parameters
Type:
Double Usage NoteIn Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)or
Extension Methods (C# Programming Guide).
Examplesdouble[,] matrix = { { 6.0, 1.0, 2.0 }, { 0.0, 8.0, 1.0 }, { 2.0, 4.0, 5.0 } }; double[,] inv = matrix.Inverse(); string strInv = inv.ToCSharp(); double[,] a = inv.Dot(matrix); double[,] b = matrix.Dot(inv); string strA = a.ToCSharp(); string strB = b.ToCSharp();See Also
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4