Search
Preparing search index...
The search index is not available
Physics Math
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
Utils
RangeMemoizer
Class RangeMemoizer<T>
Type parameters
T
:
number
Hierarchy
MemoizerBase
<
T
>
RangeMemoizer
Implements
Memoizer
<
T
>
Index
Constructors
constructor
Properties
bufsize
f
stepsize
bufsize
stepsize
Methods
grow
Down
grow
Up
memo
new
Buffer
memoize
Constructors
constructor
new
Range
Memoizer
(
f
:
(
n
:
number
)
=>
T
, stepsize
?:
number
, bufsize
?:
number
)
:
RangeMemoizer
Parameters
f:
(
n
:
number
)
=>
T
(
n
:
number
)
:
T
Parameters
n:
number
Returns
T
Default value
stepsize:
number
= MemoizerBase.stepsize
Default value
bufsize:
number
= MemoizerBase.bufsize
Returns
RangeMemoizer
Properties
Readonly
bufsize
bufsize
:
number
Protected
Readonly
f
f
:
(
n
:
number
)
=>
T
Type declaration
(
n
:
number
)
:
T
Parameters
n:
number
Returns
T
Readonly
stepsize
stepsize
:
number
Static
bufsize
bufsize
:
number
= 1024
Static
stepsize
stepsize
:
number
= 1 / 1024
Methods
grow
Down
grow
Down
(
buffer
:
MemoBuffer
<
T
>
, bufMin
:
number
, min
:
number
, max
:
number
, t
:
number
)
:
[
MemoBuffer
<
T
>
,
number
]
Parameters
buffer:
MemoBuffer
<
T
>
bufMin:
number
min:
number
max:
number
t:
number
Returns
[
MemoBuffer
<
T
>
,
number
]
grow
Up
grow
Up
(
buffer
:
MemoBuffer
<
T
>
, bufMin
:
number
, min
:
number
, max
:
number
, t
:
number
)
:
[
MemoBuffer
<
T
>
,
number
]
Parameters
buffer:
MemoBuffer
<
T
>
bufMin:
number
min:
number
max:
number
t:
number
Returns
[
MemoBuffer
<
T
>
,
number
]
memo
memo
(
)
:
(
t
:
number
)
=>
T
Returns
(
t
:
number
)
=>
T
(
t
:
number
)
:
T
Parameters
t:
number
Returns
T
new
Buffer
new
Buffer
(
size
:
number
)
:
MemoBuffer
<
T
>
Parameters
size:
number
Returns
MemoBuffer
<
T
>
Static
memoize
memoize
(
f
:
(
t
:
number
)
=>
number
, stepsize
?:
number
)
:
(
t
:
number
)
=>
number
Parameters
f:
(
t
:
number
)
=>
number
(
t
:
number
)
:
number
Parameters
t:
number
Returns
number
Default value
stepsize:
number
= MemoizerBase.stepsize
Returns
(
t
:
number
)
=>
number
(
t
:
number
)
:
number
Parameters
t:
number
Returns
number
Globals
"algebra"
Frame
Functionals
Index
La
TeX
Units
Utils
graph
Mappable
Generator
Numeric
Memoizer
Range
Memoizer
constructor
bufsize
f
stepsize
bufsize
stepsize
grow
Down
grow
Up
memo
new
Buffer
memoize
Constructor
View
Of
id
Gen
Flat
Gen
Genable
Writeable
Gen
Proto
katex
Foo
NYI
Throw
call
Site
curry1
curry2
curry3
curry4
define
Tag
id
Gen
is
Function
is
Generator
is
Iterable
is
Iterator
it
Every
it
Reduce
it
Some
not
range
range2
romberg
tex
to
Generator
to
Iterable
to
Iterator
Generated using
TypeDoc