Contents

struct

SushiDSP::NewtonRaphsonSolver::Evaluation

The residual and its derivative at one trial point, evaluated together.

Declared in
include/SushiDSP/math/NewtonRaphsonSolver.hpp

Circuit residuals and their derivatives share their expensive term (the same exp() appears in both), so evaluating them jointly halves the transcendental count per iteration; the split-callable overload below exists for callers with no such sharing.

Public attributes

float value
float derivative