Click or drag to resize

SparseCompressedRowMatrixStorageT Class

[Missing <summary> documentation for "T:Altaxo.Calc.LinearAlgebra.Storage.SparseCompressedRowMatrixStorage`1"]

Inheritance Hierarchy
SystemObject
  Altaxo.Calc.LinearAlgebra.StorageMatrixStorageT
    Altaxo.Calc.LinearAlgebra.StorageSparseCompressedRowMatrixStorageT

Namespace: Altaxo.Calc.LinearAlgebra.Storage
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
[SerializableAttribute]
public class SparseCompressedRowMatrixStorage<T> : MatrixStorage<T>
where T : struct, new(), IEquatable<T>, IFormattable

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "T:Altaxo.Calc.LinearAlgebra.Storage.SparseCompressedRowMatrixStorage`1"]

The SparseCompressedRowMatrixStorageT type exposes the following members.

Properties
 NameDescription
Public propertyIsDense True if the matrix storage format is dense.
(Overrides MatrixStorageTIsDense)
Public propertyIsFullyMutable True if all fields of this matrix can be set to any value. False if some fields are fixed, like on a diagonal matrix.
(Overrides MatrixStorageTIsFullyMutable)
Public propertyItem Gets or sets the value at the given row and column, with range checking.
(Inherited from MatrixStorageT)
Public propertyValueCount Gets the number of non zero elements in the matrix.
Top
Methods
 NameDescription
