public CSharpArrayFormatProvider(IFormatProvider innerProvider,
bool includeTypeName = true,
bool includeSemicolon = true)
: base(innerProvider)
{
FormatMatrixStart = includeTypeName ? "new double[] { " : "{ ";
FormatMatrixEnd = includeSemicolon ? " };" : " }";
FormatRowStart = "";
FormatRowEnd = "";
FormatColStart = "";
FormatColEnd = "";
FormatRowDelimiter = ", ";
FormatColDelimiter = ", ";
ParseMatrixStart = includeTypeName ? "new double[] {" : "{";
ParseMatrixEnd = includeSemicolon ? "};" : "}";
ParseRowStart = "";
ParseRowEnd = "";
ParseColStart = "";
ParseColEnd = "";
ParseRowDelimiter = "";
ParseColDelimiter = ",";
}