~/bend-docscommunity

src/core/ma.bend checks

raw source on the hub · import bend-ta@0.1.0.0/src/core/ma.bend as Ma

8 imports
import Base
import ./config.bend as Config
import ./parameters.bend as Parameters
import ./window.bend as Window
import ./rolling_average.bend as Average
import ./ema.bend as Ema
import ./vidya.bend as Vidya
import ./mama.bend as Mama

Types

type AdaptiveCache source · line 10 · raw

@-N:Data -> Data

type State source · line 13 · raw

@-N:Data -> Type

type Changes source · line 75 · raw

@-N:Data -> Data

type Dot source · line 135 · raw

@-N:Data -> Data

Definitions

def buffer_depth source · line 236 · raw

@+period:U32 -> Nat

def root.go source · line 239 · raw

@fuel:Nat -> @+low:U32 -> @+high:U32 -> @+period:U32 -> U32

def Kind.SMA source · line 288 · raw

U32

def Kind.EMA source · line 289 · raw

U32

def Kind.WMA source · line 290 · raw

U32

def Kind.DEMA source · line 291 · raw

U32

def Kind.TEMA source · line 292 · raw

U32

def Kind.TRIMA source · line 293 · raw

U32

def Kind.KAMA source · line 294 · raw

U32

def Kind.MAMA source · line 295 · raw

U32

def Kind.T3 source · line 296 · raw

U32

def Kind.HMA source · line 297 · raw

U32

def Kind.Identity source · line 298 · raw

U32

def Kind.ZLEMA source · line 299 · raw

U32

def Kind.RMA source · line 300 · raw

U32

def Kind.VIDYA source · line 301 · raw

U32

def Kind.ALMA source · line 302 · raw

U32

def supported source · line 326 · raw

@+kind:U32 -> Bool

def valid source · line 334 · raw

@+period:U32 -> @+kind:U32 -> Bool

def lookback.selected source · line 339 · raw

@+period:U32 -> @kind:Nat -> U32

def lookback source · line 353 · raw

@+period:U32 -> @kind:U32 -> U32

Templates

template cascade.stages source · line 26 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-div:(@_:N -> @_:N -> N) -> @count:Nat -> @+period:U32 -> List<&2, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/ema.State<N>>

template cascade.finish source · line 31 · raw

@-N:Data -> @state:0xbb55196063fb99add8900a97dfe6ee2d/src/core/ema.State<N> -> @result:Pair(List<&2, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/ema.State<N>>, Maybe<&2, List<&2, N>>) -> @x:N -> Pair(List<&2, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/ema.State<N>>, Maybe<&2, List<&2, N>>)

template cascade.read source · line 36 · raw

@-N:Data -> @states:List<&2, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/ema.State<N>> -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/ema.State<N>, Maybe<&2, N>) -> @rest:(@_:List<&2, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/ema.State<N>> -> @_:N -> Pair(List<&2, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/ema.State<N>>, Maybe<&2, List<&2, N>>)) -> Pair(List<&2, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/ema.State<N>>, Maybe<&2, List<&2, N>>)

template cascade.step source · line 41 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @fuel:Nat -> @states:List<&2, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/ema.State<N>> -> @input:Maybe<&2, N> -> Pair(List<&2, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/ema.State<N>>, Maybe<&2, List<&2, N>>)

template cascade.value source · line 49 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @kind:U32 -> @+v:N -> @values:List<&2, N> -> N

template cascade.output source · line 62 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @+kind:U32 -> @+factor:N -> @result:Pair(List<&2, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/ema.State<N>>, Maybe<&2, List<&2, N>>) -> Pair(State<N>, Maybe<&2, N>)

template next.simple source · line 67 · raw

@-N:Data -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.State<N>, Maybe<&2, N>) -> Pair(State<N>, Maybe<&2, N>)

template next.exponential source · line 71 · raw

@-N:Data -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/ema.State<N>, Maybe<&2, N>) -> Pair(State<N>, Maybe<&2, N>)

template adaptive.change source · line 78 · raw

@-N:Data -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-abs:(@_:N -> N) -> @u:Unit -> @acc:Changes<N> -> @+x:N -> Changes<N>

template adaptive.base source · line 83 · raw

@-N:Data -> @value:Maybe<&2, N> -> @fallback:N -> N

