Extreme Optimization™: Complexity made simple.

Math and Statistics
Libraries for .NET

  • Home
  • Features
    • Math Library
    • Vector and Matrix Library
    • Statistics Library
    • Performance
    • Usability
  • Documentation
    • Introduction
    • Math Library User's Guide
    • Vector and Matrix Library User's Guide
    • Data Analysis Library User's Guide
    • Statistics Library User's Guide
    • Reference
  • Resources
    • Downloads
    • QuickStart Samples
    • Sample Applications
    • Frequently Asked Questions
    • Technical Support
  • Blog
  • Order
  • Company
    • About us
    • Testimonials
    • Customers
    • Press Releases
    • Careers
    • Partners
    • Contact us
Introduction
Deployment Guide
Configuration
Using Parallelism
Expand Mathematics Library User's GuideMathematics Library User's Guide
Expand Vector and Matrix Library User's GuideVector and Matrix Library User's Guide
Expand Data Analysis Library User's GuideData Analysis Library User's Guide
Expand Statistics Library User's GuideStatistics Library User's Guide
Expand Data Access Library User's GuideData Access Library User's Guide
Expand ReferenceReference
  • Extreme Optimization
    • Features
    • Solutions
    • Documentation
    • QuickStart Samples
    • Sample Applications
    • Downloads
    • Technical Support
    • Download trial
    • How to buy
    • Blog
    • Company
    • Resources
  • Documentation
    • Introduction
    • Deployment Guide
    • Configuration
    • Using Parallelism
    • Mathematics Library User's Guide
    • Vector and Matrix Library User's Guide
    • Data Analysis Library User's Guide
    • Statistics Library User's Guide
    • Data Access Library User's Guide
    • Reference
  • Reference
    • Extreme
    • Extreme.Collections
    • Extreme.Data
    • Extreme.Data.Json
    • Extreme.Data.Matlab
    • Extreme.Data.R
    • Extreme.Data.Stata
    • Extreme.Data.Text
    • Extreme.DataAnalysis
    • Extreme.DataAnalysis.Linq
    • Extreme.Mathematics
    • Extreme.Mathematics.Algorithms
    • Extreme.Mathematics.Calculus
    • Extreme.Mathematics.Calculus.OrdinaryDifferentialEquations
    • Extreme.Mathematics.Curves
    • Extreme.Mathematics.Curves.Nonlinear
    • Extreme.Mathematics.Distributed
    • Extreme.Mathematics.Distributed.Cuda
    • Extreme.Mathematics.EquationSolvers
    • Extreme.Mathematics.FSharp
    • Extreme.Mathematics.Generic
    • Extreme.Mathematics.Generic.LinearAlgebra
    • Extreme.Mathematics.Generic.LinearAlgebra.Implementation
    • Extreme.Mathematics.Generic.LinearAlgebra.Providers
    • Extreme.Mathematics.Generic.SignalProcessing
    • Extreme.Mathematics.Implementation
    • Extreme.Mathematics.LinearAlgebra
    • Extreme.Mathematics.LinearAlgebra.Complex
    • Extreme.Mathematics.LinearAlgebra.Complex.Decompositions
    • Extreme.Mathematics.LinearAlgebra.Implementation
    • Extreme.Mathematics.LinearAlgebra.IO
    • Extreme.Mathematics.LinearAlgebra.IterativeSolvers
    • Extreme.Mathematics.LinearAlgebra.IterativeSolvers.Preconditioners
    • Extreme.Mathematics.LinearAlgebra.Providers
    • Extreme.Mathematics.LinearAlgebra.Sparse
    • Extreme.Mathematics.Optimization
    • Extreme.Mathematics.Optimization.Genetic
    • Extreme.Mathematics.Optimization.LineSearches
    • Extreme.Mathematics.Random
    • Extreme.Mathematics.SignalProcessing
    • Extreme.Numerics.FSharp
    • Extreme.Statistics
    • Extreme.Statistics.Distributions
    • Extreme.Statistics.IO
    • Extreme.Statistics.Linq
    • Extreme.Statistics.Multivariate
    • Extreme.Statistics.Random
    • Extreme.Statistics.Tests
    • Extreme.Statistics.TimeSeriesAnalysis
  • Extreme.Mathematics.Generic.LinearAlgebra
    • BandMatrix(T) Class
    • BandVector(T) Class
    • BandVector(T).BandVectorEnumerator Structure
    • CholeskyDecomposition(T) Class
    • ColumnCollection(T) Structure
    • ComplexSingularValueDecomposition(T) Class
    • ComposedComplexMatrix(T) Class
    • ComposedComplexVector(T) Class
    • ConstantMatrix(T) Class
    • ConstantVector(T) Class
    • Decomposition(T) Class
    • DenseMatrix(T) Class
    • DenseVector(T) Class
    • DiagonalMatrix(T) Class
    • EigenvalueDecomposition(T) Class
    • GenericKernel(T) Class
    • GenericKernel(T).Specialization Class
    • HermitianMatrix(T) Class
    • ILinearStorage(T) Interface
    • IndefiniteDecomposition(T) Class
    • IndexedVector(T) Class
    • IndexValuePair(T) Structure
    • IResizableMatrix(T) Interface
    • LinearOperator(T) Class
    • LUDecomposition(T) Class
    • MatrixView(T) Class
    • NonHermitianEigenvalueDecomposition(T) Class
    • NonsymmetricEigenvalueDecomposition(T) Class
    • QRDecomposition(T) Class
    • RowCollection(T) Structure
    • RowColumnValueTriplet(T) Structure
    • SingularValueDecomposition(T) Class
    • SparseCompressedColumnMatrix(T) Class
    • SparseMatrix(T) Class
    • SparseVector(T) Class
    • SymmetricEigenvalueDecomposition(T) Class
    • SymmetricMatrix(T) Class
    • TriangularMatrix(T) Class
  • SparseCompressedColumnMatrix(T) Class
    • SparseCompressedColumnMatrix(T) Constructors
    • Properties
    • Methods
