mirror of
https://github.com/gonum/gonum.git
synced 2025-10-21 14:19:35 +08:00
remove unneeded print-comment
The sentence was a bit of a non-sequitur.
This commit is contained in:
@@ -19,7 +19,6 @@ func ExampleCorrelation() {
|
|||||||
|
|
||||||
fmt.Println("Correlation computes the degree to which two datasets move together")
|
fmt.Println("Correlation computes the degree to which two datasets move together")
|
||||||
fmt.Println("about their mean. For example, x and y above move similarly.")
|
fmt.Println("about their mean. For example, x and y above move similarly.")
|
||||||
fmt.Println("Package can be used to compute the mean and standard deviation.")
|
|
||||||
|
|
||||||
c := Correlation(x, y, w)
|
c := Correlation(x, y, w)
|
||||||
fmt.Printf("Correlation is %.5f\n", c)
|
fmt.Printf("Correlation is %.5f\n", c)
|
||||||
@@ -27,7 +26,6 @@ func ExampleCorrelation() {
|
|||||||
// Output:
|
// Output:
|
||||||
// Correlation computes the degree to which two datasets move together
|
// Correlation computes the degree to which two datasets move together
|
||||||
// about their mean. For example, x and y above move similarly.
|
// about their mean. For example, x and y above move similarly.
|
||||||
// Package can be used to compute the mean and standard deviation.
|
|
||||||
// Correlation is 0.59915
|
// Correlation is 0.59915
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user