.NET Matrix Library
Solve Method
See Also  Send Feedback



rightHands
A Matrix object containing the right-hand sides for the system of linear equations.
Solves a system of linear equations using the Cholesky factorization of a real symmetric positive-definite matrix.

Syntax

Visual Basic (Declaration) 
Public Function Solve( _
   ByVal rightHands As Matrix _
) As Matrix
Visual Basic (Usage)Copy Code
Dim instance As Cholesky
Dim rightHands As Matrix
Dim value As Matrix
 
value = instance.Solve(rightHands)
C# 
public Matrix Solve( 
   Matrix rightHands
)
C++/CLI 
public:
Matrix^ Solve( 
   Matrix^ rightHands
) 

Parameters

rightHands
A Matrix object containing the right-hand sides for the system of linear equations.

Return Value

A Matrix object that contains the solution of the system of linear equations.

Exceptions

ExceptionDescription
SizeMismatchExceptionThe rightHands parameter does not represent a matrix with the same number of rows as the factored matrix.

Remarks

The Solve method finds a solution to the system of linear equations A*X = B where:

A denotes the real symmetric positive-definite matrix that has been previously factored (represented now by its Cholesky factorization).

B denotes the matrix whose columns contain the right hand terms.

X denotes the solution matrix that is to be computed.

The system can be solved with multiple right-hand sides stored in the columns of the matrix B.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7

See Also

.NET Matrix Library