SparseCompressedColumnMatrixT ClassExtreme Optimization Numerical Libraries for .NET Professional
Represents a sparse matrix in Compressed Sparse Column format.
Inheritance Hierarchy

SystemObject
  Extreme.Mathematics.Generic.LinearAlgebraLinearOperatorT
    Extreme.Mathematics.GenericMatrixT
      Extreme.Mathematics.Generic.LinearAlgebraSparseMatrixT
        Extreme.Mathematics.Generic.LinearAlgebraSparseCompressedColumnMatrixT

Namespace: Extreme.Mathematics.Generic.LinearAlgebra
Assembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
Syntax

C#
VB
C++
F#
Copy
[SerializableAttribute]
public sealed class SparseCompressedColumnMatrix<T> : SparseMatrix<T>, 
	IResizableMatrix<T>, ISerializable
<SerializableAttribute>
Public NotInheritable Class SparseCompressedColumnMatrix(Of T)
	Inherits SparseMatrix(Of T)
	Implements IResizableMatrix(Of T), ISerializable
[SerializableAttribute]
generic<typename T>
public ref class SparseCompressedColumnMatrix sealed : public SparseMatrix<T>, 
	IResizableMatrix<T>, ISerializable
[<SealedAttribute>]
[<SerializableAttribute>]
type SparseCompressedColumnMatrix<'T> =  
    class
        inherit SparseMatrix<'T>
        interface IResizableMatrix<'T>
        interface ISerializable
    end

Type Parameters

T

The SparseCompressedColumnMatrixT type exposes the following members.

Constructors

  NameDescription
Public methodSparseCompressedColumnMatrixT(Int32, Int32) Obsolete.
Constructs a new matrix in compressed sparse column format.
Public methodSparseCompressedColumnMatrixT(Int32, Int32, Double) Obsolete.
Constructs a new matrix in compressed sparse column format.
Public methodSparseCompressedColumnMatrixT(Int32, Int32, Int32) Obsolete.
Constructs a new matrix in compressed sparse column format.
Public methodSparseCompressedColumnMatrixT(Int32, Int32, Int32, Int32, T) Obsolete.
Constructs a new matrix in compressed sparse column format.
Top
Properties

  NameDescription
Public propertyCanReshape
Gets whether the matrix can be reshaped into a vector or a matrix.
(Inherited from MatrixT.)
Public propertyColumnCount
Gets the number of columns in the matrix.
(Inherited from LinearOperatorT.)
Public propertyColumnIndex
Gets or sets the index of labels for the columns of the matrix.
(Inherited from LinearOperatorT.)
Public propertyColumns
Gets the ColumnCollection for this instance.
(Inherited from MatrixT.)
Public propertyColumnwiseComponents
Enumerates the elements of the matrix column by column.
(Inherited from MatrixT.)
Public propertyDiagonalMode Obsolete.
Gets a value that indicates whether the diagonal elements of a triangular sparse matrix are all equal to 1.
(Inherited from SparseMatrixT.)
Public propertyElementOrder
Gets a value indicating the order in which the matrix elements are stored.
(Overrides MatrixTElementOrder.)
Public propertyElementType
Gets the element type of the matrix.
(Inherited from LinearOperatorT.)
Public propertyFillFactor
Gets the fraction of nonzero components in the matrix.
(Inherited from SparseMatrixT.)
Public propertyIsHermitian
Gets a value that indicates if the matrix is Hermitian about the main diagonal.
(Inherited from MatrixT.)
Public propertyIsLowerTriangular
Gets a value indicating whether this instance is lower triangular.
(Overrides MatrixTIsLowerTriangular.)
Public propertyIsSparse
Gets a value that indicates whether the matrix is sparse.
(Inherited from SparseMatrixT.)
Public propertyIsSymmetrical
Gets a value that indicates if the matrix is symmetrical about the main diagonal.
(Overrides MatrixTIsSymmetrical.)
Public propertyIsUnitDiagonal
Gets a value indicating whether all diagonal elements of this instance are equal to 1.
(Inherited from MatrixT.)
Public propertyIsUpperTriangular
Gets a value indicating whether this instance is triangleMode triangular.
(Overrides MatrixTIsUpperTriangular.)
Public propertyItemInt32, Range
Gets or sets the components of a row of this matrix.
(Inherited from MatrixT.)
Public propertyItemInt32, Int32
Gets or sets the specified element in this matrix.
(Inherited from MatrixT.)
Public propertyItemRange, Range
Gets or sets the components of a submatrix of this matrix.
(Inherited from MatrixT.)
Public propertyItemRange, Int32
Gets or sets the components of a column of this matrix.
(Inherited from MatrixT.)
Public propertyMatrixDiagonal
Gets a value indicating whether all diagonal elements of this instance are structurally equal to 1.
(Inherited from MatrixT.)
Public propertyMatrixTriangle
Gets a value that indicates whether a triangular matrix is upper or lower triangular.
(Inherited from MatrixT.)
Public propertyNonzeroComponents
Gets a collection of the nonzero elements of the matrix.
(Overrides MatrixTNonzeroComponents.)
Public propertyNonzeroCount
Gets the number of nonzero components in the matrix.
(Inherited from SparseMatrixT.)
Public propertyPrecedence
Infrastructure. This property supports the Numerical Libraries for .NET infrastructure and is not intended to be used directly from your code.
(Inherited from MatrixT.)
Public propertyRowCount
Gets the number of rows in the matrix.
(Inherited from LinearOperatorT.)
Public propertyRowIndex
Gets or sets the index of labels for the rows of the matrix.
(Inherited from LinearOperatorT.)
Public propertyRows
Gets the RowCollection for this instance.
(Inherited from MatrixT.)
Public propertyRowwiseComponents
Enumerates the elements of the matrix column by column.
(Inherited from MatrixT.)
Public propertyStructure
Gets a value that indicates the structure of the sparse matrix.
(Inherited from MatrixT.)
Public propertyTriangleMode Obsolete.
Gets a value that indicates whether a TriangularMatrixT is upper or lower triangular.
(Inherited from SparseMatrixT.)
Public propertyWritableComponents
Enumerates the writable elements of the matrix column by column.
(Inherited from MatrixT.)
Top
Methods

  NameDescription
