Skip to contents

Package

sparsediff sparsediff-package
sparsediff: R interface to the SparseDiffEngine differentiation backend
engine_version()
Bundled SparseDiffEngine version

Building expressions

Construct the leaves and atoms of a nonlinear differentiation graph. Each constructor returns an expression handle.

Problems and sparse derivatives

Assemble expressions into a problem and evaluate its value, gradient, sparse Jacobian and lower-triangular Lagrangian Hessian.