Click or drag to resize

SparseMatrixDataStorage, TypeToCommaSeparated Method (String)

Returns a formatted string representation of this matrix using commas and newlines. Numbers are formatted using the specified format string.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.4
Syntax
public string ToCommaSeparated(
	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
Cells are separated by tabs, rows by newlines.
Examples
An example using "c" as the format string.
$1.00,$2.00,($3.00)  
$4.00,($5.01),$6.00
$7.00,$8.00,$9.00
See Also