 | FloatComplexUpperTriMatrix Class |
Class FloatComplexUpperTriMatrix represents an upper triangular matrix of single-precision
complex numbers. An upper triangular matrix is a square matrix with all elements
below the main diagonal equal to zero.
Inheritance HierarchySystemObject CenterSpace.NMath.CoreFloatComplexUpperTriMatrix Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax[SerializableAttribute]
public class FloatComplexUpperTriMatrix : ICloneable
<SerializableAttribute>
Public Class FloatComplexUpperTriMatrix
Implements ICloneable
[SerializableAttribute]
public ref class FloatComplexUpperTriMatrix : ICloneable
[<SerializableAttribute>]
type FloatComplexUpperTriMatrix =
class
interface ICloneable
end
The FloatComplexUpperTriMatrix type exposes the following members.
Constructors
Properties | 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.
|
Top
Methods | Name | Description |
---|
  | Add(FloatComplex, FloatComplexUpperTriMatrix) |
Adds a scalar and an upper triangular matrix.
|
  | Add(FloatComplexUpperTriMatrix, FloatComplex) |
Adds an upper triangular matrix and a scalar.
|
  | Add(FloatComplexUpperTriMatrix, FloatComplexUpperTriMatrix) |
Adds two upper triangular matrices.
|
 | 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(FloatComplex, FloatComplexUpperTriMatrix) |
Divide a scalar by an upper triangular matrix.
|
  | Divide(FloatComplexUpperTriMatrix, FloatComplex) |
Divide an upper triangular matrix by a scalar.
|
  | Divide(FloatComplexUpperTriMatrix, FloatComplexUpperTriMatrix) |
Divide an upper triangular matrix by another.
|
 | 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(FloatComplex, FloatComplexUpperTriMatrix) |
Multiply a scalar and an upper triangular matrix.
|
  | Multiply(FloatComplexUpperTriMatrix, FloatComplex) |
Multiply an upper triangular matrix and a scalar.
|
  | Multiply(FloatComplexUpperTriMatrix, FloatComplexUpperTriMatrix) |
Multiply two upper triangular matrices.
|
  | 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(FloatComplex, FloatComplexUpperTriMatrix) |
Subtracts an upper triangular matrix from a scalar.
|
  | Subtract(FloatComplexUpperTriMatrix, FloatComplex) |
Subtracts a scalar from an upper triangular matrix.
|
  | Subtract(FloatComplexUpperTriMatrix, FloatComplexUpperTriMatrix) |
Subtracts one upper triangular matrix from another.
|
 | ToGeneralMatrix |
Converts this triangular matrix to a general matrix.
|
  | ToString |
Returns a formatted string representation of this matrix.
ToTabDelimited ToTabDelimited(String) (Overrides ObjectToString) |
  | ToString(String) |
Returns a formatted string representation of this matrix. Numbers are displayed
using the specified format.
ToTabDelimited ToTabDelimited(String) |
  | 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.
|
Top
Operators | Name | Description |
---|
  | Addition(FloatComplex, FloatComplexUpperTriMatrix) |
Adds a scalar and an upper triangular matrix.
|
  | Addition(FloatComplexUpperTriMatrix, FloatComplex) |
Adds an upper triangular matrix and a scalar.
|
  | Addition(FloatComplexUpperTriMatrix, FloatComplexUpperTriMatrix) |
Adds two upper triangular matrices.
|
  | Division(FloatComplex, FloatComplexUpperTriMatrix) |
Divide a scalar by an upper triangular matrix.
|
  | Division(FloatComplexUpperTriMatrix, FloatComplex) |
Divide an upper triangular matrix by a scalar.
|
  | Division(FloatComplexUpperTriMatrix, FloatComplexUpperTriMatrix) |
Divide an upper triangular matrix by another.
|
  | Equality(FloatComplexUpperTriMatrix, FloatComplexUpperTriMatrix) |
Tests for equality of two upper triangular matrices. Two matrices are equal if they
have the same dimensions and all values are equal.
|
  | (FloatUpperTriMatrix to FloatComplexUpperTriMatrix) |
Implicitly converts a FloatUpperTriMatrix instance into a
FloatComplexUpperTriMatrix instance.
|
  | Inequality(FloatComplexUpperTriMatrix, FloatComplexUpperTriMatrix) |
Tests for inequality of two upper triangular matrices. Two matrices are equal if they
have the same dimensions and all values are equal.
|
  | Multiply(FloatComplex, FloatComplexUpperTriMatrix) |
Multiply a scalar and an upper triangular matrix.
|
  | Multiply(FloatComplexUpperTriMatrix, FloatComplex) |
Multiply an upper triangular matrix and a scalar.
|
  | Multiply(FloatComplexUpperTriMatrix, FloatComplexUpperTriMatrix) |
Multiply two upper triangular matrices.
|
  | Subtraction(FloatComplex, FloatComplexUpperTriMatrix) |
Subtracts an upper triangular matrix from a scalar.
|
  | Subtraction(FloatComplexUpperTriMatrix, FloatComplex) |
Subtracts a scalar from an upper triangular matrix.
|
  | Subtraction(FloatComplexUpperTriMatrix, FloatComplexUpperTriMatrix) |
Subtracts one upper triangular matrix from another.
|
  | UnaryNegation(FloatComplexUpperTriMatrix) |
Negation operator.
|
  | UnaryPlus(FloatComplexUpperTriMatrix) |
Unary + operator. Just returns the input matrix.
|
Top
Remarks
The matrix is stored in a vector column by column. For efficiency, zero elements are not stored.
For example, the following 5 by 5 upper triangular 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 |
is stored in a data vector v as:
v = [a00 a01 a11 a02 a12 a22 a03 a13 a23 a33 a04 a14 a24 a34 a44 ]
In general,
A[i,j] = v[j(j+1)/2 + i].
See Also