Utility helpers for electromagnetics: robust complex arithmetic with resilience metadata.
Utility helpers for electromagnetics: robust complex arithmetic with resilience metadata.
Condition number above which high-precision fallbacks are attempted.
Condition number above which high-precision fallbacks are attempted.
Magnitude order at which scaling warnings are emitted.
Magnitude order at which scaling warnings are emitted.
Optional atom/vector for collecting diagnostic maps from arithmetic operations.
Optional atom/vector for collecting diagnostic maps from arithmetic operations.
(cdiv a b)Divide complex numbers A/B using Smith's algorithm for numerical stability.
Divide complex numbers A/B using Smith's algorithm for numerical stability.
(complex re im)(complex re
im
{:keys [flags valid? op metadata]
:or {flags #{} valid? true op :literal metadata {}}})Create a robust complex number map. Options: :flags set of diagnostic keywords, :valid? boolean, :op keyword, :metadata map.
Create a robust complex number map. Options: :flags set of diagnostic keywords, :valid? boolean, :op keyword, :metadata map.
(csqrt z)Principal square root of complex number.
Principal square root of complex number.
(magnitude z)Return magnitude of a robust complex number.
Return magnitude of a robust complex number.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |