package complex
import "github.com/mmcloughlin/avo/examples/complex"
Package complex shows how to work with complex types in avo.
Index ¶
Functions ¶
func Imag ¶
func Imag(z complex128) float64
Imag returns the imaginary part of z.
func Norm ¶
func Norm(z complex128) float64
Norm returns the complex norm of z.
func Real ¶
func Real(z complex128) float64
Real returns the real part of z.
Source Files ¶
- Version
- v0.6.0 (latest)
- Published
- Jan 7, 2024
- Platform
- linux/amd64
- Last checked
- 1 month ago –
Tools for package owners.