Versions in this module Expand all Collapse all v1 v1.1.3 May 13, 2020 v1.1.2 May 13, 2020 v1.1.1 Aug 10, 2019 v1.1.0 Feb 27, 2019 Changes in this version type Params + func NewParams(pp ...interface{}) (o Params) + func (o *Params) CheckAndSetVariables(names []string, variables []*float64) + func (o *Params) GetBool(name string) bool + func (o *Params) GetBoolOrDefault(name string, defaultValue bool) bool + func (o *Params) GetIntOrDefault(name string, defaultInt int) int + func (o *Params) GetValue(name string) float64 + func (o *Params) GetValueOrDefault(name string, defaultValue float64) float64 + func (o *Params) SetBool(name string, value float64) + func (o *Params) SetValue(name string, value float64) v1.0.1 Oct 1, 2017 Changes in this version type Params + func (o *Params) ConnectSetOpt(V []*float64, names []string, optional []bool, caller string) (errorMessage string) v0 v0.1.0 Nov 10, 2023 Changes in this version + var One = Cte + func CheckDerivT(tst *testing.T, o T, t0, tf float64, xcte []float64, np int, tskip []float64, ...) + func CheckDerivX(tst *testing.T, o T, tcte float64, xmin, xmax []float64, np int, ...) + func PlotT(o T, dirout, fnkey string, t0, tf float64, xcte []float64, np int) + func PlotX(o T, dirout, fnkey string, tcte float64, xmin, xmax []float64, np int) + type Add struct + A float64 + B float64 + Fa T + Fb T + func (o *Add) Init(prms Params) (err error) + func (o Add) F(t float64, x []float64) float64 + func (o Add) G(t float64, x []float64) float64 + func (o Add) Grad(v []float64, t float64, x []float64) + func (o Add) H(t float64, x []float64) float64 + type Cdist struct + func (o *Cdist) Init(prms Params) (err error) + func (o Cdist) F(t float64, x []float64) float64 + func (o Cdist) G(t float64, x []float64) float64 + func (o Cdist) Grad(v []float64, t float64, x []float64) + func (o Cdist) H(t float64, x []float64) float64 + type Cos struct + A float64 + B float64 + C float64 + func (o *Cos) Init(prms Params) (err error) + func (o Cos) F(t float64, x []float64) float64 + func (o Cos) G(t float64, x []float64) float64 + func (o Cos) Grad(v []float64, t float64, x []float64) + func (o Cos) H(t float64, x []float64) float64 + type Cte struct + C float64 + var Zero Cte + func (o *Cte) Init(prms Params) (err error) + func (o Cte) F(t float64, x []float64) float64 + func (o Cte) G(t float64, x []float64) float64 + func (o Cte) Grad(v []float64, t float64, x []float64) + func (o Cte) H(t float64, x []float64) float64 + type CutSin struct + A float64 + B float64 + C float64 + func (o *CutSin) Init(prms Params) (err error) + func (o CutSin) F(t float64, x []float64) float64 + func (o CutSin) G(t float64, x []float64) float64 + func (o CutSin) Grad(v []float64, t float64, x []float64) + func (o CutSin) H(t float64, x []float64) float64 + type Exc1 struct + A float64 + B float64 + func (o *Exc1) Init(prms Params) (err error) + func (o Exc1) F(t float64, x []float64) float64 + func (o Exc1) G(t float64, x []float64) float64 + func (o Exc1) Grad(v []float64, t float64, x []float64) + func (o Exc1) H(t float64, x []float64) float64 + type Exc2 struct + A float64 + B float64 + Ta float64 + func (o *Exc2) Init(prms Params) (err error) + func (o Exc2) F(t float64, x []float64) float64 + func (o Exc2) G(t float64, x []float64) float64 + func (o Exc2) Grad(v []float64, t float64, x []float64) + func (o Exc2) H(t float64, x []float64) float64 + type Halo struct + func (o *Halo) Init(prms Params) (err error) + func (o Halo) F(t float64, x []float64) float64 + func (o Halo) G(t float64, x []float64) float64 + func (o Halo) Grad(v []float64, t float64, x []float64) + func (o Halo) H(t float64, x []float64) float64 + type Lin struct + M float64 + Ts float64 + func (o *Lin) Init(prms Params) (err error) + func (o Lin) F(t float64, x []float64) float64 + func (o Lin) G(t float64, x []float64) float64 + func (o Lin) Grad(v []float64, t float64, x []float64) + func (o Lin) H(t float64, x []float64) float64 + type Mul struct + Fa T + Fb T + func (o *Mul) Init(prms Params) (err error) + func (o Mul) F(t float64, x []float64) float64 + func (o Mul) G(t float64, x []float64) float64 + func (o Mul) Grad(v []float64, t float64, x []float64) + func (o Mul) H(t float64, x []float64) float64 + type P struct + Adj int + D string + Dep int + Extra string + Fcn T + Inact bool + Max float64 + Min float64 + N string + Other *P + S float64 + SetDef bool + U string + V float64 + func (o *P) Connect(V *float64) + func (o *P) Set(V float64) + type Params []*P + func (o *Params) CheckAndGetValues(names []string) (values []float64) + func (o *Params) CheckAndSetVars(names []string, variables []*float64) + func (o *Params) CheckLimits() + func (o *Params) Connect(V *float64, name, caller string) (err string) + func (o *Params) ConnectSet(V []*float64, names []string, caller string) (err string) + func (o *Params) Find(name string) *P + func (o *Params) GetValues(names []string) (values []float64, found []bool) + func (o Params) String() (l string) + type Pts struct + func (o *Pts) Init(prms Params) (err error) + func (o Pts) F(t float64, x []float64) float64 + func (o Pts) G(t float64, x []float64) float64 + func (o Pts) Grad(v []float64, t float64, x []float64) + func (o Pts) H(t float64, x []float64) float64 + type Pulse struct + Ca float64 + Cb float64 + Ta float64 + Tb float64 + func (o *Pulse) Init(prms Params) (err error) + func (o Pulse) F(t float64, x []float64) float64 + func (o Pulse) G(t float64, x []float64) float64 + func (o Pulse) Grad(v []float64, t float64, x []float64) + func (o Pulse) H(t float64, x []float64) float64 + type RefDecGen struct + A float64 + B float64 + func (o *RefDecGen) Init(prms Params) (err error) + func (o RefDecGen) F(t float64, x []float64) float64 + func (o RefDecGen) G(t float64, x []float64) float64 + func (o RefDecGen) Grad(v []float64, t float64, x []float64) + func (o RefDecGen) H(t float64, x []float64) float64 + type RefDecSp1 struct + func (o *RefDecSp1) Init(prms Params) (err error) + func (o RefDecSp1) F(t float64, x []float64) float64 + func (o RefDecSp1) G(t float64, x []float64) float64 + func (o RefDecSp1) Grad(v []float64, t float64, x []float64) + func (o RefDecSp1) H(t float64, x []float64) float64 + type RefIncRL1 struct + func (o *RefIncRL1) Init(prms Params) (err error) + func (o RefIncRL1) F(t float64, x []float64) float64 + func (o RefIncRL1) G(t float64, x []float64) float64 + func (o RefIncRL1) Grad(v []float64, t float64, x []float64) + func (o RefIncRL1) H(t float64, x []float64) float64 + type Rmp struct + Ca float64 + Cb float64 + Ta float64 + Tb float64 + func (o *Rmp) Init(prms Params) (err error) + func (o Rmp) F(t float64, x []float64) float64 + func (o Rmp) G(t float64, x []float64) float64 + func (o Rmp) Grad(v []float64, t float64, x []float64) + func (o Rmp) H(t float64, x []float64) float64 + type Sin struct + A float64 + B float64 + C float64 + func (o *Sin) Init(prms Params) (err error) + func (o Sin) F(t float64, x []float64) float64 + func (o Sin) G(t float64, x []float64) float64 + func (o Sin) Grad(v []float64, t float64, x []float64) + func (o Sin) H(t float64, x []float64) float64 + type Srmps struct + Ca float64 + Cb float64 + Ta float64 + Tb float64 + func (o *Srmps) Init(prms Params) (err error) + func (o Srmps) F(t float64, x []float64) float64 + func (o Srmps) G(t float64, x []float64) float64 + func (o Srmps) Grad(v []float64, t float64, x []float64) + func (o Srmps) H(t float64, x []float64) float64 + type T interface + F func(t float64, x []float64) float64 + G func(t float64, x []float64) float64 + Grad func(v []float64, t float64, x []float64) + H func(t float64, x []float64) float64 + Init func(prms Params) error + func New(name string, prms Params) (T, error) + type Xpoly1 struct + func (o *Xpoly1) Init(prms Params) (err error) + func (o Xpoly1) F(t float64, x []float64) float64 + func (o Xpoly1) G(t float64, x []float64) float64 + func (o Xpoly1) Grad(v []float64, t float64, x []float64) + func (o Xpoly1) H(t float64, x []float64) float64 + type Xpoly2 struct + func (o *Xpoly2) Init(prms Params) (err error) + func (o Xpoly2) F(t float64, x []float64) float64 + func (o Xpoly2) G(t float64, x []float64) float64 + func (o Xpoly2) Grad(v []float64, t float64, x []float64) + func (o Xpoly2) H(t float64, x []float64) float64