| FloatHermitianBandMatrixToString 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 string format is:
hb rows x columns [ matrix values row by row ]
where
hb is the half bandwidth. Zero values are printed.
Example
A 4 x 4 Hermitian matrix that looks like this:
| (0,0) (4,6) (7,2) (0,0) |
| (4,-6) (1,9) (5,4) (8,3) |
| (7,-2) (5,-4) (2,8) (1,1) |
| (0,-0) (8,-3) (1,-1) (3,2) |
would be converted to this string:
2 4x4 [ (0,0) (4,6) (7,2) (0,0) (4,-6) (1,9) (5,4) (8,3) (7,-2) (5,-4) (2,8) (1,1) (0,0) (8,-3) (1,-1) (3,2) ]
See Also