Click or drag to resize

MatrixExtensionsToString Method

Gets a text representation of a matrix.

Namespace: Austra.Library.Helpers
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.8.0+892c66cd78254e5a7ad663c063da400b3042cf5b
Syntax
C#
public static string ToString(
	this Span<double> values,
	int rowCount,
	int colCount,
	Func<double, string> formatter,
	sbyte triangularity
)

Parameters

values  SpanDouble
The values to be formatted.
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 SpanDouble. 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