template adaptive.value source · line 88 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-abs:(@_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @value:Maybe<&2, N> -> @+x:N -> @previous:N -> @+total:N -> @+first:N -> N

template adaptive.finish source · line 95 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-abs:(@_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @+period:U32 -> @value:Maybe<&2, N> -> @+x:N -> @previous:N -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/window.State<N>, Changes<N>) -> Pair(State<N>, Maybe<&2, N>)

template adaptive.previous source · line 102 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-abs:(@_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @period:U32 -> @value:Maybe<&2, N> -> @x:N -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/window.State<N>, Maybe<&2, N>) -> Pair(State<N>, Maybe<&2, N>)

template adaptive.ready source · line 107 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-abs:(@_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @period:U32 -> @value:Maybe<&2, N> -> @x:N -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/window.State<N>, Bool) -> Pair(State<N>, Maybe<&2, N>)

template adaptive.accepted source · line 112 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-abs:(@_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @+period:U32 -> @value:Maybe<&2, N> -> @+input:N -> @previous:N -> @first:N -> @+total:0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.Sum<N> -> @window:0xbb55196063fb99add8900a97dfe6ee2d/src/core/window.State<N> -> @good:Bool -> Pair(State<N>, Maybe<&2, N>)

template adaptive.first source · line 119 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-abs:(@_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @period:U32 -> @value:Maybe<&2, N> -> @+input:N -> @old:N -> @cache:AdaptiveCache<N> -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/window.State<N>, Maybe<&2, N>) -> Pair(State<N>, Maybe<&2, N>)

template adaptive.chosen source · line 126 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-abs:(@_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @+period:U32 -> @value:Maybe<&2, N> -> @cache:Maybe<&2, AdaptiveCache<N>> -> @removed:Maybe<&2, N> -> @input:N -> @window:0xbb55196063fb99add8900a97dfe6ee2d/src/core/window.State<N> -> @cycle:Bool -> Pair(State<N>, Maybe<&2, N>)

template adaptive.cached source · line 131 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-abs:(@_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @period:U32 -> @value:Maybe<&2, N> -> @cache:Maybe<&2, AdaptiveCache<N>> -> @input:N -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/window.State<N>, Maybe<&2, N>) -> Pair(State<N>, Maybe<&2, N>)

template gaussian.term source · line 138 · raw

@-N:Data -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @weights:List<&2, N> -> @+weight:N -> @+weight_sum:0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.Sum<N> -> @deviation:0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.Sum<N> -> @+center:N -> @+price:N -> @keep_center:Bool -> Dot<N>

template gaussian.dot source · line 147 · raw

@-N:Data -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-abs:(@_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @acc:Dot<N> -> @+x:N -> Dot<N>

template gaussian.finish source · line 152 · raw

@-N:Data -> @-add:(@_:N -> @_:N -> N) -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/window.State<N>, Dot<N>) -> Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/window.State<N>, Maybe<&2, N>)

template gaussian.mean source · line 156 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-abs:(@_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @weights:List<&2, N> -> @window:0xbb55196063fb99add8900a97dfe6ee2d/src/core/window.State<N> -> @price:N -> Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/window.State<N>, Maybe<&2, N>)

template gaussian.output source · line 161 · raw

@-N:Data -> @weights:List<&2, N> -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/window.State<N>, Maybe<&2, N>) -> Pair(State<N>, Maybe<&2, N>)

template gaussian.ready source · line 165 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-abs:(@_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @+weights:List<&2, N> -> @price:N -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/window.State<N>, Bool) -> Pair(State<N>, Maybe<&2, N>)

template gaussian.pushed source · line 170 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-abs:(@_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @weights:List<&2, N> -> @price:N -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/window.State<N>, Maybe<&2, N>) -> Pair(State<N>, Maybe<&2, N>)

template zerolag.finish source · line 174 · raw

@-N:Data -> @window:0xbb55196063fb99add8900a97dfe6ee2d/src/core/window.State<N> -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/ema.State<N>, Maybe<&2, N>) -> Pair(State<N>, Maybe<&2, N>)

template zerolag.ready source · line 178 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @state:0xbb55196063fb99add8900a97dfe6ee2d/src/core/ema.State<N> -> @+x:N -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/window.State<N>, Maybe<&2, N>) -> Pair(State<N>, Maybe<&2, N>)

template zerolag.length source · line 183 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @state:0xbb55196063fb99add8900a97dfe6ee2d/src/core/ema.State<N> -> @x:N -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/window.State<N>, Bool) -> Pair(State<N>, Maybe<&2, N>)

template zerolag.pushed source · line 188 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @state:0xbb55196063fb99add8900a97dfe6ee2d/src/core/ema.State<N> -> @x:N -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/window.State<N>, Maybe<&2, N>) -> Pair(State<N>, Maybe<&2, N>)

template weighted.output source · line 192 · raw

@-N:Data -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.State<N>, Maybe<&2, N>) -> Pair(State<N>, Maybe<&2, N>)

template hull.outer source · line 196 · raw

@-N:Data -> @fast:0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.State<N> -> @slow:0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.State<N> -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.State<N>, Maybe<&2, N>) -> Pair(State<N>, Maybe<&2, N>)

