Module compression

Module compression 

Source
Expand description

Compression techniques for sparse matrices in numerical differentiation

This module provides implementations of compression algorithms for sparse matrices to reduce the number of function evaluations required for finite differences.

Functions§

compress_hessian_pattern
Compresses a sparse Hessian pattern for more efficient finite differencing
compress_jacobian_pattern
Compresses a sparse Jacobian pattern for more efficient finite differencing
reconstruct_hessian
Simplified version of Hessian reconstruction for single gradient input
reconstruct_hessian_central_diff
Reconstructs a sparse Hessian from compressed gradient evaluations using central differences
reconstruct_jacobian
Reconstructs a sparse Jacobian from compressed gradient evaluations

Type Aliases§

CompressedJacobianPattern
Type alias for the return type of compress_jacobian_pattern