Returns a formatted string representation of this matrix.
Namespace:
CenterSpace.NMath.MatrixAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public override string ToString() |
| Visual Basic (Declaration) |
|---|
Public Overrides Function ToString As String |
| Visual C++ |
|---|
public: virtual String^ ToString() override |
Return Value
A string containing the formatted matrix values.
Remarks
The string format is:
CopyC#
where hb is the half bandwidth . Zero values are printed.
hb rows x columns [ matrix values row by row ]
Examples
1 8x8 [ 2 5 0 0 0 0 0 0 5 6 9 0 0 0 0 0 0 9 10 13 0 0 0 0 0 0 13 14 17 0 0 0 0 0 0 17 18 21 0 0 0 0 0 0 21 22 25 0 0 0 0 0 0 25 26 29 0 0 0 0 0 0 29 30 ]