VirtualMatrix.Solve(Matrix, 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)

 

 

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

 

 

 

 

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);

 

 

See also

VirtualMatrix Object

VirtualMatrix.Solve