cmplx64

package
Version: v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2021 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package cmplx64 provides complex64 versions of standard library math/cmplx package routines used by gonum/blas.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abs

func Abs(x complex64) float32

Abs returns the absolute value (also called the modulus) of x.

func Conj

func Conj(x complex64) complex64

Conj returns the complex conjugate of x.

func Inf

func Inf() complex64

Inf returns a complex infinity, complex(+Inf, +Inf).

func IsInf

func IsInf(x complex64) bool

IsInf returns true if either real(x) or imag(x) is an infinity.

func IsNaN

func IsNaN(x complex64) bool

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

func Sqrt(x complex64) complex64

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).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto