VirtualMatrix.Solve(Matrix, 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 nanosecond timing precision mode.

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

 

Method Signature

VirtualMatrix.Solve(

Matrix b,


Variable decompositionMethod,


Variable isEqual)

 

 

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

 

 

 

 

Return Value

Type:

Matrix of number

 

 

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

 

Syntax

myMatrix1 = [1,2; 3,4].Solve(myMatrix2, myVariable1, myVariable2);

 

 

See also

VirtualMatrix Object

VirtualMatrix.Solve