 | FloatCsrSparseMatrixToString(String) Method |
Returns a formatted string representation of this matrix. Numbers are displayed
using the specified format.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntaxpublic string ToString(
string formatString
)
Public Function ToString (
formatString As String
) As String
public:
String^ ToString(
String^ formatString
)
member ToString :
formatString : string -> string
Parameters
- formatString String
- Format string used to format the matrix values.
Return Value
StringA formatted string representation of this matrix.
Remarks
The string format is:
[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
An example using
"c" as the format string.
3x3 [ $1.00 $2.00 ($3.00) $4.00 ($5.01) $6.00 $7.00 $8.00 $9.00 ]
See Also