Documentation For Encog 2.x

Matrix Methods

The methods of the Matrix class are listed below. For a complete list of Matrix class members, see the Matrix Members topic.

Public Static Methods

CreateColumnMatrix Create a matrix that is a single column.
CreateRowMatrix Create a matrix that is a single row.

Public Instance Methods

AddOverloaded. Add the specified value to the specified row and column of the matrix.
Clear Clear the matrix.
Clone Clone the matrix.
CreatePersistor Create a persistor for this object.
equals Compare the matrix to another with the specified level of precision.
EqualsOverloaded. Determine if this matrix is equal to another. Use a precision of 10 decimal places.
Equals (inherited from Object)Overloaded.  
FromPackedArray Take the values of thie matrix from a packed array.
GetCol Get one column from this matrix as a column matrix.
GetHashCode (inherited from Object) 
GetRow Get the specified row as a row matrix.
GetType (inherited from Object) 
IsVector Determine if this matrix is a vector. A vector matrix only has a single row or column.
IsZero Determine if all of the values in the matrix are zero.
Ramdomize Fill the matrix with random values in the specified range.
Set Set every value in the matrix to the specified value.
Sum Sum all of the values in the matrix.
ToPackedArray Convert the matrix to a packed array.
ToString (inherited from Object) 

Protected Instance Methods

Finalize (inherited from Object) 
MemberwiseClone (inherited from Object) 

See Also

Matrix Class | Encog.Matrix Namespace