| FloatComplexUpperTriMatrixToString Method |
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public override string ToString()
Public Overrides Function ToString As String
public:
virtual String^ ToString() override
abstract ToString : unit -> string
override ToString : unit -> string
Return Value
StringA string containing the formatted matrix values.
Remarks
The representation is:
rows x columns [ matrix values row by row ]
Zero values are printed.
Example
A 4 x 4 lower triangular matrix that looks like this:
| 1,4 2,-5 4,-7 7,0 |
| 0,0 3,9 -3,5 8,1 |
| 0,0 0,0 2,6 9,2 |
| 0,0 0,0 0,0 10,-1 |
would be converted to this string
4x4 [ (1,4) (2,-5) (4,-7) (7,0) (0,0) (3,9) (-3,5) (8,1) (0,0) (0,0) (2,6) (9,2) (0,0) (0,0) (0,0) (10,-1) ]
See Also