Click or drag to resize

FloatHermitianBandMatrixToString(String) Method

Returns a formatted string representation of this matrix. Numbers are displayed using the specified format.

ToTabDelimited

ToTabDelimited(String)


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

Parameters

formatString  String
A format string used to format the matrix values.

Return Value

String
A string containing the formatted matrix values.
Remarks
The string format is:
C#
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 with format string of "F1":
C#
| (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:
C#
2 4x4 [ (0.0,0.0) (4.0,6.0) (7.0,2.0) (0.0,0.0)  (4.0,-6.0) (1.0,9.0) (5.0,4.0) (8.0,3.0)  (7.0,-2.0) (5.0,-4.0) (2.0,8.0) (1.0,1.0)  (0.0,0.0) (8.0,-3.0) (1.0,-1.0) (3.0,2.0) ]
See Also