flopscope.stats.laplace
flopscope.stats.laplace
Laplace (double-exponential) continuous random variable.
This object mirrors scipy.stats.laplace.
Notes
loc is the center and scale controls the exponential decay away
from that center. Per-method FLOP costs (weight 1.0): pdf deducts
22 * numel(input) (composite: |x-loc|(3) + exp(-z)(17) +
/(2*scale)(2), FMA=2), cdf deducts 40 * numel(input) (composite:
two eager exp branches + 8 arith/cmp/select; audit-2 verified), ppf
deducts 51 * numel(input) (composite: two eager log branches + edge
selects; audit-2 verified).
system_message
<string>:1: (WARNING/2) Inline substitution_reference start-string without end-string.