Matrix.Solve(Matrix, Variable, Variable, Variable) Method

Top 

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 millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Method Signature

Matrix.Solve(

Matrix b,


Variable decompositionMethod,


Variable isEqual,


Variable threshold)

 

 

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

Type:

Matrix of number

 

 

The(vector) matrix holding the solution for 'x' in the equation 'A * x = b'.

 

Syntax

myMatrix1 = myMatrix2.Solve(myMatrix3, myVariable1, myVariable2, myVariable3);

 

 

See also

Matrix Object

Matrix.Solve

Matrix, Array, and Variable Math Guide