Constant Matrix<T> Class
Represents a matrix whose components all have the same value..
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
[SerializableAttribute]
public class ConstantMatrix<T> : Matrix<T>
- Inheritance
- Object → LinearOperator<T> → Matrix<T> → ConstantMatrix<T>
Type Parameters
- T
Remarks
Use the ConstantMatrix<T> class to represent a matrix whose only nonzero components lie on a diagonal.
Constructors
Constant | Constructs a new ConstantMatrix<T>. |
Properties
Can |
Gets whether the matrix can be reshaped into a vector or a matrix.
(Overrides Matrix<T>.CanReshape) |
Column |
Gets the number of columns in the matrix.
(Inherited from LinearOperator<T>) |
Column |
Gets or sets the index of labels for the columns of the matrix.
(Inherited from LinearOperator<T>) Preliminary |
Columns |
Gets the ColumnCollection<T> for this instance.
(Inherited from Matrix<T>) |
Columnwise |
Enumerates the elements of the matrix column by column.
(Inherited from Matrix<T>) |
Element |
Gets a value indicating the order in which the matrix
elements are stored.
(Inherited from Matrix<T>) |
Element |
Gets the element type of the matrix.
(Inherited from LinearOperator<T>) |
IsHermitian |
Gets a value that indicates if the matrix is Hermitian about the main diagonal.
(Inherited from Matrix<T>) |
IsImmutable |
Gets whether the elements of the matrix are immutable.
(Inherited from Matrix<T>) |
IsLower |
Gets a value that indicates if all elements of the matrix above the main diagonal are zero.
(Inherited from Matrix<T>) |
IsRead |
Gets whether the matrix can be written to.
(Inherited from Matrix<T>) |
IsSparse |
Gets a value that indicates whether the matrix is sparse.
(Overrides Matrix<T>.IsSparse) |
IsSymmetrical |
Gets a value that indicates if the matrix is symmetrical about the main diagonal.
(Inherited from Matrix<T>) |
IsUnit |
Gets whether all diagonal elements
of this instance are equal to 1.
(Inherited from Matrix<T>) |
IsUpper |
Gets a value that indicates if all elements of the matrix below the main diagonal are zero.
(Inherited from Matrix<T>) |
Item[Func<T, Boolean>, Int32] |
Gets or sets the elements of a column of the matrix that meet the specified condition.
(Inherited from Matrix<T>) |
Item[IEnumerable<Int32>, Range] |
Gets or sets the elements of a matrix with the specified row indexes and column range.
(Inherited from Matrix<T>) |
Item[IEnumerable<Int32>, IEnumerable<Int32>] |
Gets or sets the elements of a matrix with the specified row and column indexes.
(Inherited from Matrix<T>) |
Item[IEnumerable<Int32>, Int32] |
Gets or sets the elements of a column with the specified indexes.
(Inherited from Matrix<T>) |
Item[IEnumerable<Int32>, Range] |
Gets or sets the elements of a matrix with the specified row indexes and column range.
(Inherited from Matrix<T>) |
Item[Index, Index] |
Gets or sets the specified element in this
matrix.
(Inherited from Matrix<T>) |
Item[Index, Range] |
Gets or sets the elements of a row of this matrix.
(Inherited from Matrix<T>) |
Item[Int32, Range] |
Gets or sets the elements of a row of this matrix.
(Inherited from Matrix<T>) |
Item[Int32, Vector<Boolean>] |
Gets or sets the elements of a row of this matrix.
(Inherited from Matrix<T>) |
Item[Int32, IEnumerable<Int32>] |
Gets or sets the elements of a row with the specified indexes.
(Inherited from Matrix<T>) |
Item[Int32, Func<T, Boolean>] |
Gets or sets the elements of a row of the matrix that meet the specified condition.
(Inherited from Matrix<T>) |
Item[Int32, Int32] |
Gets or sets the specified element in this
matrix.
(Inherited from Matrix<T>) |
Item[Range, Range] |
Gets or sets the elements of a sub-matrix of this matrix.
(Inherited from Matrix<T>) |
Item[Range, IEnumerable<Int32>] |
Gets or sets the elements of a matrix with the specified row range and column indexes.
(Inherited from Matrix<T>) |
Item[Range, Int32] |
Gets or sets the elements of a column of this matrix.
(Inherited from Matrix<T>) |
Item[Range, IEnumerable<Int32>] |
Gets or sets the elements of a matrix with the specified row range and column indexes.
(Inherited from Matrix<T>) |
Item[Range, Index] |
Gets or sets the elements of a column of this matrix.
(Inherited from Matrix<T>) |
Item[Range, Range] |
Gets or sets the elements of a sub-matrix of this matrix.
(Inherited from Matrix<T>) |
Item[Vector<Boolean>, Int32] |
Gets or sets the elements of a column of this matrix.
(Inherited from Matrix<T>) |
Matrix |
Gets whether all diagonal elements
of this instance are structurally equal to 1.
(Inherited from Matrix<T>) |
Matrix |
Gets a value that indicates whether a triangular matrix
is upper or lower triangular.
(Inherited from Matrix<T>) |
Nonzero |
Gets a collection of the nonzero elements of the matrix.
(Inherited from Matrix<T>) |
Precedence |
Infrastructure. This property supports the Numerics.NET
infrastructure and is not intended to be used directly from your code.
(Overrides Matrix<T>.Precedence) |
Read |
If available, gets a read-only 2D span over the elements of the matrix.
(Inherited from Matrix<T>) |
Row |
Gets the number of rows in the matrix.
(Inherited from LinearOperator<T>) |
Row |
Gets or sets the index of labels for the rows of the matrix.
(Inherited from LinearOperator<T>) Preliminary |
Rows |
Gets the RowCollection<T> for this instance.
(Inherited from Matrix<T>) |
Rowwise |
Enumerates the elements of the matrix column by column.
(Inherited from Matrix<T>) |
Structure |
Gets a value that indicates the structure of the sparse matrix.
(Inherited from Matrix<T>) |
Unsafe |
If available, gets a 2D span over the elements of the matrix.
(Inherited from Matrix<T>) |
Unsafe |
If available, gets a 2D memory block over the elements of the matrix.
(Inherited from Matrix<T>) |
Writable |
Enumerates the writable elements of the matrix column by column.
(Inherited from Matrix<T>) |
Methods
Abs |
Computes the absolute value of the elements of a matrix.
(Inherited from Matrix<T>) |
Abs |
Computes the absolute value of the elements of a matrix in-place.
(Inherited from Matrix<T>) |
Absolute |
Returns the value of the element in this
matrix that has the largest absolute
value.
(Overrides Matrix<T>.AbsoluteMax()) |
Absolute |
Returns the value of the element in this
matrix that has the smallest absolute
value.
(Overrides Matrix<T>.AbsoluteMin()) |
Acos |
Computes the inverse cosine of the elements of a matrix.
(Inherited from Matrix<T>) |
Acosh |
Computes the inverse hyperbolic cosine of the elements of a matrix.
(Inherited from Matrix<T>) |
Acosh |
Computes the inverse hyperbolic cosine of the elements of a matrix in-place.
(Inherited from Matrix<T>) |
Acos |
Computes the inverse cosine of the elements of a matrix in-place.
(Inherited from Matrix<T>) |
Add |
Adds a scalar to a matrix in-place.
(Inherited from Matrix<T>) |
Add |
Adds two matrices.
(Inherited from Matrix<T>) |
Add |
Adds a scalar to a matrix.
(Inherited from Matrix<T>) |
Add |
Adds another matrix to this matrix in-place.
(Inherited from Matrix<T>) |
Add |
Adds a vector broadcast along the specified dimension to this matrix in-place.
(Inherited from Matrix<T>) |
Add |
Adds the product of two matrices to this matrix.
(Inherited from Matrix<T>) |
Add |
Adds the product of two matrices to this matrix.
(Inherited from Matrix<T>) |
Add |
Adds two matrices.
(Overrides Matrix<T>.AddScaledAsLeftCore(T, Matrix<T>, Matrix<T>)) |
Add |
Adds a matrix and a vector broadcast along the specified dimension.
(Inherited from Matrix<T>) |
Add |
Adds a multiple of a matrix to this instance
and returns the result.
(Inherited from Matrix<T>) |
Add |
Adds two matrices.
(Overrides Matrix<T>.AddScaledAsRightCore(Matrix<T>, T, Matrix<T>)) |
Add |
Adds a matrix and a vector broadcast along the specified dimension.
(Inherited from Matrix<T>) |
Add |
Adds a scaled matrix to this matrix.
(Inherited from Matrix<T>) |
Add |
Adds a multiple of the scaled product of two matrices to this matrix.
(Inherited from Matrix<T>) |
Add |
Adds the scaled product of two matrices to another matrix.
(Inherited from Matrix<T>) |
Aggregate |
Applies the specified aggregator to all the columns in the matrix.
(Inherited from Matrix<T>) |
Aggregate |
Applies the specified aggregator to all the columns in the matrix.
(Inherited from Matrix<T>) |
Aggregate |
Applies the specified aggregator to all the columns in the matrix.
(Inherited from Matrix<T>) |
Aggregate |
Applies the specified aggregators to all the columns in the matrix.
(Inherited from Matrix<T>) |
Aggregate |
Applies the specified aggregators to all the columns in the matrix.
(Inherited from Matrix<T>) |
Aggregate |
Returns a new matrix that aggregates the columns according to the specified grouping.
(Inherited from Matrix<T>) |
Aggregate |
Returns a new matrix that aggregates the columns according to the specified grouping.
(Inherited from Matrix<T>) |
Aggregate |
Returns a new matrix that aggregates the columns grouped by the specified vector.
(Inherited from Matrix<T>) |
Aggregate |
Applies the specified aggregator to all the columns in the matrix,
treating rows that contain any missing values as completely missing.
(Inherited from Matrix<T>) |
Aggregate |
Applies the specified aggregator to all the columns in the matrix,
treating rows that contain any missing values as completely missing.
(Inherited from Matrix<T>) |
Aggregate |
Applies the specified aggregator to all the rows in the matrix.
(Inherited from Matrix<T>) |
Aggregate |
Applies the specified aggregator to all the rows in the matrix.
(Inherited from Matrix<T>) |
Aggregate |
Applies the specified aggregator to all the rows in the matrix.
(Inherited from Matrix<T>) |
Aggregate |
Applies the specified aggregators to all the rows in the matrix.
(Inherited from Matrix<T>) |
Aggregate |
Applies the specified aggregators to all the rows in the matrix.
(Inherited from Matrix<T>) |
Aggregate |
Returns a new matrix that aggregates the rows according to the specified grouping.
(Inherited from Matrix<T>) |
Aggregate |
Returns a new matrix that aggregates the rows according to the specified grouping.
(Inherited from Matrix<T>) |
Aggregate |
Returns a new matrix that aggregates the rows grouped by the specified row.
(Inherited from Matrix<T>) |
Aggregate |
Returns a new matrix that aggregates the rows grouped by the specified vector.
(Inherited from Matrix<T>) |
Aggregate |
Applies the specified aggregation function to the values
in each row grouped by the specified grouping row.
(Inherited from Matrix<T>) |
AsDense |
Returns this matrix as a dense matrix.
(Inherited from Matrix<T>) |
AsHermitian |
Returns a matrix as a HermitianMatrix<T>,
or null if the matrix is not hermitian.
(Inherited from Matrix<T>) |
AsHermitian |
Returns a HermitianMatrix<T> extracted from a part of the matrix.
(Inherited from Matrix<T>) |
Asin |
Computes the inverse sine of the elements of a matrix.
(Inherited from Matrix<T>) |
Asinh |
Computes the inverse hyperbolic sine of the elements of a matrix.
(Inherited from Matrix<T>) |
Asinh |
Computes the inverse hyperbolic sine of the elements of a matrix in-place.
(Inherited from Matrix<T>) |
Asin |
Computes the inverse sine of the elements of a matrix in-place.
(Inherited from Matrix<T>) |
AsSymmetric |
Returns a matrix as a SymmetricMatrix<T>,
or null if the matrix is not symmetrical.
(Inherited from Matrix<T>) |
AsSymmetric |
Returns a SymmetricMatrix<T> extracted from a part of the matrix.
(Inherited from Matrix<T>) |
Atan2As |
Computes the four-quadrant inverse tangent of the corresponding elements of
two matrices.
(Inherited from Matrix<T>) |
Atan2As |
Computes the four-quadrant inverse tangent of the elements of a matrix.
(Inherited from Matrix<T>) |
Atan |
Computes the inverse tangent of the elements of a matrix.
(Inherited from Matrix<T>) |
Atanh |
Computes the inverse hyperbolic tangent of the elements of a matrix.
(Inherited from Matrix<T>) |
Atanh |
Computes the inverse hyperbolic tangent of the elements of a matrix in-place.
(Inherited from Matrix<T>) |
Atan |
Computes the inverse tangent of the elements of a matrix in-place.
(Inherited from Matrix<T>) |
Ceiling |
Computes the smallest integer greater than or equal to the elements of a matrix.
(Inherited from Matrix<T>) |
Ceiling |
Computes the smallest integer greater than or equal to the elements of a matrix in-place.
(Inherited from Matrix<T>) |
Clone() |
Constructs a deep copy of this matrix.
(Inherited from Matrix<T>) |
Clone( |
Makes a copy of this vector using the specified
method.
(Inherited from Matrix<T>) |
Clone |
Gives this instance its own copy of its elements.
(Overrides Matrix<T>.CloneData()) |
Clone |
Creates a new matrix that has the same number of rows and columns
and optionally preserves the writable structure.
(Inherited from Matrix<T>) |
Conjugate |
Returns the transpose of this instance.
(Inherited from Matrix<T>) |
Conjugate |
Conjugates the elements of a matrix.
(Inherited from Matrix<T>) |
Conjugate |
Conjugates all elements of a matrix in-place.
(Inherited from Matrix<T>) |
Conjugate |
Returns the transpose of this instance.
(Inherited from Matrix<T>) |
Copy |
Copies the elements of this matrix
to another matrix.
(Inherited from Matrix<T>) |
Copy |
Copies the elements of this matrix
to another matrix.
(Inherited from Matrix<T>) |
Copy |
Copies the elements of this matrix
to another matrix.
(Inherited from Matrix<T>) |
Copy |
Copies the elements of this vector to another matrix, if it exists;
otherwise clones the matrix using the specified method.
(Inherited from Matrix<T>) |
Cos |
Computes the cosine of the elements of a matrix.
(Inherited from Matrix<T>) |
Cosh |
Computes the hyperbolic cosine of the elements of a matrix.
(Inherited from Matrix<T>) |
Cosh |
Computes the hyperbolic cosine of the elements of a matrix in-place.
(Inherited from Matrix<T>) |
Cos |
Computes the cosine of the elements of a matrix in-place.
(Inherited from Matrix<T>) |
Dispose() |
Releases unmanaged resources.
(Inherited from Matrix<T>) |
Dispose( |
Releases unmanaged resources.
(Inherited from Matrix<T>) |
Divide |
Divides a matrix in-place by a scalar.
(Inherited from Matrix<T>) |
Elementwise |
Multiplies two vectors element-wise.
(Inherited from Matrix<T>) |
Elementwise |
Multiplies two vectors element-wise.
(Inherited from Matrix<T>) |
Elementwise |
Divides two matrices element-wise.
(Inherited from Matrix<T>) |
Elementwise |
Divides two matrices element-wise.
(Overrides Matrix<T>.ElementwiseDivideAsRightCore(Matrix<T>, Matrix<T>)) |
Elementwise |
Divides this matrix in-place element-wise by another matrix.
(Inherited from Matrix<T>) |
Elementwise |
Multiplies two matrices element-wise.
(Overrides Matrix<T>.ElementwiseMultiplyCore(Matrix<T>, Matrix<T>)) |
Elementwise |
Multiplies this matrix in-place element-wise by another matrix.
(Inherited from Matrix<T>) |
Elementwise |
Raises the elements of a matrix to a power
from the corresponding elements in another matrix.
(Inherited from Matrix<T>) |
Elementwise |
Raises the elements of a matrix to a power
from the corresponding elements in another matrix.
(Inherited from Matrix<T>) |
Elementwise |
Raises two vectors element-wise.
(Inherited from Matrix<T>) |
Elementwise |
Raises the elements of a vector, broadcast along the specified dimension
to the power from the corresponding element in a matrix.
(Inherited from Matrix<T>) |
Elementwise |
Raises the element of a matrix to a constant power.
(Inherited from Matrix<T>) |
Elementwise |
Raises the element of a matrix to a constant power.
(Inherited from Matrix<T>) |
Elementwise |
Raises the elements of a matrix in-place to a constant power.
(Inherited from Matrix<T>) |
Elementwise |
Raises the elements of a matrix in-place to a constant power.
(Inherited from Matrix<T>) |
Elementwise |
Raises this matrix in-place element-wise by another matrix.
(Inherited from Matrix<T>) |
Elementwise |
Raises this matrix in-place element-wise by a vector broadcast along the specified dimension.
(Inherited from Matrix<T>) |
Ensure |
Ensures that the element at the specified index in the vector can be written to.
(Inherited from Matrix<T>) |
Ensure |
Ensures that the element at the specified index in the vector can be written to.
(Inherited from Matrix<T>) |
Ensure |
Ensures that the element at the specified index in the vector can be written to.
(Inherited from Matrix<T>) |
Equals( |
Determines whether the specified Matrix<T>
is equal to the current Matrix<T>.
(Inherited from Matrix<T>) |
Equals( |
Determines whether the specified Object
is equal to the current Matrix<T>.
(Inherited from Matrix<T>) |
Equals( |
Returns whether an object is structurally equal to this instance.
(Inherited from Matrix<T>) |
Equal |
Checks if the elements of one matrix are equal to a constant.
(Inherited from Matrix<T>) |
Equal |
Checks if the elements of one matrix are equal to
the corresponding elements of another matrix.
(Inherited from Matrix<T>) |
Estimate |
Calculates an estimate for the condition
number of this matrix.
(Overrides Matrix<T>.EstimateConditionNumber()) |
Exp |
Computes the exponential of the elements of a matrix.
(Inherited from Matrix<T>) |
Exp |
Computes the exponential of the elements of a matrix in-place.
(Inherited from Matrix<T>) |
Fill |
Replaces all missing values in a matrix with the specified value in-place.
(Inherited from Matrix<T>) |
Fill |
Replaces all missing values in each row or column in-place with the previous or next non-missing value.
(Inherited from Matrix<T>) |
Fill |
Replaces all missing values in each row or column of a matrix in-place with the corresponding value
from a vector.
(Inherited from Matrix<T>) |
Fill |
Replaces all missing values in a matrix with the specified value.
(Inherited from Matrix<T>) |
Fill |
Replaces all missing values in each row or column with the corresponding value
from a vector.
(Inherited from Matrix<T>) |
Fill |
Replaces all missing values in each row or column with the previous or next non-missing value.
(Inherited from Matrix<T>) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
Floor |
Computes the largest integer less than or equal to the elements of a matrix.
(Inherited from Matrix<T>) |
Floor |
Computes the largest integer less than or equal to the elements of a matrix in-place.
(Inherited from Matrix<T>) |
Frobenius |
Returns the Frobenius norm of this matrix.
(Inherited from Matrix<T>) |
Get<R, C> |
Gets the value with the specified key.
(Inherited from Matrix<T>) |
Get |
Returns the Cholesky decomposition of the matrix.
(Inherited from Matrix<T>) |
Get |
Returns the Cholesky decomposition of the matrix.
(Inherited from Matrix<T>) |
Get |
Returns a column vector for this instance
that points at the specified column.
(Inherited from Matrix<T>) |
Get |
Returns a column vector for this instance
that points at the specified column.
(Inherited from Matrix<T>) |
Get |
Returns a column vector for this instance
starting at the specified column and row and of the
specified length.
(Inherited from Matrix<T>) |
Get |
Returns a column vector for this instance
starting at the specified column and row and of the
specified length.
(Inherited from Matrix<T>) |
Get |
Returns a column vector for this instance
starting at the specified column and row and of the
specified length.
(Inherited from Matrix<T>) |
Get |
Returns a column vector for this instance
starting at the specified column and row and of the
specified length.
(Inherited from Matrix<T>) |
Get |
Gets the column with the specified column key.
(Inherited from Matrix<T>) |
Get |
Returns a column vector for this instance
starting at the specified column and row and of the
specified length.
(Overrides Matrix<T>.GetColumnCore(Int32, Slice, Intent)) |
Get |
Returns an enumerator that allows you to
iterate over the columns of this instance.
(Inherited from Matrix<T>) |
Get |
Returns a new matrix that contains only the columns
in the specified sequence.
(Inherited from Matrix<T>) |
Get |
Returns a matrix that contains only the specified columns
of the current matrix.
(Inherited from Matrix<T>) |
Get |
Returns the sums of the elements of each column of the matrix.
(Overrides Matrix<T>.GetColumnSums()) |
Get |
Calculates an estimate for the condition
number of this matrix.
(Overrides Matrix<T>.GetConditionNumber()) |
Get |
Calculates the determinant of this matrix.
(Overrides Matrix<T>.GetDeterminant()) |
Get |
Gets a vector view of the diagonal elements
of this instance.
(Inherited from Matrix<T>) |
Get |
Gets a vector view of the specified diagonal
of this instance.
(Inherited from Matrix<T>) |
Get |
Gets a vector view of the specified diagonal
of this instance.
(Overrides Matrix<T>.GetDiagonal(Int32, Intent)) |
Get |
Returns the eigenvalue decomposition for this matrix.
(Inherited from Matrix<T>) |
Get |
Returns the eigenvalue decomposition for this matrix.
(Inherited from Matrix<T>) |
Get |
Returns the generalized eigenvalue decomposition for this matrix
and another matrix.
(Inherited from Matrix<T>) |
Get |
Returns the generalized eigenvalue decomposition for this matrix
and another matrix.
(Inherited from Matrix<T>) |
Get |
Computes the matrix exponential of a square matrix.
(Inherited from Matrix<T>) |
Get |
Returns the hash code for this instance.
(Inherited from Matrix<T>) |
Get |
Returns a hash code for this instance.
(Inherited from Matrix<T>) |
Get |
Returns the Hermitian indefinite (Bunch-Kaufman) decomposition of the matrix.
(Inherited from Matrix<T>) |
Get |
Returns the Hermitian indefinite (Bunch-Kaufman) decomposition of the matrix.
(Inherited from Matrix<T>) |
Get |
Calculates the inverse matrix..
(Inherited from LinearOperator<T>) |
Get |
Calculates the inverse of this matrix.
(Overrides Matrix<T>.GetInverse(Boolean)) |
Get |
Returns the LQ decomposition of the matrix.
(Inherited from Matrix<T>) |
Get |
Returns the LQ decomposition of the matrix.
(Inherited from Matrix<T>) |
Get |
Returns the LU decomposition of the matrix.
(Inherited from Matrix<T>) |
Get |
Returns the LU decomposition of the matrix.
(Inherited from Matrix<T>) |
Get |
Gets the column nearest to the specified column key.
(Inherited from Matrix<T>) |
Get |
Returns a new matrix that contains only the columns
in the specified sequence.
(Inherited from Matrix<T>) |
Get |
Gets the row nearest to the specified row key.
(Inherited from Matrix<T>) |
Get |
Returns a new matrix that contains only the rows
in the specified sequence.
(Inherited from Matrix<T>) |
Get |
Populates a SerializationInfo with the values
needed to serialize the target object.
(Inherited from Matrix<T>) Obsolete. |
Get |
Returns a partitioner that allows you to iterate over the rows of
this instance in parallel.
(Inherited from Matrix<T>) |
Get |
Returns a partitioner that allows you to iterate over the rows of
this instance in parallel.
(Inherited from Matrix<T>) |
Get |
Calculates the Moore-Penrose pseudo-inverse of this matrix.
(Inherited from Matrix<T>) |
Get |
Returns the QL decomposition of the matrix.
(Inherited from Matrix<T>) |
Get |
Returns the QL decomposition of the matrix.
(Inherited from Matrix<T>) |
Get |
Returns the QR decomposition of the matrix.
(Inherited from Matrix<T>) |
Get |
Returns the QR decomposition of the matrix.
(Inherited from Matrix<T>) |
Get |
Returns a row vector for this instance
that points at the specified row.
(Inherited from Matrix<T>) |
Get |
Returns a row vector for this instance
that points at the specified row.
(Inherited from Matrix<T>) |
Get |
Returns a row vector for this instance
starting at the specified row and column and of the
specified length.
(Inherited from Matrix<T>) |
Get |
Returns a row vector for this instance
over the specified range.
(Inherited from Matrix<T>) |
Get |
Returns a row vector for this instance
over the specified range.
(Inherited from Matrix<T>) |
Get |
Returns a row vector for this instance
starting at the specified row and column and of the
specified length.
(Inherited from Matrix<T>) |
Get |
Returns a row vector for this instance
starting at the specified row and column and of the
specified length.
(Inherited from Matrix<T>) |
Get |
Gets the row with the specified row key.
(Inherited from Matrix<T>) |
Get |
Returns a row vector for this instance
starting at the specified row and column and of the
specified length.
(Overrides Matrix<T>.GetRowCore(Int32, Slice, Intent)) |
Get |
Returns an enumerator that allows you to
iterate over the rows of this instance.
(Inherited from Matrix<T>) |
Get |
Returns a matrix containing only the rows in the specified subset.
(Inherited from Matrix<T>) |
Get |
Returns a matrix that contains only the specified rows
of the current matrix.
(Inherited from Matrix<T>) |
Get |
Returns a new matrix that contains only the rows
in the specified sequence.
(Inherited from Matrix<T>) |
Get |
Returns the sums of the elements of each row of the matrix.
(Overrides Matrix<T>.GetRowSums()) |
Get |
Returns the RQ decomposition of the matrix.
(Inherited from Matrix<T>) |
Get |
Returns the RQ decomposition of the matrix.
(Inherited from Matrix<T>) |
Get |
Returns the Schur decomposition for this matrix.
(Inherited from Matrix<T>) |
Get |
Returns the Schur decomposition for this matrix.
(Inherited from Matrix<T>) |
Get |
Returns the generalized Schur decomposition (QZ decomposition) for this matrix
and a secondary matrix.
(Inherited from Matrix<T>) |
Get |
Returns the generalized Schur decomposition (QZ decomposition) for this matrix
and a secondary matrix.
(Inherited from Matrix<T>) |
Get |
Returns the singular value decomposition of the matrix.
(Inherited from Matrix<T>) |
Get |
Returns the generalized singular value decomposition of the matrix
and another matrix.
(Inherited from Matrix<T>) |
Get |
Returns the singular value decomposition of the matrix.
(Inherited from Matrix<T>) |
Get |
Returns the generalized singular value decomposition of the matrix
and another matrix.
(Inherited from Matrix<T>) |
Get |
Returns the singular value decomposition of the matrix.
(Inherited from Matrix<T>) |
Get |
Returns the generalized singular value decomposition of the matrix
and another matrix.
(Inherited from Matrix<T>) |
Get |
Gets a vector containing the singular values of the matrix.
(Inherited from Matrix<T>) |
Get |
Returns a sub-matrix of
this instance.
(Inherited from Matrix<T>) |
Get |
Returns a sub-matrix of this instance.
(Inherited from Matrix<T>) |
Get |
Returns a sub-matrix of
this instance.
(Inherited from Matrix<T>) |
Get |
Returns a sub-matrix of
this instance.
(Inherited from Matrix<T>) |
Get |
Returns a sub-matrix of this matrix.
(Overrides Matrix<T>.GetSubmatrixCore(Slice, Slice, TransposeOperation, Intent)) |
Get |
Returns the symmetric indefinite (Bunch-Kaufman) decomposition of the matrix.
(Inherited from Matrix<T>) |
Get |
Returns the symmetric indefinite (Bunch-Kaufman) decomposition of the matrix.
(Inherited from Matrix<T>) |
Get | Gets the Type of the current instance. (Inherited from Object) |
Get |
Gets the matrix component at the specified position.
(Overrides Matrix<T>.GetValue(Int32, Int32)) |
Get |
Gets the value at the specified row and column keys.
(Inherited from Matrix<T>) Preliminary |
Get |
Infrastructure.
(Inherited from Matrix<T>) Preliminary |
Greater |
Checks if the elements of one matrix are greater than a constant.
(Inherited from Matrix<T>) |
Greater |
Checks if the elements of one matrix are greater than the corresponding elements
of another matrix.
(Inherited from Matrix<T>) |
Greater |
Checks if the elements of one matrix are greater than or equal to a constant.
(Inherited from Matrix<T>) |
Greater |
Checks if the elements of one matrix are greater than or equal to
the corresponding elements of another matrix.
(Inherited from Matrix<T>) |
Hypot |
Computes the square root of the sum of the squared corresponding elements
of this matrix and another matrix.
(Inherited from Matrix<T>) |
Infinity |
Returns the infinity norm of this matrix.
(Inherited from Matrix<T>) |
IsElement |
Returns a value that indicates whether the value of the element at
the specified row and column can be changed.
(Overrides Matrix<T>.IsElementWritable(Int32, Int32)) |
IsMissing |
Returns whether the value at the specified index is missing.
(Inherited from Matrix<T>) |
IsSingular |
Gets whether this matrix is singular.
(Overrides Matrix<T>.IsSingular()) |
Least |
Solves the system of linear equations for the specified
right-hand side matrix in the least squares sense.
(Inherited from LinearOperator<T>) |
Least |
Solves the system of linear equations for the specified
right-hand side vector.
(Inherited from LinearOperator<T>) |
Least |
Solves the system of linear equations for the specified
right-hand side dense matrix in the least squares sense and optionally overwrites the
right-hand side with the solution.
(Inherited from LinearOperator<T>) |
Least |
Solves the system of linear equations for the specified
right-hand side dense vector in the least squares sense and optionally
overwrites the right-hand side with the solution.
(Inherited from LinearOperator<T>) |
Least |
Solves a system of equations defined by the matrix and multiple right-hand sides in the least squares sense.
(Inherited from Matrix<T>) |
Least |
Solves a system of equations defined by the matrix and the specified right-hand side in the least squares sense.
(Inherited from Matrix<T>) |
Less |
Checks if the elements of one matrix are less than a constant.
(Inherited from Matrix<T>) |
Less |
Checks if the elements of one matrix are greater than the corresponding elements
of another matrix.
(Inherited from Matrix<T>) |
Less |
Checks if the elements of one matrix are less than or equal to a constant.
(Inherited from Matrix<T>) |
Less |
Checks if the elements of one matrix are greater than or equal to
the corresponding elements of another matrix.
(Inherited from Matrix<T>) |
Log10Core |
Computes the base 10 logarithm of the elements of a matrix.
(Inherited from Matrix<T>) |
Log10In |
Computes the logarithm of the elements of a matrix in-place.
(Inherited from Matrix<T>) |
Log |
Computes the logarithm of the elements of a matrix.
(Inherited from Matrix<T>) |
Log |
Computes the logarithm of the elements of a matrix.
(Inherited from Matrix<T>) |
Log |
Computes the logarithm of the elements of a matrix in-place.
(Inherited from Matrix<T>) |
Log |
Computes the logarithm of the elements of a matrix in-place.
(Inherited from Matrix<T>) |
Map |
Applies a function to the corresponding elements of two matrices.
(Inherited from Matrix<T>) |
Map |
Applies a function to the corresponding elements of a matrix and a vector broadcast
along the specified dimension.
(Inherited from Matrix<T>) |
Map |
Applies a function to the corresponding elements of two matrices.
(Inherited from Matrix<T>) |
Map |
Applies a function to the corresponding elements of a matrix and a vector broadcast
along the specified dimension.
(Inherited from Matrix<T>) |
Map |
Applies a vector function to each column in a matrix
and returns the result as a matrix.
(Inherited from Matrix<T>) |
Map |
Applies a function to each column in a matrix in-place.
(Inherited from Matrix<T>) |
Map |
Applies a vector function to each column in a matrix
and returns the result as a matrix.
(Inherited from Matrix<T>) |
Map |
Applies a function in-place to the elements of a matrix.
(Inherited from Matrix<T>) |
Map |
Applies a function to the elements of a matrix.
(Inherited from Matrix<T>) |
Map |
Applies a function to the elements of a matrix.
(Inherited from Matrix<T>) |
Map |
Applies a vector function to each row in a matrix
and returns the result as a matrix.
(Inherited from Matrix<T>) |
Map |
Applies a function to each column in a matrix and returns the result as a vector.
(Inherited from Matrix<T>) |
Map |
Applies a vector function to each row in a matrix
and returns the result as a matrix.
(Inherited from Matrix<T>) |
Max |
Returns the value of the largest element in this
matrix.
(Inherited from Matrix<T>) |
Max |
Returns a matrix whose elements are the maximum of the components of a matrix
and a real number.
(Inherited from Matrix<T>) |
Max |
Returns a matrix whose elements are the maximums of the components of two vectors.
(Inherited from Matrix<T>) |
Memberwise | Creates a shallow copy of the current Object. (Inherited from Object) |
Min |
Returns the value of the smallest element in this
matrix.
(Inherited from Matrix<T>) |
Min |
Returns a matrix whose elements are the minimum of the components of a matrix
and a real number.
(Inherited from Matrix<T>) |
Min |
Returns a matrix whose elements are the minimums of the components of two vectors.
(Inherited from Matrix<T>) |
Multiply( | Applies the linear operator to a matrix. (Inherited from LinearOperator<T>) |
Multiply( | Applies the linear operator to a vector. (Inherited from LinearOperator<T>) |
Multiply |
Multiplies the matrix with a vector, adds the scaled result to another scaled
vector, and returns the result.
(Overrides Matrix<T>.MultiplyAndAddAsLeftFactorCore(T, Vector<T>, T, TransposeOperation, Vector<T>, Vector<T>)) |
Multiply |
Adds the scaled product of two matrices to another matrix.
(Inherited from Matrix<T>) |
Multiply |
Adds the scaled product of two matrices to another matrix.
(Inherited from Matrix<T>) |
Multiply |
Multiplies a vector by the linear operator and returns the result.
(Overrides Matrix<T>.MultiplyAsLeftCore(TransposeOperation, Vector<T>, Vector<T>)) |
Multiply |
Multiplies a matrix by the linear operator and returns the result.
(Inherited from LinearOperator<T>) |
Multiply |
Computes the scaled product of two matrices.
(Inherited from Matrix<T>) |
Multiply |
Computes the scaled product of two matrices.
(Inherited from Matrix<T>) |
Multiply |
Multiplies a matrix by a scalar.
(Overrides Matrix<T>.MultiplyCore(T, Matrix<T>)) |
Multiply |
Multiplies this matrix by a scalar factor.
(Overrides Matrix<T>.MultiplyInPlace(T)) |
Multiply | Applies the transpose of the linear operator to a matrix. (Inherited from LinearOperator<T>) |
Multiply | Applies the (conjugate) transpose of the linear operator to a vector. (Inherited from LinearOperator<T>) |
Negate |
Negates a matrix in-place.
(Inherited from Matrix<T>) |
Norm |
Calculates a matrix norm.
(Inherited from Matrix<T>) |
Not |
Checks if the elements of one matrix are not equal to a constant.
(Inherited from Matrix<T>) |
Not |
Checks if the elements of one matrix are not equal to
the corresponding elements of another matrix.
(Inherited from Matrix<T>) |
One |
Returns the 1-norm of this matrix.
(Inherited from Matrix<T>) |
Permute |
Permutes the columns of the matrix using the specified Permutation.
(Inherited from Matrix<T>) |
Permute |
Permutes the rows and columns of the matrix using the specified Permutation.
(Inherited from Matrix<T>) |
Permute |
Permutes the rows and columns of the matrix using the specified row and column Permutation.
(Inherited from Matrix<T>) |
Permute |
Permutes the rows of the matrix using the specified Permutation.
(Inherited from Matrix<T>) |
Protect |
Returns a read-only copy of the matrix.
(Inherited from Matrix<T>) |
Protect |
Protects the matrix from changes.
(Inherited from Matrix<T>) |
Rank() |
Returns the numerical rank of a matrix.
(Inherited from LinearOperator<T>) |
Rank( |
Returns the numerical rank of a matrix using the specified tolerance.
(Overrides Matrix<T>.Rank(T)) |
Reciprocal |
Computes the inverses (reciprocals) of the elements of a matrix.
(Inherited from Matrix<T>) |
Reduce<U> |
Applies a function to each row or column in a matrix and returns the result as a vector.
(Inherited from Matrix<T>) |
Reduce |
Applies a function to each column in a matrix and returns the result as a vector.
(Inherited from Matrix<T>) |
Reduce |
Applies a function to each column in a matrix and returns the result as a vector.
(Inherited from Matrix<T>) |
Reduce |
Applies a function to each row in a matrix and returns the result as a vector.
(Inherited from Matrix<T>) |
Reduce |
Applies a function to each row in a matrix and returns the result as a vector.
(Inherited from Matrix<T>) |
Remove |
Returns a new matrix that has the rows or columns that contain missing values removed.
(Inherited from Matrix<T>) |
Reshape |
Returns a matrix that contains the same elements
listed columnwise.
(Overrides Matrix<T>.Reshape(Int32, Int32)) |
Reshape |
Returns a vector that contains the columnwise matrix elements.
(Overrides Matrix<T>.ReshapeAsVector()) |
Scale |
Scales the columns of the matrix by the values specified by a vector.
(Inherited from Matrix<T>) |
Scale |
Scales the columns of the matrix by the values specified by a vector.
(Inherited from Matrix<T>) |
Scale |
Scales the rows of the matrix by the values specified by a vector.
(Inherited from Matrix<T>) |
Scale |
Scales the rows of the matrix by the values specified by a vector.
(Inherited from Matrix<T>) |
Set |
Sets all elements of the matrix to zero.
(Inherited from Matrix<T>) |
Set |
Sets all elements of the matrix to the specified value.
(Inherited from Matrix<T>) |
Set |
Sets the matrix component at the specified position to the specified value.
(Overrides Matrix<T>.SetValue(T, Int32, Int32)) |
Set |
Sets the value at the specified row and column key value.
(Inherited from Matrix<T>) Preliminary |
Shallow |
Makes a shallow copy of this matrix.
(Inherited from Matrix<T>) |
Sin |
Computes the sine of the elements of a matrix.
(Inherited from Matrix<T>) |
Sinh |
Computes the hyperbolic sine of the elements of a matrix.
(Inherited from Matrix<T>) |
Sinh |
Computes the hyperbolic sine of the elements of a matrix in-place.
(Inherited from Matrix<T>) |
Sin |
Computes the sine of the elements of a matrix in-place.
(Inherited from Matrix<T>) |
Solve( |
Solves the system of linear equations for the specified
right-hand side matrix.
(Inherited from LinearOperator<T>) |
Solve( |
Solves the system of linear equations for the specified
right-hand side vector.
(Inherited from LinearOperator<T>) |
Solve( |
Solves the system of linear equations for the specified
right-hand side dense matrix and optionally overwrites the
right-hand side with the solution.
(Inherited from LinearOperator<T>) |
Solve( |
Solves the system of linear equations for the specified
right-hand side dense vector and optionally
overwrites the right-hand side with the solution.
(Inherited from LinearOperator<T>) |
Solve |
Solves a system of equations defined by the matrix and multiple right-hand sides.
(Inherited from LinearOperator<T>) |
Solve |
Solves a system of equations defined by the matrix and the specified right-hand side.
(Inherited from LinearOperator<T>) |
Solve |
Solves a system of equations defined by the matrix and multiple right-hand sides.
(Overrides Matrix<T>.SolveInto(TransposeOperation, Matrix<T>, Matrix<T>)) |
Solve |
Solves a system of equations defined by the matrix and the specified right-hand side.
(Overrides Matrix<T>.SolveInto(TransposeOperation, Vector<T>, Vector<T>)) |
Solve |
Solves the transposed system of linear equations for the specified
right-hand side matrix.
(Inherited from LinearOperator<T>) |
Solve |
Solves the system of linear equations for the specified
right-hand side vector.
(Inherited from LinearOperator<T>) |
Solve |
Solves the transposed system of linear equations for the specified
right-hand side dense matrix and optionally overwrites the
right-hand side with the solution.
(Inherited from LinearOperator<T>) |
Solve |
Solves the transposed system of linear equations for the specified
right-hand side dense vector and optionally
overwrites the right-hand side with the solution.
(Inherited from LinearOperator<T>) |
Solve |
Solves a system of equations defined by the matrix and multiple right-hand sides.
(Inherited from LinearOperator<T>) |
Solve |
Solves a system of equations defined by the matrix and the specified right-hand side.
(Inherited from LinearOperator<T>) |
Sort |
Sorts each column of the matrix in ascending order.
(Inherited from Matrix<T>) |
Sort |
Sorts each column of the matrix in the specified order.
(Inherited from Matrix<T>) |
Sort |
Sorts each row of the matrix in ascending order.
(Inherited from Matrix<T>) |
Sort |
Sorts each row of the matrix in the specified order.
(Inherited from Matrix<T>) |
Sqrt |
Computes the square root of the elements of a matrix.
(Inherited from Matrix<T>) |
Sqrt |
Computes the square root of the elements of a matrix in-place.
(Inherited from Matrix<T>) |
Subtract |
Subtracts a scalar from a matrix.
(Inherited from Matrix<T>) |
Subtract |
Subtracts a matrix from a scalar.
(Inherited from Matrix<T>) |
Subtract |
Subtracts a scalar value from the elements of this matrix in-place.
(Inherited from Matrix<T>) |
Subtract |
Subtracts another matrix from this matrix in-place.
(Inherited from Matrix<T>) |
Subtract |
Subtracts a vector broadcast along the specified dimension from this matrix in-place.
(Inherited from Matrix<T>) |
Sum |
Returns the sum of the elements of the matrix.
(Overrides Matrix<T>.Sum()) |
Summarize() |
Returns a summary of the contents of the matrix using the default summary options.
(Inherited from Matrix<T>) |
Summarize( |
Returns a summary of the contents of the matrix using the specified options.
(Inherited from Matrix<T>) |
Swap |
Swaps the columns with the specified indices.
(Inherited from Matrix<T>) |
Swap |
Swaps the rows with the specified indices.
(Inherited from Matrix<T>) |
Tan |
Computes the tangent of the elements of a matrix.
(Inherited from Matrix<T>) |
Tanh |
Computes the hyperbolic tangent of the elements of a matrix.
(Inherited from Matrix<T>) |
Tanh |
Computes the hyperbolic tangent of the elements of a matrix in-place.
(Inherited from Matrix<T>) |
Tan |
Computes the tangent of the elements of a matrix in-place.
(Inherited from Matrix<T>) |
ToArray() |
Gets the elements of the vector.
(Inherited from Matrix<T>) |
ToArray( |
Gets the elements of the vector.
(Overrides Matrix<T>.ToArray(MatrixElementOrder)) |
ToArray2D |
Gets the elements of the matrix.
(Inherited from Matrix<T>) |
ToData |
Converts a matrix to a data frame with the same row and column indexes.
(Inherited from Matrix<T>) |
ToData |
Converts a matrix to a data frame with the same row and column indexes.
(Inherited from Matrix<T>) |
ToDense |
Makes a copy of this instance and returns it as a
dense matrix.
(Inherited from Matrix<T>) |
ToHermitian |
Returns a new HermitianMatrix<T> extracted from a part of the matrix.
(Inherited from Matrix<T>) |
ToMemory2D |
Gets the elements of the matrix.
(Inherited from Matrix<T>) |
ToString() | Returns a string that represents the current object. (Inherited from Matrix<T>) |
ToString( |
Returns a String representation of this
Matrix<T>.
(Inherited from Matrix<T>) |
ToString( |
Returns a String representation of this
Matrix<T>.
(Inherited from Matrix<T>) |
ToSymmetric |
Returns a new SymmetricMatrix<T> extracted from a part of the matrix.
(Inherited from Matrix<T>) |
Trace |
Gets the sum of the diagonal elements of this
matrix.
(Inherited from Matrix<T>) |
Transpose |
Returns the transpose of this instance.
(Overrides Matrix<T>.Transpose()) |
Try |
Ensures that the element at the specified index in the vector can be written to.
(Inherited from Matrix<T>) |
Try |
Ensures that the element at the specified index in the vector can be written to.
(Inherited from Matrix<T>) |
Try |
Ensures that the element at the specified index in the vector can be written to.
(Inherited from Matrix<T>) |
Two |
Returns the two-norm of this matrix.
(Inherited from Matrix<T>) |
Unscale |
Unscales the columns of the matrix by the reciprocal of the values specified by a vector.
(Inherited from Matrix<T>) |
Unscale |
Unscales the columns of the matrix by the reciprocal of the values specified by a vector.
(Inherited from Matrix<T>) |
Unscale |
Unscales the rows of the matrix by the reciprocal of the values specified by a vector.
(Inherited from Matrix<T>) |
Unscale |
Unscales the rows of the matrix by the reciprocal of the values specified by a vector.
(Inherited from Matrix<T>) |
Extension Methods
Abs<T> |
Computes the absolute value of the elements of a matrix.
(Defined by Matrix) |
Acos<T> |
Computes the inverse cosine of the elements of a matrix.
(Defined by Matrix) |
Acosh<T> |
Computes the inverse hyperbolic cosine of the elements of a matrix.
(Defined by Matrix) |
Add |
Adds the scaled product of two matrices to another matrix.
(Defined by Matrix) |
Add |
Adds the scaled product of two matrices to another matrix.
(Defined by Matrix) |
Asin<T> |
Computes the inverse sine of the elements of a matrix.
(Defined by Matrix) |
Asinh<T> |
Computes the inverse hyperbolic sine of the elements of a matrix.
(Defined by Matrix) |
Atan<T> |
Computes the inverse tangent of the elements of a matrix.
(Defined by Matrix) |
Atanh<T> |
Computes the inverse hyperbolic tangent of the elements of a matrix.
(Defined by Matrix) |
Ceiling<T> |
Computes the smallest integer greater than or equal to the elements of a matrix.
(Defined by Matrix) |
Column |
Returns a vector containing the means of the columns of a matrix.
(Defined by Stats) |
Conjugate<T> |
Returns the conjugate of a matrix.
(Defined by Matrix) |
Conjugate |
Conjugates the elements of a matrix.
(Defined by Matrix) |
Cos<T> |
Computes the cosine of the elements of a matrix.
(Defined by Matrix) |
Cosh<T> |
Computes the hyperbolic cosine of the elements of a matrix.
(Defined by Matrix) |
Covariance |
Returns the covariance matrix for the columns in a matrix.
(Defined by Stats) |
Exp<T> |
Computes the exponential of the elements of a matrix.
(Defined by Matrix) |
Floor<T> |
Computes the largest integer less than or equal to the elements of a matrix.
(Defined by Matrix) |
Log<T> |
Returns a matrix whose elements are the logarithms of the elements of another matrix.
(Defined by Matrix) |
Log10<T> |
Returns a matrix whose elements are the base 10 logarithms of the elements of another matrix.
(Defined by Matrix) |
Max<T> |
Returns a matrix whose elements are the maximum of the components of a matrix
and a real number.
(Defined by Matrix) |
Max<T> |
Returns a matrix whose elements are the maximums of the components of two vectors.
(Defined by Matrix) |
Max |
Returns a matrix whose elements are the maximum of the components of a matrix
and a real number.
(Defined by Matrix) |
Max |
Returns a matrix whose elements are the maximums of the components of two vectors.
(Defined by Matrix) |
Min<T> |
Returns a matrix whose elements are the minimum of the components of a matrix
and a real number.
(Defined by Matrix) |
Min<T> |
Returns a matrix whose elements are the minimums of the components of two vectors.
(Defined by Matrix) |
Min |
Returns a matrix whose elements are the minimum of the components of a matrix
and a real number.
(Defined by Matrix) |
Min |
Returns a matrix whose elements are the minimums of the components of two vectors.
(Defined by Matrix) |
Reciprocal<T> |
Returns a matrix whose elements are the inverses (reciprocals) of the components of another matrix.
(Defined by Matrix) |
Reciprocal |
Computes the inverses (reciprocals) of the elements of a matrix.
(Defined by Matrix) |
Row |
Returns a vector containing the means of the rows of a matrix.
(Defined by Stats) |
Sin<T> |
Computes the sine of the elements of a matrix.
(Defined by Matrix) |
Sinh<T> |
Computes the hyperbolic sine of the elements of a matrix.
(Defined by Matrix) |
Sqrt<T> |
Computes the square root of the elements of a matrix.
(Defined by Matrix) |
Tan<T> |
Computes the tangent of the elements of a matrix.
(Defined by Matrix) |
Tanh<T> |
Computes the hyperbolic tangent of the elements of a matrix.
(Defined by Matrix) |
ToJson<T> |
Returns a string containing a matrix in JSON format.
(Defined by JsonFile) |