![]() | FloatUpperTriMatrix Class |
Namespace: CenterSpace.NMath.Core
The FloatUpperTriMatrix type exposes the following members.
Name | Description | |
---|---|---|
![]() | FloatUpperTriMatrix(Int32) |
Constructs a square FloatUpperTriMatrix instance with the specified
size. All elements are initialized to zero.
|
![]() | FloatUpperTriMatrix(FloatMatrix) |
Constructs a square FloatUpperTriMatrix instance by extracting the upper triangular
part of a square general matrix.
|
![]() | FloatUpperTriMatrix(FloatSymmetricMatrix) |
Constructs a square FloatUpperTriMatrix instance by extracting the upper
triangular part of a symmetric matrix.
|
![]() | FloatUpperTriMatrix(FloatVector) |
Constructs a square FloatUpperTriMatrix instance using the data in the given
vector.
|
![]() | FloatUpperTriMatrix(FloatMatrix, Int32) |
Constructs a square FloatUpperTriMatrix instance by extracting the upper
triangular part of the specified leading square submatrix of a
general matrix.
|
![]() | FloatUpperTriMatrix(FloatVector, Int32) |
Constructs a square FloatUpperTriMatrix instance with the specified
size, and using the data in the given vector.
|
Name | Description | |
---|---|---|
![]() | Cols |
Gets the number of columns in the matrix.
|
![]() | DataVector |
Gets the data vector referenced by this matrix.
|
![]() | Item |
Gets and sets the value at the specified position. Zero matrix elements
are not stored, so assigning a non-zero value to a matrix element
above the diagonal of the matrix raises an exception.
|
![]() | Order |
Gets the order of the matrix.
|
![]() | Rows |
Gets the number of rows in the matrix.
|
Name | Description | |
---|---|---|
![]() ![]() | Add(Single, FloatUpperTriMatrix) |
Adds a scalar and an upper triangular matrix.
|
![]() ![]() | Add(FloatUpperTriMatrix, FloatUpperTriMatrix) |
Adds two upper triangular matrices.
|
![]() ![]() | Add(FloatUpperTriMatrix, Single) |
Adds an upper triangular matrix and a scalar.
|
![]() | Clone |
Creates a deep copy of this matrix.
|
![]() | DeepenThisCopy |
Guarantees that there is only one reference to the underlying
data and that this data is in contiguous storage.
|
![]() ![]() | Divide(Single, FloatUpperTriMatrix) |
Divide a scalar by an upper triangular matrix.
|
![]() ![]() | Divide(FloatUpperTriMatrix, FloatUpperTriMatrix) |
Divide an upper triangular matrix by another.
|
![]() ![]() | Divide(FloatUpperTriMatrix, Single) |
Divide an upper triangular matrix by a scalar.
|
![]() | Equals |
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).) |
![]() | GetHashCode |
Returns an integer hash code for this matrix.
(Overrides ObjectGetHashCode.) |
![]() | LeadingSubmatrix |
Returns the k by k upper left corner of the matrix. The
matrix and the submatrix share the same data.
|
![]() ![]() | Multiply(Single, FloatUpperTriMatrix) |
Multiply a scalar and an upper triangular matrix.
|
![]() ![]() | Multiply(FloatUpperTriMatrix, FloatUpperTriMatrix) |
Multiply two upper triangular matrices.
|
![]() ![]() | Multiply(FloatUpperTriMatrix, Single) |
Multiply an upper triangular matrix and a scalar.
|
![]() ![]() | Negate |
Negation operator.
|
![]() | OnDeserialized |
Checks that the matrix is square following deserialization
|
![]() | Resize |
Changes the order of this matrix to that specified, adding zeros or truncating as
necessary.
|
![]() | ShallowCopy |
Creates a shallow copy of this matrix.
|
![]() ![]() | Subtract(Single, FloatUpperTriMatrix) |
Subtracts an upper triangular matrix from a scalar.
|
![]() ![]() | Subtract(FloatUpperTriMatrix, FloatUpperTriMatrix) |
Subtracts one upper triangular matrix from another.
|
![]() ![]() | Subtract(FloatUpperTriMatrix, Single) |
Subtracts a scalar from an upper triangular matrix.
|
![]() ![]() | ToCommaSeparated |
Returns a formatted string representation of this matrix using tabs
and newlines.
|
![]() ![]() | ToCommaSeparated(String) |
Returns a formatted string representation of this matrix using tabs
and newlines. Numbers are formatted using the specified format string.
|
![]() | ToGeneralMatrix |
Converts this triangular matrix to a general matrix.
|
![]() ![]() | ToString |
Returns a formatted string representation of this matrix.
(Overrides ObjectToString.) |
![]() ![]() | ToString(String) |
Returns a formatted string representation of this matrix. Numbers are displayed
using the specified format.
|
![]() ![]() | ToTabDelimited |
Returns a formatted string representation of this matrix using tabs
and newlines.
|
![]() ![]() | ToTabDelimited(String) |
Returns a formatted string representation of this matrix using tabs
and newlines. Numbers are formatted using the specified format string.
|
![]() | Transpose |
Transposes this matrix.
|
Name | Description | |
---|---|---|
![]() ![]() | Addition(Single, FloatUpperTriMatrix) |
Adds a scalar and an upper triangular matrix.
|
![]() ![]() | Addition(FloatUpperTriMatrix, FloatUpperTriMatrix) |
Adds two upper triangular matrices.
|
![]() ![]() | Addition(FloatUpperTriMatrix, Single) |
Adds an upper triangular matrix and a scalar.
|
![]() ![]() | Division(Single, FloatUpperTriMatrix) |
Divide a scalar by an upper triangular matrix.
|
![]() ![]() | Division(FloatUpperTriMatrix, FloatUpperTriMatrix) |
Divide an upper triangular matrix by another.
|
![]() ![]() | Division(FloatUpperTriMatrix, Single) |
Divide an upper triangular matrix by a scalar.
|
![]() ![]() | Equality |
Tests for equality of two upper triangular matrices. Two matrices are equal if they
have the same dimensions and all values are equal.
|
![]() ![]() | Inequality |
Tests for inequality of two upper triangular matrices. Two matrices are equal if they
have the same dimensions and all values are equal.
|
![]() ![]() | Multiply(Single, FloatUpperTriMatrix) |
Multiply a scalar and an upper triangular matrix.
|
![]() ![]() | Multiply(FloatUpperTriMatrix, FloatUpperTriMatrix) |
Multiply two upper triangular matrices.
|
![]() ![]() | Multiply(FloatUpperTriMatrix, Single) |
Multiply an upper triangular matrix and a scalar.
|
![]() ![]() | Subtraction(Single, FloatUpperTriMatrix) |
Subtracts an upper triangular matrix from a scalar.
|
![]() ![]() | Subtraction(FloatUpperTriMatrix, FloatUpperTriMatrix) |
Subtracts one upper triangular matrix from another.
|
![]() ![]() | Subtraction(FloatUpperTriMatrix, Single) |
Subtracts a scalar from an upper triangular matrix.
|
![]() ![]() | UnaryNegation |
Negation operator.
|
![]() ![]() | UnaryPlus |
Unary + operator. Just returns the input matrix.
|
| a00 a01 a02 a03 a04 | | 0 a11 a12 a13 a14 | A = | 0 0 a22 a23 a24 | | 0 0 0 a33 a34 | | 0 0 0 0 a44 |
v = [a00 a01 a11 a02 a12 a22 a03 a13 a23 a33 a04 a14 a24 a34 a44 ]