- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Sqrt (0.12 sec)
-
doc/go1.17_spec.html
the non-blank method and field names must be distinct. </p> <p> Given defined type <code>Point</code>, the declarations </p> <pre> func (p *Point) Length() float64 { return math.Sqrt(p.x * p.x + p.y * p.y) } func (p *Point) Scale(factor float64) { p.x *= factor p.y *= factor } </pre> <p> bind the methods <code>Length</code> and <code>Scale</code>,
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
doc/go_spec.html
the non-blank method and field names must be distinct. </p> <p> Given defined type <code>Point</code> the declarations </p> <pre> func (p *Point) Length() float64 { return math.Sqrt(p.x * p.x + p.y * p.y) } func (p *Point) Scale(factor float64) { p.x *= factor p.y *= factor } </pre> <p> bind the methods <code>Length</code> and <code>Scale</code>,
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu May 02 22:43:51 GMT 2024 - 279.6K bytes - Viewed (0)