template hull.values source · line 200 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-abs:(@_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @fast:0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.State<N> -> @slow:0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.State<N> -> @outer:0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.State<N> -> @fast_value:Maybe<&2, N> -> @slow_value:Maybe<&2, N> -> Pair(State<N>, Maybe<&2, N>)

template hull.slow source · line 205 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-abs:(@_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @fast:0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.State<N> -> @outer:0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.State<N> -> @fast_value:Maybe<&2, N> -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.State<N>, Maybe<&2, N>) -> Pair(State<N>, Maybe<&2, N>)

template hull.fast source · line 209 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-abs:(@_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @slow:0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.State<N> -> @outer:0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.State<N> -> @x:N -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.State<N>, Maybe<&2, N>) -> Pair(State<N>, Maybe<&2, N>)

template next.variable source · line 213 · raw

@-N:Data -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/vidya.State<N>, Maybe<&2, N>) -> Pair(State<N>, Maybe<&2, N>)

template next.cycle source · line 217 · raw

@-N:Data -> @result:Pair(0xbb55196063fb99add8900a97dfe6ee2d/src/core/mama.State<N>, Maybe<&2, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/mama.Value<N>>) -> Pair(State<N>, Maybe<&2, N>)

template next source · line 222 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-abs:(@_:N -> N) -> @-le:(@_:N -> @_:N -> Bool) -> @-atan:(@_:N -> N) -> @state:State<N> -> @+price:N -> Pair(State<N>, Maybe<&2, N>)

template gaussian.weights.collect source · line 247 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-exp:(@_:N -> N) -> @fuel:Nat -> @+at:U32 -> @+center:N -> @+scale:N -> @acc:List<&2, N> -> List<&2, N>

template gaussian.weights source · line 254 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-exp:(@_:N -> N) -> @fuel:Nat -> @at:U32 -> @center:N -> @scale:N -> List<&2, N>

template gaussian.sum source · line 257 · raw

@-N:Data -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @xs:List<&2, N> -> @acc:0xbb55196063fb99add8900a97dfe6ee2d/src/core/rolling_average.Sum<N> -> N

template gaussian.normalize.collect source · line 262 · raw

@-N:Data -> @-div:(@_:N -> @_:N -> N) -> @xs:List<&2, N> -> @+total:N -> @acc:List<&2, N> -> List<&2, N>

template gaussian.normalize source · line 267 · raw

@-N:Data -> @-div:(@_:N -> @_:N -> N) -> @xs:List<&2, N> -> @total:N -> List<&2, N>

template gaussian.coefficients source · line 270 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-exp:(@_:N -> N) -> @-floor:(@_:N -> N) -> @+period:U32 -> @sigma:N -> @offset:N -> List<&2, N>

template gaussian.window.make source · line 274 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-exp:(@_:N -> N) -> @-floor:(@_:N -> N) -> @+period:U32 -> @depth:Nat -> @sigma:N -> @offset:N -> State<N>

template gaussian.choose source · line 277 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-exp:(@_:N -> N) -> @-floor:(@_:N -> N) -> @period:U32 -> @depth:Nat -> @sigma:N -> @offset:N -> @identity:Bool -> State<N>

template gaussian.make source · line 282 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-exp:(@_:N -> N) -> @-floor:(@_:N -> N) -> @+period:U32 -> @depth:Nat -> @sigma:N -> @offset:N -> State<N>

template hull.make source · line 285 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @+period:U32 -> @+half:U32 -> @+root:U32 -> State<N>

template make.kind source · line 304 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-exp:(@_:N -> N) -> @-floor:(@_:N -> N) -> @+period:U32 -> @depth:Nat -> @+kind:U32 -> @factor:N -> @selected:Nat -> State<N>

template make source · line 323 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-exp:(@_:N -> N) -> @-floor:(@_:N -> N) -> @+period:U32 -> @depth:Nat -> @+kind:U32 -> @factor:N -> State<N>

template init.checked source · line 329 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-exp:(@_:N -> N) -> @-floor:(@_:N -> N) -> @+period:U32 -> @kind:U32 -> @valid:Bool -> Result<&2, &1, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/parameters.Error, State<N>>

template init source · line 337 · raw

@-N:Data -> @-from:(@_:U32 -> N) -> @-add:(@_:N -> @_:N -> N) -> @-sub:(@_:N -> @_:N -> N) -> @-mul:(@_:N -> @_:N -> N) -> @-div:(@_:N -> @_:N -> N) -> @-exp:(@_:N -> N) -> @-floor:(@_:N -> N) -> @+period:U32 -> @+kind:U32 -> Result<&2, &1, 0xbb55196063fb99add8900a97dfe6ee2d/src/core/parameters.Error, State<N>>