nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Math.Core / ToString

ToString

Full name Microsoft.VisualBasic.Math.Distributions.Summary.ToString Assembly Microsoft.VisualBasic.Math.Core Members 7

01 Syntax

Microsoft.VisualBasic.Math.Distributions.Summary.ToString

02 Methods

NameOverloadsSummary
Print 1 Print the formatted summary view of this SampleDistribution to the terminal console output.
ToDisplayText 1 Build a nicely formatted english summary text of this sample distribution, suitable for the terminal display.
Row 1 Append one aligned row: <label> : <value
FmtPair 1 Format a two values interval as [a, b]
FmtNum 1 Format a numeric value for display: N/A for NaN, scientific notation for very large or very small magnitude, otherwise fixed-point number with the thousands separators.
FmtPercent 1 Format a ratio value (like CV) as the percentage text.

03 Fields

NameOverloadsSummary
Locale 1 All of the numbers in the display view are formatted in invariant culture, so the output text is always in english style on any operating system locale.

04 Members

method Print #
Print(SampleDistribution, String, TextWriter)

Print the formatted summary view of this SampleDistribution to the terminal console output.

Parameters
NameTypeDescription
titleSampleDistribution

An optional title text at the top of the view.

outputString

Optional target text writer (for example a log file writer). By default the view is written to the console standard output.

method ToDisplayText #
ToDisplayText(SampleDistribution, String)

Build a nicely formatted english summary text of this sample distribution, suitable for the terminal display.

Remarks

The view text is pure ASCII characters and all of the numbers are culture-invariant formatted, so it can be displayed correctly on any terminal environment. NaN or infinite values will be shown as N/A.

method Row #
Row(StringBuilder, String, String, Int32, Int32)

Append one aligned row: <label> : <value>

method FmtPair #
FmtPair(Double())

Format a two values interval as [a, b]

method FmtNum #
FmtNum(Double)

Format a numeric value for display: N/A for NaN, scientific notation for very large or very small magnitude, otherwise fixed-point number with the thousands separators.

method FmtPercent #
FmtPercent(Double)

Format a ratio value (like CV) as the percentage text.

field Locale #
Locale

All of the numbers in the display view are formatted in invariant culture, so the output text is always in english style on any operating system locale.