Click or drag to resize

FloatComplexTriDiagMatrixToString Method (String)

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

You can also use these methods to format a matrix:

ToTabDelimited

ToTabDelimited(String)

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

Parameters

formatString
Type: SystemString
Format string used to format the matrix values.

Return Value

Type: String
A string containing the formatted matrix values.
Remarks
The string format is:
rows x columns [ matrix values, one space between cells and two between rows ]
Examples
With format string of "F1"
4x4 [ (2.0,0.0) (4.0,0.0) (0.0,0.0) (0.0,0.0)  (3.0,0.0) (5.0,0.0) (7.0,0.0) (0.0,0.0)  (0.0,0.0) (2.0,0.0) (-3.0, 4.0) (6.0,-4.0)  (0.0,0.0) (0.0,0.0) (-4.3, 5.0) (17.2, -0.1) ]
See Also