namespace CeresSharp.Advanced; /// /// Delegate for evaluation callback. /// Called before evaluating cost functions to allow shared computation. /// /// Number of residuals. /// Number of parameter blocks. /// Array of sizes for each parameter block (can be null). public delegate void EvaluationCallback(int numResiduals, int numParameterBlocks, int[]? parameterBlockSizes);