pub fn extract_flat(v: &Value) -> Result<Vec<f64>, String>Expand description
Extracts a flat Vec<f64> from any numeric Value.
Accepts Scalar (promoted to a one-element vector) and any Matrix
regardless of shape (row-major order). Unlike extract_vector this
does not require a vector layout, so it is suitable for meshgrid-style
2-D inputs.