The DoubleSymmetricMatrix type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DoubleSymmetricMatrix(Int32) |
Constructs a DoubleSymmetricMatrix instance with the specified size.
| |
| DoubleSymmetricMatrix(DoubleMatrix) |
Constructs a square DoubleSymmetricMatrix instance by extracting the upper
triangular part of a square general matrix.
| |
| DoubleSymmetricMatrix(DoubleVector) |
Constructs a DoubleSymmetricMatrix instance using the data in the
given vector.
| |
| DoubleSymmetricMatrix(DoubleVector, Int32) |
Constructs a DoubleSymmetricMatrix instance with the specified
size, and using the data in the given vector.
|
Methods
| Name | Description | |
|---|---|---|
| Add(Double, DoubleSymmetricMatrix) |
Adds a scalar and a symmetric matrix.
| |
| Add(DoubleSymmetricMatrix, DoubleSymmetricMatrix) |
Adds two symmetric matrices.
| |
| Add(DoubleSymmetricMatrix, Double) |
Adds a symmetric matrix and a scalar.
| |
| Apply(Func<(Of <<'(Double, Double>)>>)) |
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.
| |
| Apply(Func<(Of <<'(DoubleVector, Double>)>>)) |
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.
| |
| Apply(NMathFunctions..::..DoubleUnaryFunction) | Obsolete.
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.
| |
| Apply(NMathFunctions..::..DoubleVectorDoubleFunction) | Obsolete.
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.
| |
| Apply(Func<(Of <<'(Double, Double, Double>)>>), DoubleSymmetricMatrix) |
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.
| |
| Apply(Func<(Of <<'(Double, Double, Double>)>>), Double) |
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.
| |
| Apply(Func<(Of <<'(Double, Int32, Double>)>>), 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.
| |
| Apply(NMathFunctions..::..DoubleBinaryFunction, DoubleSymmetricMatrix) | Obsolete.
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.
| |
| Apply(NMathFunctions..::..DoubleBinaryFunction, Double) | Obsolete.
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.
| |
| Apply(NMathFunctions..::..DoubleIntFunction, Int32) | Obsolete.
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.
| |
| 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(Double, DoubleSymmetricMatrix) |
Divide a scalar by a symmetric matrix.
| |
| Divide(DoubleSymmetricMatrix, DoubleSymmetricMatrix) |
Divide a symmetric matrix by another.
| |
| Divide(DoubleSymmetricMatrix, Double) |
Divide a symmetric 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 Object..::..Equals(Object).) | |
| GetHashCode |
Returns an integer hash code for this matrix.
(Overrides Object..::..GetHashCode()()()().) | |
| GetType | Gets the type of the current instance. (Inherited from Object.) | |
| LeadingSubmatrix |
Returns the k by k upper left corner of the matrix. The
matrix and the submatrix share the same data.
| |
| Multiply(Double, DoubleSymmetricMatrix) |
Multiply a scalar and a symmetric matrix.
| |
| Multiply(DoubleSymmetricMatrix, DoubleSymmetricMatrix) |
Multiply two lower symmetric matrices.
| |
| Multiply(DoubleSymmetricMatrix, Double) |
Multiply a symmetric matrix and a scalar.
| |
| Negate |
Negation operator.
| |
| 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(Double, DoubleSymmetricMatrix) |
Subtracts a symmetric matrix from a scalar.
| |
| Subtract(DoubleSymmetricMatrix, DoubleSymmetricMatrix) |
Subtracts one symmetric matrix from another.
| |
| Subtract(DoubleSymmetricMatrix, Double) |
Subtracts a scalar from a symmetric matrix.
| |
| ToCommaSeparated()()()() |
Returns a formatted string representation of this matrix using commas
and newlines.
| |
| ToCommaSeparated(String) |
Returns a formatted string representation of this matrix using commas
and newlines. Numbers are formatted using the specified format string.
| |
| ToString()()()() |
Returns a formatted string representation of this matrix.
(Overrides Object..::..ToString()()()().) | |
| 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.
| |
| Transform(Func<(Of <<'(Double, Double>)>>)) |
Modifies the elements of this matrix by applying the given unary function to
each element.
| |
| Transform(NMathFunctions..::..DoubleUnaryFunction) | Obsolete.
Modifies the elements of this matrix by applying the given unary function to
each element.
| |
| Transform(Func<(Of <<'(Double, Double, Double>)>>), DoubleSymmetricMatrix) |
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.
| |
| Transform(Func<(Of <<'(Double, Double, Double>)>>), Double) |
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.
| |
| Transform(Func<(Of <<'(Double, Int32, Double>)>>), 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.
| |
| Transform(NMathFunctions..::..DoubleBinaryFunction, DoubleSymmetricMatrix) | Obsolete.
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.
| |
| Transform(NMathFunctions..::..DoubleBinaryFunction, Double) | Obsolete.
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.
| |
| Transform(NMathFunctions..::..DoubleIntFunction, Int32) | Obsolete.
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.
| |
| Transpose |
Returns this matrix.
|
Operators
| Name | Description | |
|---|---|---|
| Addition(Double, DoubleSymmetricMatrix) |
Adds a scalar and a symmetric matrix.
| |
| Addition(DoubleSymmetricMatrix, DoubleSymmetricMatrix) |
Adds two symmetric matrices.
| |
| Addition(DoubleSymmetricMatrix, Double) |
Adds a symmetric matrix and a scalar.
| |
| Decrement |
Decrements each element of the given matrix.
| |
| Division(Double, DoubleSymmetricMatrix) |
Divide a scalar by a symmetric matrix.
| |
| Division(DoubleSymmetricMatrix, DoubleSymmetricMatrix) |
Divide a symmetric matrix by another.
| |
| Division(DoubleSymmetricMatrix, Double) |
Divide a symmetric matrix by a scalar.
| |
| Equality |
Tests for equality of two symmetric matrices. Two matrices are equal if they
have the same order and all values are equal.
| |
| ImplicitWideningImplicitImplicitImplicit(FloatSymmetricMatrix to DoubleSymmetricMatrix) |
Implicitly converts a FloatSymmetricMatrix instance into a
DoubleSymmetricMatrix instance.
| |
| Increment |
Increments each element of the given matrix.
| |
| Inequality |
Tests for inequality of two symmetric matrices. Two matrices are equal if they
have the same order and all values are equal.
| |
| Multiply(Double, DoubleSymmetricMatrix) |
Multiply a scalar and a symmetric matrix.
| |
| Multiply(DoubleSymmetricMatrix, DoubleSymmetricMatrix) |
Multiply two lower symmetric matrices.
Multiply two lower symmetric matrices.
| |
| Multiply(DoubleSymmetricMatrix, Double) |
Multiply a symmetric matrix and a scalar.
| |
| Subtraction(Double, DoubleSymmetricMatrix) |
Subtracts a symmetric matrix from a scalar.
| |
| Subtraction(DoubleSymmetricMatrix, DoubleSymmetricMatrix) |
Subtracts one symmetric matrix from another.
| |
| Subtraction(DoubleSymmetricMatrix, Double) |
Subtracts a scalar from a symmetric matrix.
| |
| UnaryNegation |
Negation operator.
| |
| UnaryPlus |
Unary + operator. Just returns the input matrix.
|
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. Symmetry is maintained.
| |
| Order |
Gets the order of the matrix.
| |
| Rows |
Gets the number of rows in the matrix.
|