Returns a formatted string representation of this vector.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public string ToString( string formatString ) |
| Visual Basic (Declaration) |
|---|
Public Function ToString ( _ formatString As String _ ) As String |
| Visual C++ |
|---|
public: String^ ToString( String^ formatString ) |
Parameters
- formatString
- Type: System..::.String
Format string used to format the vector values.
Return Value
A formatted string representation of the form [ v1 v2 v3 ... ] where each number is formatted using the specified formatString.
Remarks
Each number is formatted using DoubleComplex.ToString(formatString) where
formatString is the passed parameter. For example, "e" formats each
number in scientific format.