Click or drag to resize

FloatBandMatrix Methods

The FloatBandMatrix type exposes the following members.

Methods
 NameDescription
Public methodStatic memberAdd(FloatBandMatrix, FloatBandMatrix) Adds two banded matrices.
Public methodStatic memberAdd(FloatBandMatrix, Single) Adds a scalar to the non-zero elements of a banded matrix.
Public methodStatic memberAdd(Single, FloatBandMatrix) Adds a scalar to the non-zero elements of a banded matrix.
Public methodClone Creates a deep copy of this matrix.
Public methodDeepenThisCopy Guarantees that there is only one reference to the underlying data and that this data is in contiguous storage.
Public methodDiagonal Returns a vector view of the main diagonal of this matrix.
Public methodDiagonal(Int32) Returns a vector view of a diagonal of this matrix.
Public methodStatic memberDivide(FloatBandMatrix, FloatBandMatrix) Divides a banded matrix by another.
Public methodStatic memberDivide(FloatBandMatrix, Single) Divides the non-zero elements of a banded matrix by a scalar.
Public methodStatic memberDivide(Single, FloatBandMatrix) Divides a scalar by the non-zero elements of a banded matrix.
Public methodEquals Tests for equality of this matrix and another matrix. Two matrices are equal if they have the same dimensions, bandwidths and all values are equal.
(Overrides ObjectEquals(Object))
Public methodGetHashCode Returns an integer hash code for this matrix.
(Overrides ObjectGetHashCode)
Public methodLeadingSubmatrix Returns the k by k upper left corner of the matrix.
Public methodStatic memberMultiply(FloatBandMatrix, FloatBandMatrix) Multiplies two banded matrices.
Public methodStatic memberMultiply(FloatBandMatrix, Single) Multiplies the non-zero elements of a banded matrix and a scalar.
Public methodStatic memberMultiply(Single, FloatBandMatrix) Multiplies the non-zero elements of a banded matrix by a scalar.
Public methodStatic memberNegate Negation operator.
Public methodResize(Int32, Int32) Changes the dimensions of this matrix to those specified, adding zeros or truncating as necessary.
Public methodResize(Int32, Int32, Int32, Int32) Changes the dimensions and bandwidths of this matrix to those specified, adding zeros or truncating as necessary.
Public methodShallowCopy Creates a shallow copy of this matrix.
Public methodStatic memberSubtract(FloatBandMatrix, FloatBandMatrix) Subtracts two banded matrices.
Public methodStatic memberSubtract(FloatBandMatrix, Single) Subtracts a scalar from the non-zero elements of a banded matrix.
Public methodStatic memberSubtract(Single, FloatBandMatrix) Subtracts the non-zero elements of a banded matrix from a scalar.
Public methodCode exampleToCommaSeparated Returns a formatted string representation of this matrix.
Public methodCode exampleToCommaSeparated(String) Returns a formatted string representation of this matrix. Numbers are displayed using the specified format.
Public methodToGeneralMatrix Converts this banded matrix to a general matrix.
Public methodCode exampleToString Returns a formatted string representation of this matrix.

You can also use these methods to format a matrix:

ToCommaSeparated

ToCommaSeparated(String)

ToTabDelimited

ToTabDelimited(String)


(Overrides ObjectToString)
Public methodCode exampleToString(String) Returns a formatted string representation of this matrix. Numbers are displayed using the specified format.

You can also use these methods to format a matrix:

ToCommaSeparated

ToCommaSeparated(String)

ToTabDelimited

ToTabDelimited(String)

Public methodCode exampleToTabDelimited Returns a formatted string representation of this matrix using tabs and newlines.
Public methodCode exampleToTabDelimited(String) Returns a formatted string representation of this matrix using tabs and newlines. Numbers are formatted using the specified format string.
Public methodTranspose Returns the transpose of this matrix.
Top
See Also