Click or drag to resize

FloatComplexLowerTriMatrixToString Method

Returns a formatted string representation of this matrix.

ToTabDelimited

ToTabDelimited(String)


Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public override string ToString()

Return Value

String
A string containing the formatted matrix values.
Remarks
The representation is:
C#
rows x columns [ matrix values row by row ]
Zero values are printed.
Example
A 4 x 4 lower triangular matrix that looks like this:
C#
|  1,4   0,0   0,0   0,0   |
|  2,-5  3,9   0,0   0,0   |
|  4,-7  -3,5  2,6   0,0   |
|  7,0   8,1   9,2   10,-1 |
would be converted to this string
C#
4x4 [ (1,4) (0,0) (0,0) (0,0)  (2,-5) (3,9) (0,0) (0,0)  (4,-7) (-3,5) (2,6) (0,0)  (7,0) (8,1) (9,2) (10,-1) ]
See Also