VecToString(Double, Int32, Int32, FuncDouble, String, SByte) Method

Gets a text representation of a matrix.

Definition

Namespace: Austra.Library.Helpers
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+44e7797405725ef3cf24b3ff0eba94ce6c649601
C#
public static string ToString(
	this double[] data,
	int rowCount,
	int colCount,
	Func<double, string> formatter,
	sbyte triangularity
)

Parameters

data  Double
A 1D-array from a matrix.
rowCount  Int32
Number of rows.
colCount  Int32
Number of columns.
formatter  FuncDouble, String
Converts items to text.
triangularity  SByte
Which part of the matrix is significative.

Return Value

String
A text representation of the matrix.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Double. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also