C# Class Framework.Algorithm.Matrix

ファイルを表示 Open project: callme119/civil

Public Methods

Method Description
Add ( Matrix other ) : Matrix
ComputeDetCholesky ( double &realDetValue ) : bool
ComputeDetGauss ( ) : double
ComputeEvHBerg ( double dblU, double dblV, int nMaxIt, double eps ) : bool
ComputeEvJacobi ( double dblEigenValue, Matrix mtxEigenVector, double eps ) : bool
ComputeEvJacobi ( double dblEigenValue, Matrix mtxEigenVector, int nMaxIt, double eps ) : bool
ComputeEvSymTri ( double dblB, double dblC, Matrix mtxQ, int nMaxIt, double eps ) : bool
ComputeRankGauss ( ) : int
Equals ( object other ) : bool
GetColVector ( int nCol, double pVector ) : int
GetData ( ) : double[]
GetElement ( int nRow, int nCol ) : double
GetEps ( ) : double
GetHashCode ( ) : int
GetNumColumns ( ) : int
GetNumRows ( ) : int
GetRowVector ( int nRow, double pVector ) : int
Init ( int nRows, int nCols ) : bool
InvertGaussJordan ( ) : bool
InvertGaussJordan ( Matrix mtxImag ) : bool
InvertSsgj ( ) : bool
InvertTrench ( ) : bool
InvertUV ( Matrix mtxAP, Matrix mtxU, Matrix mtxV, double eps ) : bool
MakeHberg ( ) : void
MakeSymTri ( Matrix mtxQ, Matrix mtxT, double dblB, double dblC ) : bool
MakeUnitMatrix ( int nSize ) : bool
Matrix ( ) : System
Matrix ( Matrix other ) : System
Matrix ( double value ) : System
Matrix ( int nSize ) : System
Matrix ( int nSize, double value ) : System
Matrix ( int nRows, int nCols ) : System
Matrix ( int nRows, int nCols, double value ) : System
Multiply ( Matrix other ) : Matrix
Multiply ( double value ) : Matrix
Multiply ( Matrix AR, Matrix AI, Matrix BR, Matrix BI, Matrix CR, Matrix CI ) : bool
SetData ( double value ) : void
SetElement ( int nRow, int nCol, double value ) : bool
SetEps ( double newEps ) : void
SetValue ( Matrix other ) : Matrix
SplitLU ( Matrix mtxL, Matrix mtxU ) : bool
SplitQR ( Matrix mtxQ ) : bool
SplitUV ( Matrix mtxU, Matrix mtxV, double eps ) : bool
Subtract ( Matrix other ) : Matrix
ToString ( ) : string
ToString ( string sDelim, bool bLineBreak ) : string
ToStringCol ( int nCol, string sDelim ) : string
ToStringRow ( int nRow, string sDelim ) : string
Transpose ( ) : Matrix
operator ( ) : Matrix
this ( int row, int col ) : double

Private Methods

Method Description
ppp ( double a, double e, double s, double v, int m, int n ) : void
sss ( double fg, double cs ) : void

Method Details

Add() public method

public Add ( Matrix other ) : Matrix
other Matrix
return Matrix

ComputeDetCholesky() public method

public ComputeDetCholesky ( double &realDetValue ) : bool
realDetValue double
return bool

ComputeDetGauss() public method

public ComputeDetGauss ( ) : double
return double

ComputeEvHBerg() public method

public ComputeEvHBerg ( double dblU, double dblV, int nMaxIt, double eps ) : bool
dblU double
dblV double
nMaxIt int
eps double
return bool

ComputeEvJacobi() public method

public ComputeEvJacobi ( double dblEigenValue, Matrix mtxEigenVector, double eps ) : bool
dblEigenValue double
mtxEigenVector Matrix
eps double
return bool

ComputeEvJacobi() public method

public ComputeEvJacobi ( double dblEigenValue, Matrix mtxEigenVector, int nMaxIt, double eps ) : bool
dblEigenValue double
mtxEigenVector Matrix
nMaxIt int
eps double
return bool

ComputeEvSymTri() public method

public ComputeEvSymTri ( double dblB, double dblC, Matrix mtxQ, int nMaxIt, double eps ) : bool
dblB double
dblC double
mtxQ Matrix
nMaxIt int
eps double
return bool

ComputeRankGauss() public method

public ComputeRankGauss ( ) : int
return int

Equals() public method

