package cmplx64
import "gonum.org/v1/gonum/internal/cmplx64"
Package cmplx64 provides complex64 versions of standard library math/cmplx package routines used by gonum/blas.
Index ¶
- func Abs(x complex64) float32
- func Conj(x complex64) complex64
- func Inf() complex64
- func IsInf(x complex64) bool
- func IsNaN(x complex64) bool
- func NaN() complex64
- func Sqrt(x complex64) complex64
Functions ¶
func Abs ¶
Abs returns the absolute value (also called the modulus) of x.
func Conj ¶
Conj returns the complex conjugate of x.
func Inf ¶
func Inf() complex64
Inf returns a complex infinity, complex(+Inf, +Inf).
func IsInf ¶
IsInf returns true if either real(x) or imag(x) is an infinity.
func IsNaN ¶
IsNaN returns true if either real(x) or imag(x) is NaN and neither is an infinity.
func NaN ¶
func NaN() complex64
NaN returns a complex “not-a-number” value.
func Sqrt ¶
Sqrt returns the square root of x. The result r is chosen so that real(r) ≥ 0 and imag(r) has the same sign as imag(x).
Source Files ¶
abs.go conj.go doc.go isinf.go isnan.go sqrt.go
- Version
- v0.15.1 (latest)
- Published
- Aug 16, 2024
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 1 day ago –
Tools for package owners.