Search
Preparing search index...
The search index is not available
@imaginary-maths/box-model
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@imaginary-maths/box-model
Index
Classes
Box
Model
Engine
Interfaces
Box
Model
Elements
Box
Model
Options
Flow
Parameter
Record
Stock
Variable
Type aliases
Box
Model
Box
Model
Element
Key
Convergence
Criterion
Formula
IVPIntegrator
Lookup
Function
Functions
euler
rk4
Type aliases
Box
Model
Box
Model
:
BoxModelElements
<
Stock
,
Flow
,
Variable
,
Parameter
>
Box
Model
Element
Key
Box
Model
Element
Key
:
"stocks"
|
"flows"
|
"variables"
|
"parameters"
Convergence
Criterion
Convergence
Criterion
:
(
r
:
Record
, rPrevious
:
Record
, i
:
number
, bme
:
BoxModelEngine
)
=>
boolean
Type declaration
(
r
:
Record
, rPrevious
:
Record
, i
:
number
, bme
:
BoxModelEngine
)
:
boolean
Parameters
r:
Record
rPrevious:
Record
i:
number
bme:
BoxModelEngine
Returns
boolean
Formula
Formula
:
(
{ s, f, v, p, t, }
:
{
f
:
LookupFunction
;
p
:
LookupFunction
;
s
:
LookupFunction
;
t
:
number
;
v
:
LookupFunction
}
)
=>
number
Type declaration
(
{ s, f, v, p, t, }
:
{
f
:
LookupFunction
;
p
:
LookupFunction
;
s
:
LookupFunction
;
t
:
number
;
v
:
LookupFunction
}
)
:
number
Parameters
{ s, f, v, p, t, }:
{
f
:
LookupFunction
;
p
:
LookupFunction
;
s
:
LookupFunction
;
t
:
number
;
v
:
LookupFunction
}
f
:
LookupFunction
p
:
LookupFunction
s
:
LookupFunction
t
:
number
v
:
LookupFunction
Returns
number
IVPIntegrator
IVPIntegrator
:
(
y
:
ReadonlyArray
<
number
>
, x
:
number
, h
:
number
, derivatives
:
(
y
:
ReadonlyArray
<
number
>
, x
:
number
)
=>
number
[]
)
=>
number
[]
Type declaration
(
y
:
ReadonlyArray
<
number
>
, x
:
number
, h
:
number
, derivatives
:
(
y
:
ReadonlyArray
<
number
>
, x
:
number
)
=>
number
[]
)
:
number
[]
Parameters
y:
ReadonlyArray
<
number
>
x:
number
h:
number
derivatives:
(
y
:
ReadonlyArray
<
number
>
, x
:
number
)
=>
number
[]
(
y
:
ReadonlyArray
<
number
>
, x
:
number
)
:
number
[]
Parameters
y:
ReadonlyArray
<
number
>
x:
number
Returns
number
[]
Returns
number
[]
Lookup
Function
Lookup
Function
:
(
id
:
string
)
=>
number
Type declaration
(
id
:
string
)
:
number
Parameters
id:
string
Returns
number
Functions
euler
euler
(
y
:
readonly
number
[]
, x
:
number
, h
:
number
, derivatives
:
(
y
:
readonly
number
[]
, x
:
number
)
=>
number
[]
)
:
number
[]
Parameters
y:
readonly
number
[]
x:
number
h:
number
derivatives:
(
y
:
readonly
number
[]
, x
:
number
)
=>
number
[]
(
y
:
readonly
number
[]
, x
:
number
)
:
number
[]
Parameters
y:
readonly
number
[]
x:
number
Returns
number
[]
Returns
number
[]
rk4
rk4
(
y
:
readonly
number
[]
, x
:
number
, h
:
number
, derivatives
:
(
y
:
readonly
number
[]
, x
:
number
)
=>
number
[]
)
:
number
[]
Parameters
y:
readonly
number
[]
x:
number
h:
number
derivatives:
(
y
:
readonly
number
[]
, x
:
number
)
=>
number
[]
(
y
:
readonly
number
[]
, x
:
number
)
:
number
[]
Parameters
y:
readonly
number
[]
x:
number
Returns
number
[]
Returns
number
[]
Exports
Box
Model
Engine
Box
Model
Elements
Box
Model
Options
Flow
Parameter
Record
Stock
Variable
Box
Model
Box
Model
Element
Key
Convergence
Criterion
Formula
IVPIntegrator
Lookup
Function
euler
rk4
Generated using
TypeDoc