pub fn jacobian_compiled_indexed_weighted_into(
cg: &CompiledGraph,
node_params: &[Vec<f64>],
x: &[f64],
sigma: &[f64],
data: &mut Vec<f64>,
) -> Result<(), CoreError>Expand description
Compute the weighted analytical Jacobian into a reusable row-major buffer.
Each generated row is divided by the corresponding sigma weight before
storing into data, avoiding a second pass over the dense matrix.
§Errors
Returns CoreError::Eval if: x.len() is not an exact multiple of the
graph’s coordinate dimensionality (GraphError::XBufferStrideMismatch);
the graph’s nodes disagree on n_dims
(GraphError::DimensionalityMismatch); sigma.len() does not match the
computed point count (GraphError::OutputBufferLength); or a node’s
dataset_index is out of range for the recorded dataset_offsets
(GraphError::DatasetIndexOutOfRange).