Errors
Log
Line
Position
Error
Examples
DAE
Hybrid
Solver parameters
Step control
Implicit step solver
Implicit system solver
Event detection
Adaptive step
Zero crossing detection
Curve simplification
TODO
Purpose
Hybrid dynamical systems
Language
Parameters
Solver parameters
Zero crossing
Curve simplificaion
Math functions
sin(ang)

Sin function

ang - angle in radians

cos(ang)

Cos function

tan(ang)

Tan function

cot(ang)

Cot function

asin(x)

Asin function

acos(x)

Acos function

atan(x)

Atan function

acot(x)

Acot function

sinh(x)

Hyperbolic Sin function

cosh(x)

Hyperbolic Cos function

tanh(x)

Hyperbolic Tan function

coth(x)

Hyperbolic Cot function

asinh(x)

Hyperbolic Asin function

acosh(x)

Hyperbolic Acos function

atanh(x)

Hyperbolic Atan function

acoth(x)

Hyperbolic Acot function

erf(x)

Error function

exp(x)

Exponent function

pow(x,y)

Exponentiation.

x is raised to the y-th power

ln(x)

Natural logarithm

log(base,x)

Logarithm

lg(x)

Base-10 logarithm

sqrt(x)

Square root

abs(x)

Absolute value

min(x,y)

Minimum

max(x,y)

Maximum

lerp(a,b,t)

Linear interpolation between a and b

clamp(x,min,max)

Clamp x to [min,max] range

saturate(x)

Clamp x to [0,1] range

sign(x)

Sign of argument

step(x)

Heaviside step function

frac(x)

Fractional part of a number

floor(x)

Floor function

round(x)

Rounding to the nearest integer

ceil(x)

Ceiling function

smoothstep(x)

Smoothstep function

e()

Euler's number

pi()

Pi constant

sinc(x)

Sinc function

squarewave(x)

Square wave with period 2