public Equals ( object other ) : bool
other object
return bool

GetColVector() public method

public GetColVector ( int nCol, double pVector ) : int
nCol int
pVector double
return int

GetData() public method

public GetData ( ) : double[]
return double[]

GetElement() public method

public GetElement ( int nRow, int nCol ) : double
nRow int
nCol int
return double

GetEps() public method

public GetEps ( ) : double
return double

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetNumColumns() public method

public GetNumColumns ( ) : int
return int

GetNumRows() public method

public GetNumRows ( ) : int
return int

GetRowVector() public method

public GetRowVector ( int nRow, double pVector ) : int
nRow int
pVector double
return int

Init() public method

public Init ( int nRows, int nCols ) : bool
nRows int
nCols int
return bool

InvertGaussJordan() public method

public InvertGaussJordan ( ) : bool
return bool

InvertGaussJordan() public method

public InvertGaussJordan ( Matrix mtxImag ) : bool
mtxImag Matrix
return bool

InvertSsgj() public method

public InvertSsgj ( ) : bool
return bool

InvertTrench() public method

public InvertTrench ( ) : bool
return bool

InvertUV() public method

public InvertUV ( Matrix mtxAP, Matrix mtxU, Matrix mtxV, double eps ) : bool
mtxAP Matrix
mtxU Matrix
mtxV Matrix
eps double
return bool

MakeHberg() public method

public MakeHberg ( ) : void
return void

MakeSymTri() public method

public MakeSymTri ( Matrix mtxQ, Matrix mtxT, double dblB, double dblC ) : bool
mtxQ Matrix
mtxT Matrix
dblB double
dblC double
return bool

MakeUnitMatrix() public method

public MakeUnitMatrix ( int nSize ) : bool
nSize int
return bool

Matrix() public method

public Matrix ( ) : System
return System

Matrix() public method

public Matrix ( Matrix other ) : System
other Matrix
return System

Matrix() public method

public Matrix ( double value ) : System
value double
return System

Matrix() public method

public Matrix ( int nSize ) : System
nSize int
return System

Matrix() public method

public Matrix ( int nSize, double value ) : System
nSize int
value double
return System

Matrix() public method

public Matrix ( int nRows, int nCols ) : System
nRows int
nCols int
return System

Matrix() public method

public Matrix ( int nRows, int nCols, double value ) : System
nRows int
nCols int
value double
return System

Multiply() public method

public Multiply ( Matrix other ) : Matrix
other Matrix
return Matrix

Multiply() public method

public Multiply ( double value ) : Matrix
value double
return Matrix

Multiply() public method

public Multiply ( Matrix AR, Matrix AI, Matrix BR, Matrix BI, Matrix CR, Matrix CI ) : bool
AR Matrix
AI Matrix
BR Matrix
BI Matrix
CR Matrix
CI Matrix
return bool

SetData() public method

public SetData ( double value ) : void
value double
return void

SetElement() public method

public SetElement ( int nRow, int nCol, double value ) : bool
nRow int
nCol int
value double
return bool

SetEps() public method

public SetEps ( double newEps ) : void
newEps double
return void

SetValue() public method

public SetValue ( Matrix other ) : Matrix
other Matrix
return Matrix

SplitLU() public method

public SplitLU ( Matrix mtxL, Matrix mtxU ) : bool
mtxL Matrix
mtxU Matrix
return bool

SplitQR() public method

public SplitQR ( Matrix mtxQ ) : bool
mtxQ Matrix
return bool

SplitUV() public method

public SplitUV ( Matrix mtxU, Matrix mtxV, double eps ) : bool
mtxU Matrix
mtxV Matrix
eps double
return bool

Subtract() public method

public Subtract ( Matrix other ) : Matrix
other Matrix
return Matrix

ToString() public method

public ToString ( ) : string
return string

ToString() public method

public ToString ( string sDelim, bool bLineBreak ) : string
sDelim string
bLineBreak bool
return string

ToStringCol() public method

public ToStringCol ( int nCol, string sDelim ) : string
nCol int
sDelim string
return string

ToStringRow() public method

public ToStringRow ( int nRow, string sDelim ) : string
nRow int
sDelim string
return string

Transpose() public method

public Transpose ( ) : Matrix
return Matrix

operator() public static method

public static operator ( ) : Matrix
return Matrix

this() public method

public this ( int row, int col ) : double
row int
col int
return double