Function: solve()
ts
function solve(v, target): number | undefined;Defined in: pwl.ts:361
The σ at which v(σ) = target: the largest such σ ≥ 0, or undefined when there is none or the solutions run on to ∞ (v flat at the target leaves σ undetermined). On a value that rises it is the one solution; on the max of claims that dips and then rises, it is where it rises through the target. target − intercept follows the cancellation rule (cancel), so a value that reaches the target at σ = 0 up to rounding solves 0, not a σ just below it.
Parameters
v
target
number
Returns
number | undefined
