コード例 #1
0
 /// <summary>
 ///   Returns a <see cref="System.String"/> that represents this instance.
 /// </summary>
 ///
 /// <returns>
 ///   A <see cref="System.String"/> that represents this instance.
 /// </returns>
 ///
 public string ToString(string format)
 {
     return(String.Format("T(x; df = {0}, μ = {1})",
                          DegreesOfFreedom.ToString(format), Noncentrality.ToString(format)));
 }
コード例 #2
0
 /// <summary>
 ///   Returns a <see cref="System.String"/> that represents this instance.
 /// </summary>
 ///
 /// <returns>
 ///   A <see cref="System.String"/> that represents this instance.
 /// </returns>
 ///
 public string ToString(string format, IFormatProvider formatProvider)
 {
     return(String.Format(formatProvider, "T(x; df = {0}, μ = {1})",
                          DegreesOfFreedom.ToString(format, formatProvider),
                          Noncentrality.ToString(format, formatProvider)));
 }