Description
Solve the system of linear equations written 'A * x = b' where A and b are matrices for the vector x.
Timing Precision Mode
This page describes functionality in nanosecond timing precision mode.
Click here to see the documentation for this object in millisecond timing precision mode.
Method Signature
Arguments
b
|
|
Description:
|
The matrix 'b' on the RHS of the equation 'A * x = b'.
|
decompositionMethod
|
|
Description:
|
Method to use for the matrix decomposition.
|
Valid Values:
|
Value
|
Label
|
0
|
Househoulder QR
|
1
|
Partial Pivot LU
|
2
|
Full Pivot LU
|
3
|
Column Pivot Householder QR
|
4
|
Full PivotHouseholder QR
|
5
|
LLT
|
6
|
LDLT
|
7
|
Jacobi SVD
|
|
isEqual
|
|
Description:
|
Specifies whether a valid solutions of the set of linear equations was found.
|
Valid Values:
|
Value
|
Label
|
0
|
false
|
1
|
true
|
|
threshold
|
|
Description:
|
Threshold to use to determine if the matrix formed from A * x is equal to b. This checks that the Frobenius norm of ( A * x - b ) less than or equal to threshold times minimum of the Frobenius Norm of A * x and b.
|
Valid Range:
|
threshold > 0
|
Return Value
The(vector) matrix holding the solution for 'x' in the equation 'A * x = b'.
Syntax
myMatrix1 = [1,2; 3,4].Solve(myMatrix2, myVariable1, myVariable2, myVariable3);
|
See also
VirtualMatrix Object
VirtualMatrix.Solve
|