.NET Matrix Library
CSparseMatrix Class Members
See Also  Properties  Methods  Send Feedback


The following tables list the members exposed by CSparseMatrix.

Public Constructors

 NameDescription
public ConstructorCSparseMatrix ConstructorOverloaded. Creates a new instance of the CSparseMatrix class.  
Top

Public Properties

 NameDescription
public PropertyCapacityGets or sets the number of elements that the internal storage of the sparse matrix can hold without resizing.
Gets or sets the number of elements that the internal storage of the sparse matrix can hold without resizing.  
public PropertyColsGets or sets the number of sparse matrix columns.  
public PropertyDataThis property is used while serializing and deserializing the CSparseMatrix and it is not intended to be used in user code.  
public PropertyGrowFactorGets or sets the number by which the Capacity is multiplied whenever a greater internal storage for the matrix is needed.  
public PropertyHermitianIndicates whether this instance represents a hermitian sparse matrix.  
public PropertyItemGets or sets a single element of the sparse matrix.  
public PropertyNumElementsGets the number of elements contained in the internal storage of the sparse matrix.  
public PropertyRowsGets or sets the number of sparse matrix rows.  
Top

Public Methods

 NameDescription
public Methodstatic (Shared in Visual Basic)AddOverloaded. 

Adds two complex sparse matrices. The operation is defined as:

 C=A+beta*op(B)

 
public MethodCloneCreates a deep copy of the current sparse matrix.  
public MethodDisposeReleases all the resources used by the CSparseMatrix object.  
public MethodEqualsReturns a value indicating if this sparse matrix is equal to another sparse matrix.  
public MethodFillRandomOverloaded. Fills a sparse matrix with random values.  
public MethodGetHashCodeReturns a hash code value that represents this object.  
public MethodGetObjectDataImplements the ISerializable interface and returns the data needed to serialize the CSparseMatrix class.  
public MethodIsEqualOverloaded. Returns a value indicating whether this instance of the CSparseMatrix object is equal to another instance.  
public Methodstatic (Shared in Visual Basic)MultiplyOverloaded. Multiplies sparse matrices.  
public Methodstatic (Shared in Visual Basic)NegateReturns the negation of a sparse matrix.  
public MethodRemoveZerosOverloaded. Removes all elements which are close to zero from the internal storage.  
public Methodstatic (Shared in Visual Basic)SubtractSubtracts a complex sparse matrix from another complex sparse matrix.  
public MethodToDenseConverts the current instance to a dense matrix.  
public MethodToStringOverloaded. Converts this instance of CSparseMatrix to a formatted string.  
public MethodTransposeReturns the transpose of the sparse matrix.  
Top

Public Operators

public Operator Addition Adds two sparse matrices.
public Operator Equality Tests whether two CSparseMatrix objects represent equal matrices.
public Operator Inequality Tests whether two CSparseMatrix objects represent non equal matrices.
public Operator Multiplication Overloaded. Multiplies a sparse matrix.
public Operator Subtraction Subtracts a sparse matrix from another sparse matrix.
public Operator Unary Negation Negates a matrix.
public Operator Unary Plus Returns a copy of the sparse matrix.
Top

See Also

.NET Matrix Library