mirror of
https://github.com/gonum/gonum.git
synced 2025-11-02 23:14:01 +08:00
spatial/r3,stat: remove repeated words in comments
This commit is contained in:
@@ -40,7 +40,7 @@ func (t Triangle) IsDegenerate(tol float64) bool {
|
||||
}
|
||||
|
||||
// longIdx returns index of the longest side. The sides
|
||||
// of the triangles are are as follows:
|
||||
// of the triangles are as follows:
|
||||
// - Side 0 formed by vertices 0 and 1
|
||||
// - Side 1 formed by vertices 1 and 2
|
||||
// - Side 2 formed by vertices 0 and 2
|
||||
|
||||
@@ -193,7 +193,7 @@ func ExampleTOC_aUC_unweighted() {
|
||||
aucNTP := integrate.Trapezoidal(x, ntp)
|
||||
aucMin := pos * pos / 2
|
||||
|
||||
// Calculate the the area under the curve
|
||||
// Calculate the area under the curve
|
||||
// within the bounding parallelogram.
|
||||
auc := aucNTP - aucMin
|
||||
|
||||
@@ -228,7 +228,7 @@ func ExampleTOC_aUC_weighted() {
|
||||
aucMin := integrate.Trapezoidal(x, min)
|
||||
aucMax := integrate.Trapezoidal(x, max)
|
||||
|
||||
// Calculate the the area under the curve
|
||||
// Calculate the area under the curve
|
||||
// within the bounding parallelogram.
|
||||
auc := aucNTP - aucMin
|
||||
|
||||
|
||||
Reference in New Issue
Block a user