Click or drag to resize

FloatUpperTriMatrixToString Method

Returns a formatted string representation of this matrix.

ToCommaSeparated

ToCommaSeparated(String)

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 string format is:
C#
rows x columns [ matrix values row by row ]
Zero values are printed.
Example
A 4 x 4 upper triangular matrix that looks like this:
C#
|  1  0  0  0  |
|  2  3  0  0  |
|  4  5  6  0  |
|  7  8  9  10 |
would be converted to this string:
C#
4x4 [ 1 0 0 0  2 3 0 0  4 5 6 0  7 8 9 0 ]
See Also