func Iamax(x Vector) int {
	if x.Inc < 0 {
		panic(negInc)
	}
	return cblas64.Icamax(x.N, x.Data, x.Inc)
}
Iamax returns the index of an element of x with the largest sum of
magnitudes of the real and imaginary parts (|Re x[i]|+|Im x[i]|).
If there are multiple such indices, the earliest is returned.

Iamax returns -1 if n == 0.

Iamax will panic if the vector increment is negative.
package cblas64
import (
	"gonum.org/v1/gonum/blas"
	"gonum.org/v1/gonum/blas/gonum"
)
var cblas64 blas.Complex64 = gonum.Implementation{}
func Use(b blas.Complex64) {
	cblas64 = b
}
func Implementation() blas.Complex64 {
	return cblas64
}
type Vector struct {
	N    int
	Inc  int
	Data []complex64
}
type General struct {
	Rows, Cols int
	Stride     int
	Data       []complex64
}
type Band struct {
	Rows, Cols int
	KL, KU     int
	Stride     int
	Data       []complex64
}
type Triangular struct {
	N      int
	Stride int
	Data   []complex64
	Uplo   blas.Uplo
	Diag   blas.Diag
}
type TriangularBand struct {
	N, K   int
	Stride int
	Data   []complex64
	Uplo   blas.Uplo
	Diag   blas.Diag
}
type TriangularPacked struct {
	N    int
	Data []complex64
	Uplo blas.Uplo
	Diag blas.Diag
}
type Symmetric struct {
	N      int
	Stride int
	Data   []complex64
	Uplo   blas.Uplo
}
type SymmetricBand struct {
	N, K   int
	Stride int
	Data   []complex64
	Uplo   blas.Uplo
}
type SymmetricPacked struct {
	N    int
	Data []complex64
	Uplo blas.Uplo
}
type Hermitian Symmetric
type HermitianBand SymmetricBand
type HermitianPacked SymmetricPacked
const (
	negInc    = "cblas64: negative vector increment"
	badLength = "cblas64: vector length mismatch"
)
func Dotu(x, y Vector) complex64 {
	if x.N != y.N {
		panic(badLength)
	}
	return cblas64.Cdotu(x.N, x.Data, x.Inc, y.Data, y.Inc)
}
func Dotc(x, y Vector) complex64 {
	if x.N != y.N {
		panic(badLength)
	}
	return cblas64.Cdotc(x.N, x.Data, x.Inc, y.Data, y.Inc)
}
func Nrm2(x Vector) float32 {
	if x.Inc < 0 {
		panic(negInc)
	}
	return cblas64.Scnrm2(x.N, x.Data, x.Inc)
}
func Asum(x Vector) float32 {
	if x.Inc < 0 {
		panic(negInc)
	}
	return cblas64.Scasum(x.N, x.Data, x.Inc)
}