Pretty-print a float vector label.
Namespace: Stemmer.Cvb.SampleDatabase
Assembly: Stemmer.Cvb.SampleDatabase (in Stemmer.Cvb.SampleDatabase.dll) Version: 14.0.0.0
Syntax
public static string ToLabelString( this float[] arr, string format, string separator, char openingBracket, char closingBracket )
Parameters
- arr
- Type: SystemSingle
The array to apply the extension method to. - format
- Type: SystemString
Format string to use for printing. - separator
- Type: SystemString
The separator character to separate the vector entries with. - openingBracket
- Type: SystemChar
The opening bracket for outputting the vector content. - closingBracket
- Type: SystemChar
The closing bracket for outputting the vector content.
Return Value
Type: StringString representation of the vector label.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . 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