Click or drag to resize

MatrixTToMatrixString(Int32, Int32, Int32, Int32, Int32, String, String, String, String, String, FuncT, String) Method

Formats the matrix within a maximum width using separate row and column ellipsis controls.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public string ToMatrixString(
	int upperRows,
	int lowerRows,
	int minLeftColumns,
	int rightColumns,
	int maxWidth,
	string horizontalEllipsis,
	string verticalEllipsis,
	string diagonalEllipsis,
	string columnSeparator,
	string rowSeparator,
	Func<T, string> formatValue
)

Parameters

upperRows  Int32
The number of rows to show from the top.
lowerRows  Int32
The number of rows to show from the bottom.
minLeftColumns  Int32
The minimum number of columns to show from the left.
rightColumns  Int32
The number of columns to show from the right.
maxWidth  Int32
The maximum target width.
horizontalEllipsis  String
The string used for omitted columns.
verticalEllipsis  String
The string used for omitted rows.
diagonalEllipsis  String
The string used when both rows and columns are omitted.
columnSeparator  String
The separator between columns.
rowSeparator  String
The separator between rows.
formatValue  FuncT, String
The delegate used to format values.

Return Value

String
The formatted matrix string.
See Also