Altaxo user manual and class reference
Altaxo user manual and class reference
Altaxo class reference
Altaxo Namespaces
Altaxo.Calc Namespaces
Altaxo.Calc.LinearAlgebra
MatrixMath Class
MatrixMath Methods
Add Method
AddRow Method
Any Method
Clear<T> Method
Clear_DefaultImpl<T> Method
ColumnsToZeroMean Method
ColumnsToZeroMeanAndUnitVariance Method
ColumnToROVector<T> Method
ColumnToVector<T> Method
Copy Method
CopyColumn Method
CopyRow Method
DenseOfMatrix<T> Method
DivideRow Method
EnumerateElementsIndexed<T> Method
GetMatrixArray Method
GetSingularValueDecomposition Method
Hypotenuse Method
InvertDiagonalMatrix Method
IsEqual Method
IsZeroMatrix Method
LengthOf Method
Map Method
MapIndexed Method
MatrixToString Method
Max Method
Min Method
Multiply Method
MultiplyFirstTransposed Method
MultiplyRow Method
MultiplyScalar Method
MultiplySecondTransposed Method
MultiplyVectorFromLeftAndRight Method
NIPALS_HO Method
Norm Method
NormalizeCols Method
NormalizeOneColumn Method
NormalizeRows Method
PseudoInverse Method
ReplaceNaNAndInfiniteElementsWith Method
ReplaceNaNElementsWith Method
RowToROVector Method
RowToVector Method
SetColumn Method
SetMatrixElements Method
SetRow Method
Square Method
SubMatrix Method
Overload:Altaxo.Calc.LinearAlgebra.MatrixMath.SubMatrix
Subtract Method
SubtractColumn Method
SubtractProductFromSelf Method
SubtractRow Method
SumOfSquaredDifferences Method
SumOfSquares Method
ToMatrix Method
ToMatrixFromColumnMajorLinearArray<T> Method
ToMatrixFromLeftSpineJaggedArray<T> Method
ToMatrixFromTopSpineJaggedArray<T> Method
ToRODiagonalMatrix<T> Method
ToROMatrix Method
ToROMatrixFromColumnMajorLinearArray<T> Method
ToROMatrixFromLeftSpineJaggedArray<T> Method
ToROMatrixFromTopSpineJaggedArray<T> Method
ToROMatrixWithOneColumn<T> Method
ToROMatrixWithOneRow<T> Method
ToROSubMatrix<T> Method
ToSubMatrix<T> Method
ToZeroMean Method
Trace Method
ZeroMatrix Method
Matrix
Math
Trace Method
Get the trace of square matrix
a
, i.e. the sum of diagonal elements.
Namespace:
Altaxo.Calc.LinearAlgebra
Assembly:
AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
Copy
public
static
double
Trace
(
this
IROMatrix
<
double
>
a
)
Parameters
a
IROMatrix
Double
The matrix.
Return Value
Double
Trace of square matrix
a
, i.e. the sum of diagonal elements.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IROMatrix
Double
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
MatrixMath Class
Altaxo.Calc.LinearAlgebra Namespace
Altaxo can be downloaded from
SourceForge
. Source code available on
Github
.
(C) Dr. Dirk Lellinger and all contributors to the source code 2002 -
Send comments on this topic to
dlellinger@users.sourceforge.net