|
Spiking Neuron Network Simulator
1.0
Simulation and training of spiking neuron networks, primarily theta neurons
|
Public Member Functions | |
| Matrix (int iRows, int iCols) | |
| Creates a new instance of Matrix of size iRows and iCols More... | |
| override bool | Equals (object obj) |
| Indicates if a matrix is equal to an object More... | |
| override int | GetHashCode () |
| Gets a hash code representation of the matrix More... | |
| Matrix | GetRow (int k) |
| Gets a row matrix More... | |
| Matrix | GetCol (int k) |
| Gets a column matrix More... | |
| List< int > | FindAllIndexOf (double val) |
| Gets a list of a indices where the value is equal to val within epsilon More... | |
| List< int > | FindAllIndexOfNot (double val) |
| Gets a list of a indices where the value is not equal to val within epsilon More... | |
| void | SetCol (Matrix v, int k) |
| Sets a column of the matrix to a given column matrix More... | |
| void | MakeLU () |
| Perform LU Decomposition More... | |
| Matrix | SolveWith (Matrix v) |
| Solve Ax = v for x, where A is the current matrix More... | |
| Matrix | Invert () |
| Inverts the current matrix More... | |
| double | Det () |
| Calculates the matrix determinant More... | |
| Matrix | GetPermutationMatrix () |
| Gets a permutation matrix "P" due to permutation vector "pi" More... | |
| Matrix | Clone () |
| Gets a deep copy of the matrix More... | |
| override string | ToString () |
| Returns a string representation of the matrix More... | |
Static Public Member Functions | |
| static Matrix | SubsForth (Matrix mA, Matrix b) |
| Solves Ax = b for A as a lower triangular matrix More... | |
| static Matrix | SubsBack (Matrix mA, Matrix b) |
| Solves Ax = b for A as an upper triangular matrix More... | |
| static Matrix | ZeroMatrix (int iRows, int iCols) |
| Gets a matrix of zeros of size iRows by iCols More... | |
| static Matrix | ConstantMatrix (int iRows, int iCols, double val) |
| Gets a matrix of constant values equal to val of size iRows by iCols More... | |
| static Matrix | IdentityMatrix (int iRows, int iCols) |
| Gets an indentity matrix of size iRows by iCols More... | |
| static Matrix | RandomMatrix (int iRows, int iCols, double dispersion, double probability=1.0) |
| Gets a matrix of random numbers of size iRows by iCols More... | |
| static Matrix | Parse (string ps) |
| Gets a matrix as parsed from a string delimited by spaces and newlines More... | |
| static Matrix | Transpose (Matrix m) |
| Gets a transposed matrix More... | |
| static Matrix | Power (Matrix m, int pow) |
| Gets a matrix raised to an integer power More... | |
| static Matrix | operator- (Matrix m) |
| Gets the negation of matrix m More... | |
| static Matrix | operator+ (double m1, Matrix m2) |
| Gets the sum of double m1 and matrix m2 More... | |
| static Matrix | operator+ (Matrix m1, double m2) |
| Gets the sum of matrix m1 and double m2 More... | |
| static Matrix | operator+ (Matrix m1, Matrix m2) |
| Gets the sum of matrix m1 and matrix m2 More... | |
| static Matrix | operator- (Matrix m1, Matrix m2) |
| Gets the difference of matrix m1 and double m2 More... | |
| static Matrix | operator* (Matrix m1, Matrix m2) |
| Gets the product of matrix m1 and matrix m2 More... | |
| static Matrix | operator* (double n, Matrix m) |
| Gets the product of double n and matrix m More... | |
| static bool | operator== (Matrix m1, Matrix m2) |
| Indicates whether matrices m1 and m2 are equal More... | |
| static bool | operator!= (Matrix m1, Matrix m2) |
| Indicates whether matrices m1 and m2 are not equal More... | |
Protected Member Functions | |
| bool | Equals (Matrix m1) |
Properties | |
| int | Rows [get] |
| Gets the number of rows in the matrix More... | |
| int | Cols [get] |
| Gets the number of columns in the matrix More... | |
| bool | IsSquare [get] |
| Indicates if the matrix is square More... | |
| double | this[int iRow, int iCol] [get, set] |
| Gets or sets the matrix value at the row and column index More... | |
| SpikingNeuronNetwork.Lib.Matrix.Matrix | ( | int | iRows, |
| int | iCols | ||
| ) |
| Matrix SpikingNeuronNetwork.Lib.Matrix.Clone | ( | ) |
|
static |
| double SpikingNeuronNetwork.Lib.Matrix.Det | ( | ) |
| override bool SpikingNeuronNetwork.Lib.Matrix.Equals | ( | object | obj | ) |
|
protected |
| List<int> SpikingNeuronNetwork.Lib.Matrix.FindAllIndexOf | ( | double | val | ) |
| List<int> SpikingNeuronNetwork.Lib.Matrix.FindAllIndexOfNot | ( | double | val | ) |
| Matrix SpikingNeuronNetwork.Lib.Matrix.GetCol | ( | int | k | ) |
| override int SpikingNeuronNetwork.Lib.Matrix.GetHashCode | ( | ) |
| Matrix SpikingNeuronNetwork.Lib.Matrix.GetPermutationMatrix | ( | ) |
| Matrix SpikingNeuronNetwork.Lib.Matrix.GetRow | ( | int | k | ) |
|
static |
| Matrix SpikingNeuronNetwork.Lib.Matrix.Invert | ( | ) |
| void SpikingNeuronNetwork.Lib.Matrix.MakeLU | ( | ) |
|
static |
|
static |
Gets a matrix of random numbers of size iRows by iCols
| iRows | The number of rows |
| iCols | The number of columns |
| dispersion | The absolute min and max value of generated random numbers |
| probability | The probability a generated value is non-zero |
| void SpikingNeuronNetwork.Lib.Matrix.SetCol | ( | Matrix | v, |
| int | k | ||
| ) |
| override string SpikingNeuronNetwork.Lib.Matrix.ToString | ( | ) |
|
static |
|
get |
|
get |
|
get |
|
getset |