Click or drag to resize

FloatComplexCsrSparseMatrixToString(String) Method

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

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

Parameters

formatString  String
Format string used to format the matrix values.

Return Value

String
A formatted string representation of this matrix.
Remarks
The string format is:
C#
[number of rows]x[number of columns] [ matrix values row by row]
A space is placed between rows. Each number is formatted using Double.ToString(formatString) where formatString is the passed parameter.
Example
For example, with format string of "C"
C#
2x2 [ ($1.00,$0.00) ($2.00,($1.20))  ($3.30,$0.00) ($4.00,$3.13) ]
A space is placed between rows.
See Also