Function reconstruct_jacobian

Source
pub fn reconstruct_jacobian(
    _gradients: &ArrayView2<'_, f64>,
    _b: &ArrayView2<'_, f64>,
    _c: &ArrayView2<'_, f64>,
    _sparsity: &CsrArray<f64>,
) -> Result<CsrArray<f64>, OptimizeError>
Expand description

Reconstructs a sparse Jacobian from compressed gradient evaluations

§Arguments

  • gradients - Matrix of compressed gradient evaluations
  • b - Column compression matrix
  • c - Row compression matrix

§Returns

  • Reconstructed sparse Jacobian