Skip to content
Snippets Groups Projects
Unverified Commit eaddc738 authored by boeschf's avatar boeschf Committed by GitHub
Browse files

Additional builtin functions to Arbor's NMODL dialect (#2035)

Added common math functions which I came across in the wild quite frequently. Implementations may be more optimized than hand-rolled versions.

- sqrt: usual square root
- step_right: right-continuous heaviside step function
- step_left: left-continuous heaviside step function
- step: heaviside step function with half step at 0
- signum: sign bit function
- extended iexpr with the step_left, step_right variants
parent ff3494ec
No related branches found
No related tags found
No related merge requests found
Showing
with 564 additions and 209 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment