Click or drag to resize

JaggedArrayMatrix Class

JaggedArrayMatrix is a matrix implementation that is relatively easy to extend to the bottom, i.e. to append rows. It is horizontal oriented, i.e. the storage is as a number of horizontal vectors. Furthermore, as a compromise, it provides fully access to its underlying jagged array.
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.LinearAlgebraJaggedArrayMatrix

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class JaggedArrayMatrix : IMatrix<double>, 
	IROMatrix<double>, IBottomExtensibleMatrix<double>

The JaggedArrayMatrix type exposes the following members.

Constructors
 NameDescription
Public methodJaggedArrayMatrix(Double) Uses an already existing array for the matrix data.
Public methodJaggedArrayMatrix(Int32, Int32) Sets up an empty matrix with dimension(row,cols).
Public methodJaggedArrayMatrix(Double, Int32, Int32) Uses an already existing array for the matrix data.
Top
Properties
 NameDescription
Public propertyArray Provides direct access to the underlying jagged array. JaggedArrayMath can then be used to speed up computations.
Public propertyColumnCount Number of columns of the matrix.
Public propertyItem Element accessor. Accesses the element [row, col] of the matrix.
Public propertyRowCount Number of Rows of the matrix.
Top
Methods
 NameDescription
Public methodAppendBottom Appends the matrix a at the bottom of this matrix. Either this matrix must be empty (dimensions (0,0)) or the matrix to append must have the same number of columns than this matrix.
Public methodClear Clears the content of the matrix.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
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 methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSetDimension Set up the dimensions of the matrix. Discards the old content and reset the matrix with the new dimensions. All elements become zero.
Public methodToString Represents the content of the matrix as a string.
(Overrides ObjectToString)
Top
Extension Methods
 NameDescription
Public Extension MethodAny Determines whether any element of the provided matrix a fulfills the given predicate.
(Defined by MatrixMath)
Public Extension MethodCopyColumn Gets the column of a matrix copied into a vector.
(Defined by MatrixMath)
Public Extension MethodCopyColumn Gets the column of a matrix copied into a vector.
(Defined by MatrixMath)
Public Extension MethodCopyColumnDouble Copies one column of a source matrix into a destination matrix to a given row and column offset.
(Defined by MatrixMath)
Public Extension MethodCopyRow Gets the row of a matrix copied into a vector.
(Defined by MatrixMath)
Public Extension MethodCopyRow Gets the row of a matrix copied into a vector.
(Defined by MatrixMath)
Public Extension MethodMapIndexedDouble, T1
(Defined by MatrixMath)
Public Extension MethodMax Get the maximum value of all elements of the specified matrix a.
(Defined by MatrixMath)
Public Extension MethodMin Get the minimum value of all elements of the specified matrix a.
(Defined by MatrixMath)
Public Extension MethodNorm
(Defined by MatrixMath)
Public Extension MethodReplaceNaNAndInfiniteElementsWith Replaces all matrix elements that are NaN (Not a Number) or infinite with the value of replacementValue.
(Defined by MatrixMath)
Public Extension MethodReplaceNaNElementsWith Replaces all matrix elements that are NaN (not a number) with the value of replacementValue.
(Defined by MatrixMath)
Public Extension MethodSetColumn Gets the column of a matrix copied into a vector.
(Defined by MatrixMath)
Public Extension MethodSetColumn Gets the column of a matrix copied into a vector.
(Defined by MatrixMath)
Public Extension MethodSetMatrixElements Set all matrix elements to the provided value scalar.
(Defined by MatrixMath)
Public Extension MethodSetMatrixElements Sets the matrix elements to the value provided by a setter function Setter.
(Defined by MatrixMath)
Public Extension MethodSetRow Gets the row of a matrix copied into a vector.
(Defined by MatrixMath)
Public Extension MethodSetRow Gets the row of a matrix copied into a vector.
(Defined by MatrixMath)
Public Extension MethodSubMatrixT Gets a new submatrix, i.e. a matrix containing selected elements of the original matrix a.
(Defined by MatrixMath)
Public Extension MethodSubMatrixT Gets a new submatrix, i.e. a matrix containing selected elements of the original matrix a.
(Defined by MatrixMath)
Public Extension MethodSubMatrixT Gets a new submatrix, i.e. a matrix containing selected elements of the original matrix a.
(Defined by MatrixMath)
Public Extension MethodSubMatrixT Gets a new submatrix, i.e. a matrix containing selected elements of the original matrix a.
(Defined by MatrixMath)
Public Extension MethodSubMatrixT Gets a new submatrix, i.e. a matrix containing selected elements of the original matrix a.
(Defined by MatrixMath)
Public Extension MethodSubMatrixT Gets a new submatrix, i.e. a matrix containing selected elements of the original matrix a.
(Defined by MatrixMath)
Public Extension MethodToZeroMean Calculates the mean value of all matrix elements and then subtracts the mean value from each matrix element, so that the mean value of the resulting matrix is zero.
(Defined by MatrixMath)
Public Extension MethodToZeroMean Calculates the mean value of all matrix elements and then subtracts the mean value from each matrix element, so that the mean value of the resulting matrix is zero.
(Defined by MatrixMath)
Public Extension MethodTrace Get the trace of square matrix a, i.e. the sum of diagonal elements.
(Defined by MatrixMath)
Public Extension MethodZeroMatrix Set all elements in the matrix to 0 (zero)
(Defined by MatrixMath)
Top
See Also