C# Class QLNet.TridiagonalOperator

Inheritance: IOperator
Mostra file Open project: ammachado/QLNet Class Usage Examples

Protected Properties

Property Type Description
diagonal_ Vector
timeSetter_ TimeSetter

Public Methods

Method Description
Clone ( ) : object
SOR ( Vector rhs, double tol ) : Vector
TridiagonalOperator ( ) : System
TridiagonalOperator ( Vector low, Vector mid, Vector high ) : System
TridiagonalOperator ( int size ) : System
add ( IOperator A, IOperator B ) : IOperator
applyTo ( Vector v ) : Vector
diagonal ( ) : Vector
identity ( int size ) : IOperator
isTimeDependent ( ) : bool
lowerDiagonal ( ) : Vector
multiply ( double a, IOperator o ) : IOperator
setFirstRow ( double valB, double valC ) : void
setLastRow ( double valA, double valB ) : void
setMidRow ( int i, double valA, double valB, double valC ) : void
setMidRows ( double valA, double valB, double valC ) : void
setTime ( double t ) : void
size ( ) : int
solveFor ( Vector rhs ) : Vector
subtract ( IOperator A, IOperator B ) : IOperator
upperDiagonal ( ) : Vector

Method Details

Clone() public method

public Clone ( ) : object
return object

SOR() public method

public SOR ( Vector rhs, double tol ) : Vector
rhs Vector
tol double
return Vector

TridiagonalOperator() public method

public TridiagonalOperator ( ) : System
return System

TridiagonalOperator() public method

public TridiagonalOperator ( Vector low, Vector mid, Vector high ) : System
low Vector
mid Vector
high Vector
return System

TridiagonalOperator() public method

public TridiagonalOperator ( int size ) : System
size int
return System

add() public method

public add ( IOperator A, IOperator B ) : IOperator
A IOperator
B IOperator
return IOperator

applyTo() public method

public applyTo ( Vector v ) : Vector
v Vector
return Vector

diagonal() public method

public diagonal ( ) : Vector
return Vector

identity() public method

public identity ( int size ) : IOperator
size int
return IOperator

isTimeDependent() public method

public isTimeDependent ( ) : bool
return bool

lowerDiagonal() public method

public lowerDiagonal ( ) : Vector
return Vector

multiply() public method

public multiply ( double a, IOperator o ) : IOperator
a double
o IOperator
return IOperator

setFirstRow() public method

public setFirstRow ( double valB, double valC ) : void
valB double
valC double
return void

setLastRow() public method

public setLastRow ( double valA, double valB ) : void
valA double
valB double
return void

setMidRow() public method

public setMidRow ( int i, double valA, double valB, double valC ) : void
i int
valA double
valB double
valC double
return void

setMidRows() public method

public setMidRows ( double valA, double valB, double valC ) : void
valA double
valB double
valC double
return void

setTime() public method

public setTime ( double t ) : void
t double
return void

size() public method

public size ( ) : int
return int

solveFor() public method

public solveFor ( Vector rhs ) : Vector
rhs Vector
return Vector

subtract() public method

public subtract ( IOperator A, IOperator B ) : IOperator
A IOperator
B IOperator
return IOperator

upperDiagonal() public method

public upperDiagonal ( ) : Vector
return Vector

Property Details

diagonal_ protected_oe property

protected Vector diagonal_
return Vector

timeSetter_ protected_oe property

protected TimeSetter timeSetter_
return TimeSetter