kao.math.matvec.solver.Diagonal Class Reference

Method for solving linear system of equations when A is diagonal. More...

Collaboration diagram for kao.math.matvec.solver.Diagonal:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Diagonal (Matrix A, Vector b)
Vector solve ()

Detailed Description

Method for solving linear system of equations when A is diagonal.

Method for solving systems of the form:

\[ Ax = b \]

when A is diagonal.

Author:
David Kao

Constructor & Destructor Documentation

kao.math.matvec.solver.Diagonal.Diagonal ( Matrix  A,
Vector  b 
)

Create a new instance of the solver

Parameters:
A Matrix A
b Source Vector

Member Function Documentation

Vector kao.math.matvec.solver.Diagonal.solve (  ) 

Solve the system of linear equations.

Returns:
Solution Vector x

Generated on Wed Apr 21 22:01:41 2010 for kao-math by  doxygen 1.6.1