|
MatrixDivide Method (Decimal, Decimal, Boolean)
|
Divides two matrices by multiplying A by the inverse of B.
Namespace:
Accord.Math
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static decimal[][] Divide(
this decimal[][] a,
decimal[][] b,
bool leastSquares = false
)
<ExtensionAttribute>
Public Shared Function Divide (
a As Decimal()(),
b As Decimal()(),
Optional leastSquares As Boolean = false
) As Decimal()()
Request Example
View SourceParameters
- a
- Type: SystemDecimal
The first matrix. - b
- Type: SystemDecimal
The second matrix (which will be inverted). - leastSquares (Optional)
- Type: SystemBoolean
True to produce a solution even if the
b is singular; false otherwise. Default is false.
Return Value
Type:
DecimalThe result from the division
AB^-1 of the given matrices.
Usage Note
In 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).
See Also