Click or drag to resize

FloatSymmetricMatrix Methods

The FloatSymmetricMatrix type exposes the following members.

Methods
 NameDescription
Public methodStatic memberAdd(FloatSymmetricMatrix, FloatSymmetricMatrix) Adds two symmetric matrices.
Public methodStatic memberAdd(FloatSymmetricMatrix, Single) Adds a symmetric matrix and a scalar.
Public methodStatic memberAdd(Single, FloatSymmetricMatrix) Adds a scalar and a symmetric matrix.
Public methodApply(FuncFloatVector, Single) Returns a new vector containing an element for each column or row in this matrix. The elements are the results of applying a function that takes a vector and returns a single-precision number.
Public methodApply(FuncSingle, Single) Returns a new matrix with the same size as this matrix, whose values are the result of applying the given unary function to each element of this matrix.
Public methodApply(FuncSingle, Int32, Single, Int32) Returns a new matrix with the same size as this matrix, whose values are the result of applying the given binary function to each element of this matrix. The first parameter to the binary function is the matrix element; the second parameter is the passed integer value.
Public methodApply(FuncSingle, Single, Single, FloatSymmetricMatrix) Returns a new matrix with the same size as this matrix, whose values are the result of applying the given binary function to each element of this matrix. The first parameter to the binary function is the matrix element; the second parameter is the corresponding element of the passed matrix.
Public methodApply(FuncSingle, Single, Single, Single) Returns a new matrix with the same size as this matrix, whose values are the result of applying the given binary function to each element of this matrix. The first parameter to the binary function is the matrix element; the second parameter is the passed float-precision value.
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 methodStatic memberDivide(FloatSymmetricMatrix, FloatSymmetricMatrix) Divide a symmetric matrix by another.
Public methodStatic memberDivide(FloatSymmetricMatrix, Single) Divide a symmetric matrix by a scalar.
Public methodStatic memberDivide(Single, FloatSymmetricMatrix) Divide a scalar by a symmetric matrix.
Public methodEquals Tests for equality of this matrix and another matrix. Two matrices are equal if they have the same dimensions 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. The matrix and the submatrix share the same data.
Public methodStatic memberMultiply(FloatSymmetricMatrix, FloatSymmetricMatrix) Multiply two lower symmetric matrices.
Public methodStatic memberMultiply(FloatSymmetricMatrix, Single) Multiply a symmetric matrix and a scalar.
Public methodStatic memberMultiply(Single, FloatSymmetricMatrix) Multiply a scalar and a symmetric matrix.
Public methodStatic memberNegate Negation operator.
Public methodOnDeserialized Checks that the matrix is square following deserialization
Public methodResize Changes the order of this matrix to that specified, adding zeros or truncating as necessary.
Public methodShallowCopy Creates a shallow copy of this matrix.
Public methodStatic memberSubtract(FloatSymmetricMatrix, FloatSymmetricMatrix) Subtracts one symmetric matrix from another.
Public methodStatic memberSubtract(FloatSymmetricMatrix, Single) Subtracts a scalar from a symmetric matrix.
Public methodStatic memberSubtract(Single, FloatSymmetricMatrix) Subtracts a symmetric matrix from a scalar.
Public methodCode exampleToCommaSeparated Returns a formatted string representation of this matrix using commas and newlines.
Public methodCode exampleToCommaSeparated(String) Returns a formatted string representation of this matrix using commas and newlines. Numbers are formatted using the specified format string.
Public methodToGeneralMatrix Converts this sparse matrix to a general matrix.
Public methodCode exampleToString Returns a formatted string representation of this 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.

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 methodTransform(FuncSingle, Single) Modifies the elements of this matrix by applying the given unary function to each element.
Public methodTransform(FuncSingle, Int32, Single, Int32) Modifies the contents of this matrix by applying the given binary function to each element. The first parameter to the binary function is the matrix element; the second parameter is the passed integer value.
Public methodTransform(FuncSingle, Single, Single, FloatSymmetricMatrix) Modifies the contents of this matrix by applying the given binary function to each element. The first parameter to the binary function is the matrix element; the second parameter is the corresponding element of the passed matrix.
Public methodTransform(FuncSingle, Single, Single, Single) Modifies the contents of this matrix by applying the given binary function to each element. The first parameter to the binary function is the matrix element; the second parameter is the passed float-precision value.
Public methodTranspose Returns this matrix.
Top
See Also