Public methodAsArray
(Inherited from MatrixStorageT)
Public methodAsColumnArrays
(Inherited from MatrixStorageT)
Public methodAsColumnMajorArray
(Inherited from MatrixStorageT)
Public methodAsRowArrays
(Inherited from MatrixStorageT)
Public methodAsRowMajorArray
(Inherited from MatrixStorageT)
Public methodAt(Int32, Int32) Retrieves the requested element without range checking.
(Overrides MatrixStorageTAt(Int32, Int32))
Public methodAt(Int32, Int32, T) Sets the element without range checking.
(Overrides MatrixStorageTAt(Int32, Int32, T))
Public methodClear
(Overrides MatrixStorageTClear)
Public methodClear(Int32, Int32, Int32, Int32)
(Inherited from MatrixStorageT)
Public methodClearColumns
(Inherited from MatrixStorageT)
Public methodClearRows
(Inherited from MatrixStorageT)
Public methodCopyColumnTo
(Inherited from MatrixStorageT)
Public methodCopyRowTo
(Inherited from MatrixStorageT)
Public methodCopySubColumnTo
(Inherited from MatrixStorageT)
Public methodCopySubMatrixTo
(Inherited from MatrixStorageT)
Public methodCopySubRowTo
(Inherited from MatrixStorageT)
Public methodCopyTo
(Inherited from MatrixStorageT)
Public methodEnumerate
(Overrides MatrixStorageTEnumerate)
Public methodEnumerateIndexed
(Overrides MatrixStorageTEnumerateIndexed)
Public methodEnumerateNonZero
(Overrides MatrixStorageTEnumerateNonZero)
Public methodEnumerateNonZeroIndexed
(Overrides MatrixStorageTEnumerateNonZeroIndexed)
Public methodEquals(MatrixStorageT) Indicates whether the current object is equal to another object of the same type.
(Inherited from MatrixStorageT)
Public methodEquals(Object) Determines whether the specified Object is equal to the current Object.
(Inherited from MatrixStorageT)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodFind
(Overrides MatrixStorageTFind(FuncT, Boolean, Zeros))
Public methodFind2TOther
(Inherited from MatrixStorageT)
Public methodFindItem Find item Index in nonZeroValues array
Public methodFold2TOther, TState
(Inherited from MatrixStorageT)
Public methodFoldByColumnTU
(Inherited from MatrixStorageT)
Public methodFoldByRowTU
(Inherited from MatrixStorageT)
Public methodGetHashCode Returns a hash code for this instance.
(Overrides MatrixStorageTGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsMutableAt True if the specified field can be set to any value. False if the field is fixed, like an off-diagonal field on a diagonal matrix.
(Overrides MatrixStorageTIsMutableAt(Int32, Int32))
Public methodMap2To
(Inherited from MatrixStorageT)
Public methodMapIndexedInplace
(Overrides MatrixStorageTMapIndexedInplace(FuncInt32, Int32, T, T, Zeros))
Public methodMapIndexedToTU
(Inherited from MatrixStorageT)
Public methodMapInplace
(Overrides MatrixStorageTMapInplace(FuncT, T, Zeros))
Public methodMapSubMatrixIndexedToTU
(Inherited from MatrixStorageT)
Public methodMapToTU
(Inherited from MatrixStorageT)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodNormalize 
Public methodNormalizeDuplicates Eliminate duplicate entries by adding them together.
Public methodNormalizeOrdering 
Public methodNormalizeZeros 
Public methodStatic memberOfArray 
Public methodStatic memberOfColumnArrays 
Public methodStatic memberOfColumnEnumerables 
Public methodStatic memberOfColumnMajorList 
Public methodStatic memberOfColumnVectors 
Public methodStatic memberOfCompressedSparseColumnFormat Create a new sparse matrix storage from a compressed sparse column (CSC) format. This new storage will be independent from the given arrays. A new memory block will be allocated.
Public methodStatic memberOfCompressedSparseRowFormat Create a new sparse storage from a compressed sparse row (CSR) format. This new storage will be independent from the given arrays. A new memory block will be allocated for storing the matrix.
Public methodStatic memberOfCoordinateFormat Create a new sparse storage from a coordinate (COO) format. This new storage will be independent from the given arrays. A new memory block will be allocated for storing the matrix.
Public methodStatic memberOfDiagonalInit 
Public methodStatic memberOfIndexedEnumerable(Int32, Int32, IEnumerableTupleInt32, Int32, T) 
Public methodStatic memberOfIndexedEnumerable(Int32, Int32, IEnumerableValueTupleInt32, Int32, T) 
Public methodStatic memberOfInit 
Public methodStatic memberOfMatrix 
Public methodStatic memberOfRowArrays 
Public methodStatic memberOfRowEnumerables 
Public methodStatic memberOfRowMajorEnumerable 
Public methodStatic memberOfRowVectors 
Public methodStatic memberOfValue 
Public methodPopulateExplicitZerosOnDiagonal Fill zeros explicitly on the diagonal entries as required by the Intel MKL direct sparse solver.
Public methodToArray
(Overrides MatrixStorageTToArray)
Public methodToColumnArrays
(Overrides MatrixStorageTToColumnArrays)
Public methodToColumnMajorArray
(Overrides MatrixStorageTToColumnMajorArray)
Public methodToRowArrays
(Overrides MatrixStorageTToRowArrays)
Public methodToRowMajorArray
(Overrides MatrixStorageTToRowMajorArray)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTransposeTo
(Inherited from MatrixStorageT)
Top
Fields
 NameDescription
Public fieldColumnCount
(Inherited from MatrixStorageT)
Public fieldColumnIndices An array containing the column indices of the non-zero values. Element "j" of the array is the number of the column in matrix that contains the j-th value in the Values array.
Public fieldRowCount
(Inherited from MatrixStorageT)
Public fieldRowPointers The array containing the row indices of the existing rows. Element "i" of the array gives the index of the element in the Values array that is first non-zero element in a row "i". The last value is equal to ValueCount, so that the number of non-zero entries in row "i" is always given by RowPointers[i+i] - RowPointers[i]. This array thus has length RowCount+1.
Public fieldValues Array that contains the non-zero elements of matrix. Values of the non-zero elements of matrix are mapped into the values array using the row-major storage mapping described in a compressed sparse row (CSR) format.
Top
See Also