C# Class QLNet.Matrix

Exibir arquivo Open project: ammachado/QLNet

Public Methods

Method Description
GetRange ( int start, int length ) : Vector
Matrix ( Matrix from ) : System
Matrix ( int rows, int columns ) : System
Matrix ( int rows, int columns, double value ) : System
column ( int c ) : Vector
columns ( ) : int
diagonal ( ) : Vector
empty ( ) : bool
fill ( double value ) : void
operator ( ) : Matrix
operator ( ) : Vector
outerProduct ( List v1begin, List v2begin ) : Matrix
row ( int r ) : Vector
rows ( ) : int
swap ( int i1, int j1, int i2, int j2 ) : void
this ( int i ) : double
this ( int i, int j ) : double
transpose ( Matrix m ) : Matrix

Private Methods

Method Description
operMatrix ( Matrix &m1, Matrix &m2, Func func ) : Matrix
operValue ( Matrix &m1, double value, Func func ) : Matrix

Method Details

GetRange() public method

public GetRange ( int start, int length ) : Vector
start int
length int
return Vector

Matrix() public method

public Matrix ( Matrix from ) : System
from Matrix
return System

Matrix() public method

public Matrix ( int rows, int columns ) : System
rows int
columns int
return System

Matrix() public method

public Matrix ( int rows, int columns, double value ) : System
rows int
columns int
value double
return System

column() public method

public column ( int c ) : Vector
c int
return Vector

columns() public method

public columns ( ) : int
return int

diagonal() public method

public diagonal ( ) : Vector
return Vector

empty() public method

public empty ( ) : bool
return bool

fill() public method

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

operator() public static method

public static operator ( ) : Matrix
return Matrix

operator() public static method

public static operator ( ) : Vector
return Vector

outerProduct() public static method

public static outerProduct ( List v1begin, List v2begin ) : Matrix
v1begin List
v2begin List
return Matrix

row() public method

public row ( int r ) : Vector
r int
return Vector

rows() public method

public rows ( ) : int
return int

swap() public method

public swap ( int i1, int j1, int i2, int j2 ) : void
i1 int
j1 int
i2 int
j2 int
return void

this() public method

public this ( int i ) : double
i int
return double

this() public method

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

transpose() public static method

public static transpose ( Matrix m ) : Matrix
m Matrix
return Matrix