Public methodAbsoluteMax
Returns the value of the element in this matrix that has the largest absolute value.
(Inherited from MatrixT.)
Public methodAbsoluteMin
Returns the value of the element in this matrix that has the smallest absolute value.
(Inherited from MatrixT.)
Public methodAcoshInPlace
Computes the inverse hyperbolic cosine of the elements of a matrix in-place.
(Inherited from MatrixT.)
Public methodAcosInPlace
Computes the inverse cosine of the elements of a matrix in-place.
(Inherited from MatrixT.)
Public methodAdd(T) Obsolete.
Adds a constant to a matrix and returns the result.
(Inherited from MatrixT.)
Public methodAddAt
Adds a value to the component at the specified location.
(Overrides SparseMatrixTAddAt(Int32, Int32, T).)
Public methodAddInPlace(T)
Adds a scalar to a matrix.
(Inherited from MatrixT.)
Public methodAddInPlace(MatrixT)
Adds another matrix to this matrix in-place.
(Inherited from MatrixT.)
Public methodAddProductInPlace(MatrixT, MatrixT)
Adds the product of two DenseMatrix object to this matrix.
(Inherited from MatrixT.)
Public methodAddProductInPlace(MatrixT, TransposeOperation, MatrixT, TransposeOperation)
Adds the product of two DenseMatrix object to this matrix.
(Inherited from MatrixT.)
Public methodAddProductToVector Obsolete.
Multiplies a VectorT by this instance and stores the result in a second vector of type DenseVectorT.
(Inherited from LinearOperatorT.)
Public methodAddScaledInPlace
Adds a scaled matrix to this matrix.
(Inherited from MatrixT.)
Public methodAddScaledProductInPlace(T, MatrixT, MatrixT)
Adds a multiple of the product of two DenseMatrix object to this matrix.
(Inherited from MatrixT.)
Public methodAddScaledProductInPlace(T, MatrixT, TransposeOperation, MatrixT, TransposeOperation)
Adds the scaled product of two matrices to another matrix.
(Inherited from MatrixT.)
Public methodAggregateColumnsU(AggregatorGroupU)
Applies the specified aggregator to all the columns in the matrix.
(Inherited from MatrixT.)
Public methodAggregateColumnsU(AggregatorGroupU)
Applies the specified aggregators to all the columns in the matrix.
(Inherited from MatrixT.)
Public methodAggregateColumnsU(FuncVectorT, U)
Applies the specified aggregators to all the columns in the matrix.
(Inherited from MatrixT.)
Public methodAggregateColumnsByU(IGrouping, AggregatorGroupU)
Returns a new matrix that aggregates the columns according to the specified grouping.
(Inherited from MatrixT.)
Public methodAggregateColumnsByK, U(IListK, AggregatorGroupU)
Returns a new matrix that aggregates the columns grouped by the specified vector.
(Inherited from MatrixT.)
Public methodAggregateColumnsByC, U(C, AggregatorGroupU)
Returns a new matrix that aggregates the columns grouped by the specified column.
(Inherited from MatrixT.)
Public methodAggregateColumnsByC, U(C, FuncVectorT, U)
Applies the specified aggregation function to the values in each column grouped by the specified grouping column.
(Inherited from MatrixT.)
Public methodAggregateRowsU(AggregatorGroupU)
Applies the specified aggregator to all the rows in the matrix.
(Inherited from MatrixT.)
Public methodAggregateRowsU(AggregatorGroupU)
Applies the specified aggregators to all the rows in the matrix.
(Inherited from MatrixT.)
Public methodAggregateRowsU(FuncVectorT, U)
Applies the specified aggregators to all the rows in the matrix.
(Inherited from MatrixT.)
Public methodAggregateRowsByU(IGrouping, AggregatorGroupU)
Returns a new matrix that aggregates the rows according to the specified grouping.
(Inherited from MatrixT.)
Public methodAggregateRowsByK, U(IListK, AggregatorGroupU)
Returns a new matrix that aggregates the rows grouped by the specified vector.
(Inherited from MatrixT.)
Public methodAggregateRowsByC, U(C, AggregatorGroupU)
Returns a new matrix that aggregates the rows grouped by the specified row.
(Inherited from MatrixT.)
Public methodAggregateRowsByR, U(R, FuncVectorT, U)
Applies the specified aggregation function to the values in each row grouped by the specified grouping row.
(Inherited from MatrixT.)
Public methodAsDenseMatrix
Returns this matrix as a dense matrix.
(Inherited from MatrixT.)
Public methodAsinhInPlace
Computes the inverse hyperbolic sine of the elements of a matrix in-place.
(Inherited from MatrixT.)
Public methodAsinInPlace
Computes the inverse sine of the elements of a matrix in-place.
(Inherited from MatrixT.)
Public methodAtanhInPlace
Computes the inverse hyperbolic tangent of the elements of a matrix in-place.
(Inherited from MatrixT.)
Public methodAtanInPlace
Computes the inverse tangent of the elements of a matrix in-place.
(Inherited from MatrixT.)
Public methodClone
Constructs a deep copy of this matrix.
(Inherited from MatrixT.)
Public methodClone(CloningMethod)
Makes a copy of this vector using the specified method.
(Overrides MatrixTClone(CloningMethod).)
Public methodCloneData
Gives this instance its own copy of its elements.
(Overrides MatrixTCloneData.)
Public methodCloneShape
Creates a new matrix that has the same number of rows and columns and optionally preserves the writable structure.
(Inherited from MatrixT.)
Public methodCompact
Sets the capacity to the actual number of nonzero components of the SparseCompressedColumnMatrixT.
Public methodComponentwiseDivide(MatrixT) Obsolete.
Divides the components of this instance by the corresponding components of another matrix.
(Inherited from MatrixT.)
Public methodComponentwiseMultiply(MatrixT) Obsolete.
Multiplies the components of this instance by the corresponding components of another matrix.
(Inherited from MatrixT.)
Public methodConjugate
Returns the transpose of this instance.
(Inherited from MatrixT.)
Public methodConjugateTranspose
Returns the transpose of this instance.
(Inherited from MatrixT.)
Public methodCopyTo(MatrixT)
Copies the components of this matrix to another matrix.
(Inherited from MatrixT.)
Public methodCopyTo(MatrixT, TransposeOperation)
Copies the components of this matrix to another matrix.
(Overrides MatrixTCopyTo(MatrixT, TransposeOperation).)
Public methodCopyToOrClone
Copies the elements of this vector to another matrix, if it exists; otherwise clones the matrix using the specified method.
(Inherited from MatrixT.)
Public methodCoshInPlace
Computes the hyperbolic cosine of the elements of a matrix in-place.
(Inherited from MatrixT.)
Public methodCosInPlace
Computes the cosine of the elements of a matrix in-place.
(Inherited from MatrixT.)
Public methodStatic memberCreateIdentity
Returns an identity matrix as a sparse matrix.
Public methodDispose
Releases unmanaged resources.
(Inherited from MatrixT.)
Public methodDivideAt
Divides the component at the specified location by a value.
(Overrides SparseMatrixTDivideAt(Int32, Int32, T).)
Public methodDivideInPlace
Divides a matrix in-place by a scalar.
(Inherited from MatrixT.)
Public methodDropEntries
Removes elements that meet the specified condition.
Public methodElementwiseDivideInPlace
Divides the components of this instance by the corresponding components of another matrix.
(Overrides MatrixTElementwiseDivideInPlace(MatrixT).)
Public methodElementwiseMultiplyInPlace
Multiplies the components of this instance by the corresponding components of another matrix.
(Overrides MatrixTElementwiseMultiplyInPlace(MatrixT).)
Public methodElementwisePowInPlace(Int32)
Raises the elements of a matrix in-place to a constant power.
(Inherited from MatrixT.)
Public methodElementwisePowInPlace(MatrixT)
Raises this matrix in-place elementwise by another matrix.
(Inherited from MatrixT.)
Public methodEnsureWritable
Ensures that the element at the specified index in the vector can be written to.
(Inherited from MatrixT.)
Public methodEnsureWritable(Int32, Int32)
Ensures that the element at the specified index in the vector can be written to.
(Inherited from MatrixT.)
Public methodEnsureWritable(Int32, Int32, Int32, Int32)
Ensures that the element at the specified index in the vector can be written to.
(Inherited from MatrixT.)
Public methodEquals(Object)
Determines whether the specified Object is equal to the current MatrixT.
(Inherited from MatrixT.)
Public methodEquals(MatrixT)
Determines whether the specified MatrixT is equal to the current MatrixT.
(Inherited from MatrixT.)
Public methodEquals(Object, IEqualityComparer)
Returns whether an object is structurally equal to this instance.
(Inherited from MatrixT.)
Public methodEstimateConditionNumber
Calculates an estimate for the condition number of this matrix.
(Inherited from MatrixT.)
Public methodExpInPlace
Computes the exponential of the elements of a matrix in-place.
(Inherited from MatrixT.)
Public methodExtractTriangle
Constructs an upper or lower triangular sparse matrix from a general sparse matrix.
(Overrides SparseMatrixTExtractTriangle(MatrixTriangle, MatrixDiagonal).)
Public methodFillMissingValuesInPlace(T)
Replaces all missing values in a matrix with the specified value in-place.
(Inherited from MatrixT.)
Public methodFillMissingValuesInPlace(DimensionType, Direction)
Replaces all missing values in each row or column in-place with the previous or next non-missing value.
(Inherited from MatrixT.)
Public methodFillMissingValuesInPlace(VectorT, DimensionType)
Replaces all missing values in each row or column of a matrix in-place with the corresponding value from a vector.
(Inherited from MatrixT.)
Public methodFillMissingValuesInto(T, MatrixT)
Replaces all missing values in a matrix with the specified value.
(Inherited from MatrixT.)
Public methodFillMissingValuesInto(VectorT, DimensionType, MatrixT)
Replaces all missing values in each row or column with the corresponding value from a vector.
(Inherited from MatrixT.)
Public methodFillMissingValuesInto(DimensionType, Direction, MatrixT, Int32)
Replaces all missing values in each row or column with the previous or next non-missing value.
(Inherited from MatrixT.)
Public methodFrobeniusNorm
Returns the Frobenius norm of this matrix.
(Inherited from MatrixT.)
Public methodStatic memberFromMatrix
Constructs a sparse matrix from a matrix.
Public methodGetCholeskyDecomposition
Returns the Cholesky decomposition of the matrix.
(Inherited from MatrixT.)
Public methodGetCholeskyDecomposition(Boolean)
Returns the Cholesky decomposition of the matrix.
(Overrides MatrixTGetCholeskyDecomposition(Boolean).)
Public methodGetColumn(Int32)
Returns a column vector for this instance that points at the specified column.
(Inherited from MatrixT.)
Public methodGetColumn(Int32, Range)
Returns a column vector for this instance starting at the specified column and row and of the specified length.
(Inherited from MatrixT.)
Public methodGetColumn(Int32, Int32, Int32)
Returns a column vector for this instance starting at the specified column and row and of the specified length.
(Inherited from MatrixT.)
Public methodGetColumn(Int32, Int32, Int32, Int32)
Returns a column vector for this instance starting at the specified column and row and of the specified length.
(Inherited from MatrixT.)
Public methodGetColumn(Int32, Int32, Int32, Int32, Intent)
Returns a column vector for this instance starting at the specified column and row and of the specified length.
(Overrides MatrixTGetColumn(Int32, Int32, Int32, Int32, Intent).)
Public methodGetColumnEnumerator(Intent)
Returns an enumerator that allows you to iterate over the columns of this instance.
(Inherited from MatrixT.)
Public methodGetColumnOrdering
Returns a permutation corresponding to a column ordering that minimizes fill-in during the LU decomposition of the matrix.
Public methodGetColumnsC
Returns a new matrix that contains only the columns in the specified sequence.
(Inherited from MatrixT.)
Public methodGetColumnSums
Returns the sums of the components of each column of the matrix.
(Overrides SparseMatrixTGetColumnSums.)
Public methodGetConditionNumber
Calculates the condition number of this matrix.
(Inherited from MatrixT.)
Public methodGetDeterminant
Calculates the determinant of this matrix.
(Inherited from SparseMatrixT.)
Public methodGetDiagonal
Gets a vector view of the diagonal elements of this instance.
(Inherited from MatrixT.)
Public methodGetDiagonal(Int32)
Gets a vector view of the specified diagonal of this instance.
(Inherited from MatrixT.)
Public methodGetDiagonal(Int32, Intent)
Gets a vector view of the specified diagonal of this instance.
(Overrides MatrixTGetDiagonal(Int32, Intent).)
Public methodGetEigenvalueDecomposition
Returns the eigenvalue decomposition for this matrix.
(Inherited from MatrixT.)
Public methodGetEigenvalueDecomposition(Boolean)
Returns the eigenvalue decomposition for this matrix.
(Inherited from MatrixT.)
Public methodGetExponential
Computes the matrix exponential of a square matrix.
(Inherited from MatrixT.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from MatrixT.)
Public methodGetHashCode(IEqualityComparer)
Returns a hash code for this instance.
(Inherited from MatrixT.)
Public methodGetHermitianIndefiniteDecomposition
Returns the Hermitian indefinite (Bunch-Kaufman) decomposition of the matrix.
(Inherited from MatrixT.)
Public methodGetHermitianIndefiniteDecomposition(Boolean)
Returns the Hermitian indefinite (Bunch-Kaufman) decomposition of the matrix.
(Inherited from MatrixT.)
Public methodGetInverse
Calculates the inverse matrix..
(Inherited from LinearOperatorT.)
Public methodGetInverse(Boolean)
Calculates the inverse of this matrix.
(Inherited from MatrixT.)
Public methodGetLUDecomposition
Returns the LU decomposition of the matrix.
(Inherited from MatrixT.)
Public methodGetLUDecomposition(Boolean)
Returns the LU decomposition of the matrix.
(Overrides MatrixTGetLUDecomposition(Boolean).)
Public methodGetNearestColumnC
Gets the column nearest to the specified column key.
(Inherited from MatrixT.)
Public methodGetNearestColumnsC
Returns a new matrix that contains only the columns in the specified sequence.
(Inherited from MatrixT.)
Public methodGetNearestRowR
Gets the row nearest to the specified row key.
(Inherited from MatrixT.)
Public methodGetNearestRowsR
Returns a new matrix that contains only the rows in the specified sequence.
(Inherited from MatrixT.)
Public methodGetNonzeroComponents
Returns the nonzero components
(Overrides SparseMatrixTGetNonzeroComponents(Int32, Int32).)
Public methodGetObjectData
Populates a SerializationInfo with the values needed to serialize the target object.
(Overrides MatrixTGetObjectData(SerializationInfo, StreamingContext).)
Public methodGetParallelColumnEnumerator
Returns a partitioner that allows you to iterate over the rows of this instance in parallel.
(Inherited from MatrixT.)
Public methodGetParallelRowEnumerator
Returns a partitioner that allows you to iterate over the rows of this instance in parallel.
(Inherited from MatrixT.)
Public methodGetPseudoInverse
Calculates the Moore-Penrose pseudo-inverse of this matrix.
(Inherited from MatrixT.)
Public methodGetQRDecomposition
Returns the QR decomposition of the matrix.
(Inherited from MatrixT.)
Public methodGetQRDecomposition(Boolean)
Returns the QR decomposition of the matrix.
(Inherited from MatrixT.)
Public methodGetRow(Int32)
Returns a row vector for this instance that points at the specified row.
(Inherited from MatrixT.)
Public methodGetRow(Int32, Range)
Returns a row vector for this instance starting at the specified row and column and of the specified length.
(Inherited from MatrixT.)
Public methodGetRow(Int32, Int32, Int32)
Returns a row vector for this instance over the specified range.
(Inherited from MatrixT.)
Public methodGetRow(Int32, Int32, Int32, Int32)
Returns a row vector for this instance starting at the specified row and column and of the specified length.
(Inherited from MatrixT.)
Public methodGetRow(Int32, Int32, Int32, Int32, Intent)
Returns a row vector for this instance starting at the specified row and column and of the specified length.
(Overrides MatrixTGetRow(Int32, Int32, Int32, Int32, Intent).)
Public methodGetRowEnumerator(Intent)
Returns an enumerator that allows you to iterate over the rows of this instance.
(Inherited from MatrixT.)
Public methodGetRowsR
Returns a new matrix that contains only the rows in the specified sequence.
(Inherited from MatrixT.)
Public methodGetRowSums
Returns the sums of the components of each row of the matrix.
(Overrides SparseMatrixTGetRowSums.)
Public methodGetSingularValueDecomposition
Returns the singular value decomposition of the matrix.
(Inherited from MatrixT.)
Public methodGetSingularValueDecomposition(SingularValueDecompositionFactors)
Returns the singular value decomposition of the matrix.
(Inherited from MatrixT.)
Public methodGetSingularValueDecomposition(SingularValueDecompositionFactors, Boolean)
Returns the singular value decomposition of the matrix.
(Inherited from MatrixT.)
Public methodGetSingularValues
Gets a vector containing the singular values of the matrix.
(Inherited from MatrixT.)
Public methodGetSubmatrix(Range, Range)
Gets a MatrixT that is a submatrix of this instance.
(Inherited from MatrixT.)
Public methodGetSubmatrix(Range, Range, TransposeOperation)
Gets a MatrixT that is a submatrix of this instance.
(Inherited from MatrixT.)
Public methodGetSubmatrix(Int32, Int32, Int32, Int32)
Gets a MatrixT that is a submatrix of this instance.
(Inherited from MatrixT.)
Public methodGetSubmatrix(Int32, Int32, Int32, Int32, Int32, Int32, TransposeOperation)
Gets a MatrixT that is a submatrix of this instance.
(Inherited from MatrixT.)
Public methodGetSymmetricIndefiniteDecomposition
Returns the symmetric indefinite (Bunch-Kaufman) decomposition of the matrix.
(Inherited from MatrixT.)
Public methodGetSymmetricIndefiniteDecomposition(Boolean)
Returns the symmetric indefinite (Bunch-Kaufman) decomposition of the matrix.
(Inherited from MatrixT.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue(Int32, Int32)
Gets the matrix component at the specified position.
(Inherited from MatrixT.)
Public methodGetValue(Int32, Int32)
Gets the matrix component at the specified position.
(Inherited from SparseMatrixT.)
Public methodInfinityNorm
Returns the infinity norm of this matrix.
(Inherited from MatrixT.)
Public methodInsertClique
Inserts a two-dimensional set of values at the specified positions in the sparse matrix.
(Inherited from SparseMatrixT.)
Public methodInsertColumn
Inserts a set of values at the specified column in the sparse matrix.
(Inherited from SparseMatrixT.)
Public methodInsertEntries
Inserts a set of values at the specified positions in the sparse matrix.
(Inherited from SparseMatrixT.)
Public methodInsertEntry
Inserts a value at the specified position in the sparse matrix.
(Overrides SparseMatrixTInsertEntry(T, Int32, Int32).)
Public methodInsertRow
Inserts a set of values at the specified row in the sparse matrix.
(Inherited from SparseMatrixT.)
Public methodIsComponentWritable Obsolete.
Returns a value that indicates whether the value of the component at the specified row and column can be changed.
(Inherited from MatrixT.)
Public methodIsElementWritable
Gets a value indicating whether the value of the component at the specified column and row can be changed.
(Overrides MatrixTIsElementWritable(Int32, Int32).)
Public methodIsMissing
Returns whether the value at the specified index is missing.
(Inherited from MatrixT.)
Public methodIsSingular
Gets a value indicating whether this matrix is singular.
(Inherited from MatrixT.)
Public methodLog10InPlace
Computes the logarithm of the elements of a matrix in-place.
(Inherited from MatrixT.)
Public methodLogInPlace
Computes the logarithm of the elements of a matrix in-place.
(Inherited from MatrixT.)
Public methodLogInPlace(T)
Computes the logarithm of the elements of a matrix in-place.
(Inherited from MatrixT.)
Public methodMapColumns
Applies a function to each column in a matrix and returns the result as a vector.
(Inherited from MatrixT.)
Public methodMapInPlace(FuncT, T)
Applies a function in-place to the elements of a matrix.
(Inherited from MatrixT.)
Public methodMapInPlaceU(FuncT, U, T, MatrixU)
Applies a function to the elements of a matrix.
(Inherited from MatrixT.)
Public methodMapIntoU(FuncT, U, MatrixU)
Applies a function to the elements of a matrix.
(Inherited from MatrixT.)
Public methodMapRows
Applies a function to each column in a matrix and returns the result as a vector.
(Inherited from MatrixT.)
Public methodMax
Returns the value of the largest component in this matrix.
(Inherited from MatrixT.)
Public methodMin
Returns the value of the smallest element in this matrix.
(Inherited from MatrixT.)
Public methodMultiply(MatrixT)
Applies the linear operator to a matrix.
(Inherited from LinearOperatorT.)
Public methodMultiply(VectorT)
Applies the linear operator to a vector.
(Inherited from LinearOperatorT.)
Public methodMultiply(TransposeOperation, MatrixT) Obsolete.
Multiplies a matrix on the left by this matrix.
(Inherited from LinearOperatorT.)
Public methodMultiply(TransposeOperation, VectorT) Obsolete.
Multiplies a vector on the left by this vector.
(Inherited from LinearOperatorT.)
Public methodMultiply(MatrixOperationSide, TransposeOperation, TransposeOperation, MatrixT) Obsolete.
Multiplies this matrix by another matrix and returns the result.
(Inherited from MatrixT.)
Public methodMultiplyAndAddAsRightFactorCore
Adds the scaled product of two matrices to another matrix.
(Inherited from MatrixT.)
Public methodMultiplyAt
Multiplies the component at the specified location by a value.
(Overrides SparseMatrixTMultiplyAt(Int32, Int32, T).)
Public methodMultiplyInPlace
Multiplies this matrix by a scalar factor.
(Overrides MatrixTMultiplyInPlace(T).)
Public methodMultiplyTranspose(MatrixT)
Applies the transpose of the linear operator to a matrix.
(Inherited from LinearOperatorT.)
Public methodMultiplyTranspose(VectorT)
Applies the (conjugate) transpose of the linear operator to a vector.
(Inherited from LinearOperatorT.)
Public methodNegateInPlace
Negates a matrix in-place.
(Inherited from MatrixT.)
Public methodOneNorm
Returns the 1-norm of this matrix.
(Inherited from MatrixT.)
Public methodPermuteColumns
Permutes the columns of the matrix using the specified Permutation.
(Overrides MatrixTPermuteColumns(Permutation).)
Public methodPermuteRows
Permutes the rows of the matrix using the specified Permutation.
(Overrides MatrixTPermuteRows(Permutation).)
Public methodPermuteRowsAndColumns(Permutation)
Permutes the rows and columns of the matrix using the specified Permutation.
(Inherited from MatrixT.)
Public methodPermuteRowsAndColumns(Permutation, Permutation)
Permutes the rows and columns of the matrix using the specified row and column Permutation.
(Inherited from MatrixT.)
Public methodRank
Returns the numerical rank of a matrix.
(Inherited from LinearOperatorT.)
Public methodRank(T)
Returns the numerical rank of a matrix using the specified tolerance.
(Inherited from MatrixT.)
Public methodReduceU
Applies a function to each row or column in a matrix and returns the result as a vector.
(Inherited from MatrixT.)
Public methodReduceColumnsU
Applies a function to each column in a matrix and returns the result as a vector.
(Inherited from MatrixT.)
Public methodReduceRowsU
Applies a function to each column in a matrix and returns the result as a vector.
(Inherited from MatrixT.)
Public methodRemoveWithMissingValues
Returns a new matrix that has the rows or columns that contain missing values removed.
(Inherited from MatrixT.)
Public methodReserve
Reserves storage for the specified number of nonzero elements.
Public methodReshape
Returns a matrix that contains the same elements listed columnwise.
(Inherited from MatrixT.)
Public methodReshapeAsVector
Returns a vector that contains the columnwise matrix elements.
(Inherited from MatrixT.)
Public methodScaleColumns(VectorT) Obsolete.
Scales the columns of the matrix by the values specified by a vector.
(Inherited from MatrixT.)
Public methodScaleColumnsInPlace
Scales the columns of the matrix by the values specified by a vector.
(Inherited from MatrixT.)
Public methodScaleRows(VectorT) Obsolete.
Scales the rows of the matrix by the values specified by a vector.
(Inherited from MatrixT.)
Public methodScaleRowsInPlace
Scales the rows of the matrix by the values specified by a vector.
(Inherited from MatrixT.)
Public methodSetToZero
Sets all elements of the matrix to zero.
(Inherited from MatrixT.)
Public methodSetValue(T)
Sets all elements of the matrix to the specified value.
(Inherited from MatrixT.)
Public methodSetValue(T, Int32, Int32)
Sets the matrix component at the specified position to the specified value.
(Inherited from MatrixT.)
Public methodSetValue(T, Int32, Int32)
Sets the matrix component at the specified position to the specified value.
(Inherited from SparseMatrixT.)
Public methodShallowCopy
Makes a shallow copy of this matrix.
(Inherited from MatrixT.)
Public methodSinhInPlace
Computes the hyperbolic sine of the elements of a matrix in-place.
(Inherited from MatrixT.)
Public methodSinInPlace
Computes the sine of the elements of a matrix in-place.
(Inherited from MatrixT.)
Public methodSolve(MatrixT)
Solves the system of linear equations for the specified right-hand side matrix.
(Inherited from LinearOperatorT.)
Public methodSolve(VectorT)
Solves the system of linear equations for the specified right-hand side vector.
(Inherited from LinearOperatorT.)
Public methodSolve(DenseMatrixT, Boolean)
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 LinearOperatorT.)
Public methodSolve(DenseVectorT, Boolean)
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 LinearOperatorT.)
Public methodSolveInto(TransposeOperation, MatrixT, MatrixT)
Solves a system of equations defined by the matrix and multiple right-hand sides.
(Overrides MatrixTSolveInto(TransposeOperation, MatrixT, MatrixT).)
Public methodSolveInto(TransposeOperation, VectorT, VectorT)
Solves a system of equations defined by the matrix and the specified right-hand side.
(Overrides MatrixTSolveInto(TransposeOperation, VectorT, VectorT).)
Public methodSolveTranspose(MatrixT)
Solves the transposed system of linear equations for the specified right-hand side matrix.
(Inherited from LinearOperatorT.)
Public methodSolveTranspose(VectorT)
Solves the system of linear equations for the specified right-hand side vector.
(Inherited from LinearOperatorT.)
Public methodSolveTranspose(DenseMatrixT, Boolean)
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 LinearOperatorT.)
Public methodSolveTranspose(DenseVectorT, Boolean)
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 LinearOperatorT.)
Public methodSortByColumn
Sorts the rows of the matrix in-place so the elements in the specified column are sorted.
(Inherited from MatrixT.)
Public methodSortByRow
Sorts the columns of the matrix in-place so the elements in the specified row are sorted.
(Inherited from MatrixT.)
Public methodSortColumns
Sorts each column of the matrix in ascending order.
(Inherited from MatrixT.)
Public methodSortColumns(SortOrder)
Sorts each column of the matrix in the specified order.
(Inherited from MatrixT.)
Public methodSortRows
Sorts each row of the matrix in ascending order.
(Inherited from MatrixT.)
Public methodSortRows(SortOrder)
Sorts each row of the matrix in the specified order.
(Inherited from MatrixT.)
Public methodSqrtInPlace
Computes the square root of the elements of a matrix in-place.
(Inherited from MatrixT.)
Public methodSubtractAt
Subtracts a value from the component at the specified location.
(Overrides SparseMatrixTSubtractAt(Int32, Int32, T).)
Public methodSubtractInPlace(T)
Subtracts a scalar value from the elements of this matrix in-place.
(Inherited from MatrixT.)
Public methodSubtractInPlace(MatrixT)
Subtracts another matrix from this matrix in-place.
(Inherited from MatrixT.)
Public methodSummarize
Returns a summary of the contents of the matrix using the default summary options.
(Inherited from MatrixT.)
Public methodSummarize(SummaryOptions)
Returns a summary of the contents of the matrix using the specified options.
(Inherited from MatrixT.)
Public methodSwapColumns
Swaps the columns with the specified indices.
(Overrides MatrixTSwapColumns(Int32, Int32).)
Public methodSwapRows
Interchanges the specified rows of the matrix.
(Overrides SparseMatrixTSwapRows(Int32, Int32).)
Public methodTanhInPlace
Computes the hyperbolic tangent of the elements of a matrix in-place.
(Inherited from MatrixT.)
Public methodTanInPlace
Computes the tangent of the elements of a matrix in-place.
(Inherited from MatrixT.)
Public methodToArray
Gets the elements of the vector.
(Inherited from MatrixT.)
Public methodToArray(MatrixElementOrder)
Gets the elements of the vector.
(Overrides MatrixTToArray(MatrixElementOrder).)
Public methodToDataFrameR, C
Converts a matrix to a data frame with the same row and column indexes.
(Inherited from MatrixT.)
Public methodToDataFrameR, C(IndexR, IndexC)
Converts a matrix to a data frame with the same row and column indexes.
(Inherited from MatrixT.)
Public methodToDenseMatrix
Makes a copy of this instance and returns it as a dense matrix.
(Inherited from MatrixT.)
Public methodToString
Returns a String representation of this MatrixT.
(Inherited from MatrixT.)
Public methodToString(String)
Returns a String representation of this MatrixT.
(Inherited from MatrixT.)
Public methodToString(String, IFormatProvider)
Returns a String representation of this MatrixT.
(Inherited from MatrixT.)
Public methodTrace
Gets the sum of the diagonal elements of this matrix.
(Inherited from MatrixT.)
Public methodTranspose
Returns the transpose of this instance.
(Overrides MatrixTTranspose.)
Public methodTryEnsureWritable
Ensures that the element at the specified index in the vector can be written to.
(Inherited from MatrixT.)
Public methodTryEnsureWritable(Int32, Int32)
Ensures that the element at the specified index in the vector can be written to.
(Inherited from MatrixT.)
Public methodTryEnsureWritable(Int32, Int32, Int32, Int32)
Ensures that the element at the specified index in the vector can be written to.
(Inherited from MatrixT.)
Public methodTwoNorm
Returns the two-norm of this matrix.
(Inherited from MatrixT.)
Public methodUnscaleColumns(VectorT) Obsolete.
Unscales the columns of the matrix by the reciprocal of the values specified by a vector.
(Inherited from MatrixT.)
Public methodUnscaleColumnsInPlace
Unscales the columns of the matrix by the reciprocal of the values specified by a vector.
(Inherited from MatrixT.)
Public methodUnscaleRows(VectorT) Obsolete.
Unscales the rows of the matrix by the reciprocal of the values specified by a vector.
(Inherited from MatrixT.)
Public methodUnscaleRowsInPlace
Unscales the rows of the matrix by the reciprocal of the values specified by a vector.
(Inherited from MatrixT.)
Top
Extension Methods

  NameDescription
