Files
gonum/native/dlapy2.go
kortschak 4813c5ed41 native: mark internal routines
These (generally) cannot be made unexported because we test via
testlapack.

Also fix a name and some capitalisation.
2016-03-21 06:27:36 +10:30

15 lines
397 B
Go

// Copyright ©2015 The gonum Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package native
import "math"
// Dlapy2 is the LAPACK version of math.Hypot.
//
// Dlapy2 is an internal routine. It is exported for testing purposes.
func (Implementation) Dlapy2(x, y float64) float64 {
return math.Hypot(x, y)
}