Versions in this module Expand all Collapse all v1 v1.0.0 Oct 9, 2017 Changes in this version + func Atan2p(y, x float64) (αrad float64) + func Atan2pDeg(y, x float64) (αdeg float64) + func Beta(a, b float64) float64 + func Binomial(n, k int) float64 + func Boxcar(x, a, b float64) float64 + func CarlsonRc(x, y float64) float64 + func CarlsonRd(x, y, z float64) float64 + func CarlsonRf(x, y, z float64) float64 + func CarlsonRj(x, y, z, p float64) float64 + func ChebyshevT(n int, x float64) float64 + func ChebyshevTdiff1(n int, x float64) float64 + func ChebyshevTdiff2(n int, x float64) float64 + func ChebyshevXgauss(N int) (X []float64) + func ChebyshevXlob(N int) (X []float64) + func Dft1d(data []complex128, inverse bool) + func Elliptic1(φ, k float64) float64 + func Elliptic2(φ, k float64) float64 + func Elliptic3(n, φ, k float64) float64 + func ExpMix(x float64) complex128 + func ExpPix(x float64) complex128 + func Factorial100(n int) big.Float + func Factorial22(n int) float64 + func Hat(x, xc, y0, h, l float64) float64 + func HatD1(x, xc, y0, h, l float64) float64 + func Heav(x float64) float64 + func ImagPowN(n int) complex128 + func ImagXpowN(x float64, n int) complex128 + func ModBesselI0(x float64) (ans float64) + func ModBesselI1(x float64) (ans float64) + func ModBesselIn(n int, x float64) (ans float64) + func ModBesselK0(x float64) float64 + func ModBesselK1(x float64) float64 + func ModBesselKn(n int, x float64) float64 + func NegOnePowN(n int) float64 + func PlotLagInterpI(Nvalues []int, gridType string, f Ss) + func PlotLagInterpL(N int, gridType string) + func PlotLagInterpW(N int, gridType string) + func PowP(x float64, n uint32) (r float64) + func Ramp(x float64) float64 + func Rbinomial(x, y float64) float64 + func Rect(x float64) float64 + func Sabs(x, eps float64) float64 + func SabsD1(x, eps float64) float64 + func SabsD2(x, eps float64) float64 + func Sign(x float64) float64 + func Sinc(x float64) float64 + func Sramp(x, β float64) float64 + func SrampD1(x, β float64) float64 + func SrampD2(x, β float64) float64 + func SuqCos(angle, expon float64) float64 + func SuqSin(angle, expon float64) float64 + func UintBinomial(n, k uint64) uint64 + type ChebyInterp struct + Bary bool + C *la.Matrix + Ci *la.Matrix + CoefI []float64 + CoefIs []float64 + CoefP []float64 + D1 *la.Matrix + D2 *la.Matrix + EstimationN int + Flip bool + Gamma []float64 + Gauss bool + Lam []float64 + N int + Nst bool + StdD2 bool + Trig bool + Wb []float64 + X []float64 + func NewChebyInterp(N int, gaussChebyshev bool) (o *ChebyInterp) + func (o *ChebyInterp) CalcCoefI(f Ss) + func (o *ChebyInterp) CalcCoefIs(f Ss) + func (o *ChebyInterp) CalcCoefP(f Ss) + func (o *ChebyInterp) CalcConvMats() + func (o *ChebyInterp) CalcD1() + func (o *ChebyInterp) CalcD2() + func (o *ChebyInterp) CalcErrorD1(dfdxAna Ss) (maxDiff float64) + func (o *ChebyInterp) CalcErrorD2(d2fdx2Ana Ss) (maxDiff float64) + func (o *ChebyInterp) EstimateMaxErr(f Ss, projection bool) (maxerr, xloc float64) + func (o *ChebyInterp) HierarchicalT(i int, x float64) float64 + func (o *ChebyInterp) I(x float64) (res float64) + func (o *ChebyInterp) Il(x float64) (res float64) + func (o *ChebyInterp) L(i int, x float64) float64 + func (o *ChebyInterp) P(x float64) (res float64) + type DataInterp struct + DisableHunt bool + Dy float64 + func NewDataInterp(Type string, p int, xx, yy []float64) (o *DataInterp) + func (o *DataInterp) P(x float64) float64 + func (o *DataInterp) Reset(xx, yy []float64) + type FourierInterp struct + A la.VectorC + Du la.Vector + Du1 la.Vector + Du1Hat la.VectorC + Du2 la.Vector + Du2Hat la.VectorC + DuHat la.VectorC + K la.Vector + N int + S la.VectorC + U la.Vector + X la.Vector + func NewFourierInterp(N int, smoothing string) (o *FourierInterp) + func (o *FourierInterp) CalcA() + func (o *FourierInterp) CalcAwithAliasRemoval(f Ss) + func (o *FourierInterp) CalcD(p int) + func (o *FourierInterp) CalcD1() + func (o *FourierInterp) CalcD2() + func (o *FourierInterp) CalcJ(k float64) int + func (o *FourierInterp) CalcK(j int) float64 + func (o *FourierInterp) CalcU(f Ss) + func (o *FourierInterp) Free() + func (o *FourierInterp) I(x float64) float64 + func (o *FourierInterp) Idiff(p int, x float64) float64 + func (o *FourierInterp) Plot(option, p int, f, dfdx, d2fdx2 Ss, argsF, argsI, argsD1, argsD2 *plt.A) + type GeneralOrthoPoly struct + Kind string + N int + func NewGeneralOrthoPoly(kind string, N int, alpha, beta float64) (o *GeneralOrthoPoly) + func (o *GeneralOrthoPoly) F(x float64) (res float64) + func (o *GeneralOrthoPoly) P(n int, x float64) (res float64) + type LagrangeInterp struct + Bary bool + D1 *la.Matrix + D2 *la.Matrix + Eta la.Vector + Lam la.Vector + N int + U la.Vector + UseEta bool + X la.Vector + func NewLagrangeInterp(N int, gridType string) (o *LagrangeInterp) + func (o *LagrangeInterp) CalcD1() + func (o *LagrangeInterp) CalcD2() + func (o *LagrangeInterp) CalcErrorD1(dfdxAna Ss) (maxDiff float64) + func (o *LagrangeInterp) CalcErrorD2(d2fdx2Ana Ss) (maxDiff float64) + func (o *LagrangeInterp) CalcU(f Ss) + func (o *LagrangeInterp) EstimateLebesgue() (ΛN float64) + func (o *LagrangeInterp) EstimateMaxErr(nStations int, f Ss) (maxerr, xloc float64) + func (o *LagrangeInterp) I(x float64) (res float64) + func (o *LagrangeInterp) L(i int, x float64) (lix float64) + func (o *LagrangeInterp) Om(x float64) (ω float64) + type Mm func(f, m *la.Matrix) + type Mss func(m *la.Matrix, a, b float64) + type Mv func(f *la.Matrix, v la.Vector) + type Sinusoid struct + A []float64 + Amplitude float64 + AngularFreq float64 + B []float64 + Frequency float64 + MeanValue float64 + Period float64 + PhaseShift float64 + TimeShift float64 + func NewSinusoidBasis(T, A0, A1, B1 float64) (o *Sinusoid) + func NewSinusoidEssential(T, A0, C1, θ float64) (o *Sinusoid) + func (o *Sinusoid) ApproxSquareFourier(N int) + func (o *Sinusoid) TestPeriodicity(tmin, tmax float64, npts int) bool + func (o *Sinusoid) Ybasis(t float64) (res float64) + func (o *Sinusoid) Yessen(t float64) float64 + type Ss func(s float64) float64 + type Sv func(v la.Vector) float64 + type Svs func(v la.Vector, s float64) float64 + type Tt func(f, t *la.Triplet) + type Tv func(f *la.Triplet, v la.Vector) + type Vs func(f la.Vector, s float64) + type Vss func(f la.Vector, a, b float64) + type Vv func(f, v la.Vector) + type Vvss func(u, v la.Vector, a, b float64) + type Vvvss func(u, v, w la.Vector, a, b float64)