Versions in this module Expand all Collapse all v1 v1.0.0 Jan 3, 2023 Changes in this version + func ComplexEqual(a, b complex128) bool + func Float64Equal(a, b float64) bool + func IsPowerOf2(x int) bool + func NextPowerOf2(x int) int + func PrettyClose(a, b []float64) bool + func PrettyClose2(a, b [][]complex128) bool + func PrettyClose2F(a, b [][]float64) bool + func PrettyCloseC(a, b []complex128) bool + func Segment(x []complex128, segs int, noverlap float64) [][]complex128 + func ToComplex(x []float64) []complex128 + func ToComplex2(x [][]float64) [][]complex128 + func ZeroPad(x []complex128, length int) []complex128 + func ZeroPad2(x []complex128) []complex128 + func ZeroPadF(x []float64, length int) []float64 + type Matrix struct + func MakeEmptyMatrix(dims []int) *Matrix + func MakeMatrix(x []complex128, dims []int) *Matrix + func MakeMatrix2(x [][]complex128) *Matrix + func (m *Matrix) Copy() *Matrix + func (m *Matrix) Dimensions() []int + func (m *Matrix) PrettyClose(n *Matrix) bool + func (m *Matrix) SetDim(x []complex128, dims []int) + func (m *Matrix) To2D() [][]complex128 + func (s *Matrix) Dim(dims []int) []complex128 + func (s *Matrix) SetValue(x complex128, dims []int) + func (s *Matrix) Value(dims []int) complex128