C# Class AIMA.Core.Util.Math.Matrix

Datei anzeigen Open project: PaulMineau/AIMA.Net Class Usage Examples

Public Methods

Method Description
Matrix ( double A ) : System
Matrix ( double vals, int m ) : System
Matrix ( double A, int m, int n ) : System
Matrix ( int m, int n ) : System
Matrix ( int m, int n, double s ) : System
ToString ( ) : String
arrayLeftDivide ( Matrix B ) : Matrix
arrayLeftDivideEquals ( Matrix B ) : Matrix
arrayRightDivide ( Matrix B ) : Matrix
arrayRightDivideEquals ( Matrix B ) : Matrix
arrayTimes ( Matrix B ) : Matrix
arrayTimesEquals ( Matrix B ) : Matrix
clone ( ) : Object
constructWithCopy ( double A ) : Matrix
copy ( ) : Matrix
createDiagonalMatrix ( List values ) : Matrix
det ( ) : double
get ( int i, int j ) : double
getArray ( ) : double[][]
getArrayCopy ( ) : double[][]
getColumnDimension ( ) : int
getColumnPackedCopy ( ) : double[]
getMatrix ( int r, int c ) : Matrix
getMatrix ( int i0, int i1, int c ) : Matrix
getMatrix ( int i0, int i1, int j0, int j1 ) : Matrix
getRowDimension ( ) : int
getRowPackedCopy ( ) : double[]
identity ( int m, int n ) : Matrix
inverse ( ) : Matrix
lu ( ) : LUDecomposition
minus ( Matrix B ) : Matrix
minusEquals ( Matrix B ) : Matrix
norm1 ( ) : double
normInf ( ) : double
plus ( Matrix B ) : Matrix
plusEquals ( Matrix B ) : Matrix
random ( int m, int n ) : Matrix
set ( int i, int j, double s ) : void
setMatrix ( int r, int c, Matrix X ) : void
setMatrix ( int r, int j0, int j1, Matrix X ) : void
setMatrix ( int i0, int i1, int j0, int j1, Matrix X ) : void
solve ( Matrix B ) : Matrix
solveTranspose ( Matrix B ) : Matrix
times ( Matrix B ) : Matrix
times ( double s ) : Matrix
timesEquals ( double s ) : Matrix
trace ( ) : double
transpose ( ) : Matrix
uminus ( ) : Matrix

Private Methods

Method Description
checkMatrixDimensions ( Matrix B ) : void

Method Details

Matrix() public method

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

Matrix() public method

public Matrix ( double vals, int m ) : System
vals double
m int
return System

Matrix() public method

public Matrix ( double A, int m, int n ) : System
A double
m int
n int
return System

Matrix() public method

public Matrix ( int m, int n ) : System
m int
n int
return System

Matrix() public method

public Matrix ( int m, int n, double s ) : System
m int
n int
s double
return System

ToString() public method

public ToString ( ) : String
return String

arrayLeftDivide() public method

public arrayLeftDivide ( Matrix B ) : Matrix
B Matrix
return Matrix

arrayLeftDivideEquals() public method

public arrayLeftDivideEquals ( Matrix B ) : Matrix
B Matrix
return Matrix

arrayRightDivide() public method

public arrayRightDivide ( Matrix B ) : Matrix
B Matrix
return Matrix

arrayRightDivideEquals() public method

public arrayRightDivideEquals ( Matrix B ) : Matrix
B Matrix
return Matrix

arrayTimes() public method

public arrayTimes ( Matrix B ) : Matrix
B Matrix
return Matrix

arrayTimesEquals() public method

public arrayTimesEquals ( Matrix B ) : Matrix
B Matrix
return Matrix

clone() public method

public clone ( ) : Object
return Object

constructWithCopy() public static method

public static constructWithCopy ( double A ) : Matrix
A double
return Matrix

copy() public method

public copy ( ) : Matrix
return Matrix

createDiagonalMatrix() public static method

public static createDiagonalMatrix ( List values ) : Matrix
values List
return Matrix

det() public method

public det ( ) : double
return double

get() public method

public get ( int i, int j ) : double
i int
j int
return double

getArray() public method

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

getArrayCopy() public method

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

getColumnDimension() public method

public getColumnDimension ( ) : int
return int

getColumnPackedCopy() public method

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

getMatrix() public method

public getMatrix ( int r, int c ) : Matrix
r int
c int
return Matrix

getMatrix() public method

public getMatrix ( int i0, int i1, int c ) : Matrix
i0 int
i1 int
c int
return Matrix

getMatrix() public method

public getMatrix ( int i0, int i1, int j0, int j1 ) : Matrix
i0 int
i1 int
j0 int
j1 int
return Matrix

getRowDimension() public method

public getRowDimension ( ) : int
return int

getRowPackedCopy() public method

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

identity() public static method

public static identity ( int m, int n ) : Matrix
m int
n int
return Matrix

inverse() public method

public inverse ( ) : Matrix
return Matrix

lu() public method

public lu ( ) : LUDecomposition
return LUDecomposition

minus() public method

public minus ( Matrix B ) : Matrix
B Matrix
return Matrix

minusEquals() public method

public minusEquals ( Matrix B ) : Matrix
B Matrix
return Matrix

norm1() public method

public norm1 ( ) : double
return double

normInf() public method

public normInf ( ) : double
return double

plus() public method

public plus ( Matrix B ) : Matrix
B Matrix
return Matrix

plusEquals() public method

public plusEquals ( Matrix B ) : Matrix
B Matrix
return Matrix

random() public static method

public static random ( int m, int n ) : Matrix
m int
n int
return Matrix

set() public method

public set ( int i, int j, double s ) : void
i int
j int
s double
return void

setMatrix() public method

public setMatrix ( int r, int c, Matrix X ) : void
r int
c int
X Matrix
return void

setMatrix() public method

public setMatrix ( int r, int j0, int j1, Matrix X ) : void
r int
j0 int
j1 int
X Matrix
return void

setMatrix() public method

public setMatrix ( int i0, int i1, int j0, int j1, Matrix X ) : void
i0 int
i1 int
j0 int
j1 int
X Matrix
return void

solve() public method

public solve ( Matrix B ) : Matrix
B Matrix
return Matrix

solveTranspose() public method

public solveTranspose ( Matrix B ) : Matrix
B Matrix
return Matrix

times() public method

public times ( Matrix B ) : Matrix
B Matrix
return Matrix

times() public method

public times ( double s ) : Matrix
s double
return Matrix

timesEquals() public method

public timesEquals ( double s ) : Matrix
s double
return Matrix

trace() public method

public trace ( ) : double
return double

transpose() public method

public transpose ( ) : Matrix
return Matrix

uminus() public method

public uminus ( ) : Matrix
return Matrix