pub fn evaluate_components_compiled(
cg: &CompiledGraph,
flat: &HashMap<String, f64>,
x: &[f64],
) -> Result<HashMap<String, Vec<f64>>, CoreError>Expand description
Evaluate each node independently.
Returns { node_id => Vec<f64> } with one entry per node.
§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); a node’s dataset_index is out
of range for the recorded dataset_offsets
(GraphError::DatasetIndexOutOfRange); or flat is missing a required
"node_id.param_name" entry (GraphError::MissingParamKey).