Returns a formatted string representation of this matrix.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public override string ToString()
Visual Basic (Declaration)
Public Overrides Function ToString As String
Visual C++
public:
virtual String^ ToString() override

Return Value

A string containing the formatted matrix values.

Remarks

The string format is:
CopyC#
[number of rows]x[number of columns] [ matrix values row by row ]
A space is placed between rows.

Examples

CopyC#
3x3 [ 1 2 -3  4 5.006 6  7 8 9 ]

See Also