Function: approxEqual()
ts
function approxEqual(
a,
b,
tolerance?): boolean;Defined in: pwl.ts:433
Whether a and b are the same function of σ within an absolute tolerance. Two lines agree everywhere when they agree at σ = 0 and 1. Their difference is a line between breakpoints, so two piecewise values agree everywhere when they agree at 0, 1, every breakpoint of either, and once past the last.
Parameters
a
b
tolerance?
number = 1e-6
Returns
boolean