Public Extension MethodMakeDistributedT
Returns a distributed version of a matrix.
(Defined by DistributedExtensions.)
Public Extension MethodMeanT
Returns the means of the rows or columns of a matrix.
(Defined by AggregatorExtensions.)
Top
Remarks

Use the SparseCompressedColumnMatrixT class to represent sparse matrices. Only the nonzero elements of the matrix are stored. This not only saves memory, but also allows many calculations to be performed faster.

The compressed sparse column format stores the components in column-major order. Within each column, only the row indexes and the values of the nonzero components are stored.

The components of a sparse matrix can be specified in a variety of ways. A common method is to supply the rows, columns, and values of the nonzero components. Another way is to build up the matrix using the

Insert
methods: InsertEntry(T, Int32, Int32), InsertEntries(Double, Int32, Int32), InsertRow(Int32, Double, Int32), InsertColumn(Int32, Double, Int32), InsertClique(Matrix, Int32, Int32). Individual components can also be set, but this is generally less efficient.

Sparse matrices can also be read directly from values files in Matrix Market format. Use the MatrixMarketReader for this purpose.

The NonzeroCount property returns the number of nonzero components. The FillFactor property returns a number between 0 and 1 that is the proportion of nonzero components to the total number of components in the matrix. To iterate through the nonzero components of a sparse matrix, use the NonzeroComponents property. This property enumerates RowColumnValueTriplet objects, each containing the row, column, and value of a nonzero component.

A disadvantage of sparse matrices is that working with individual components tends to be slower. Every access usually requires a lookup in a list. To avoid duplicate lookups for elementary operations on components, use one of the specialized methods: AddAt(Int32, Int32, T), SubtractAt(Int32, Int32, T), MultiplyAt(Int32, Int32, T) and DivideAt(Int32, Int32, T).

Version Information

Numerical Libraries

Supported in: 5.x
See Also

Reference

Extreme.Mathematics.Generic.LinearAlgebra Namespace

Copyright (c) 2004-2016 ExoAnalytics Inc.

Send comments on this topic to support@extremeoptimization.com

Copyright © 2004-2018, Extreme Optimization. All rights reserved.
Extreme Optimization, Complexity made simple, M#, and M Sharp are trademarks of ExoAnalytics Inc.
Microsoft, Visual C#, Visual Basic, Visual Studio, Visual Studio.NET, and the Optimized for Visual Studio logo
are registered trademarks of Microsoft Corporation.