introduced (Field)Derivative1 to reduce code duplication between univariate and multivariate first order classes
make SparseGradient inherit from Derivative1
introduced a new interface called DifferentialAlgebra that defines number of variables and maximum order. It enables unification between Derivative and TaylorMap as well as their Field equivalent
fixed an API break introduced on #280 when adding square to FieldElement (no default). Now only CalculusFieldElement has it, with a default implementation.
Closes #286
Four main things:
SparseGradient
inherit fromDerivative1
DifferentialAlgebra
that defines number of variables and maximum order. It enables unification betweenDerivative
andTaylorMap
as well as theirField
equivalentFieldElement
(no default). Now onlyCalculusFieldElement
has it, with a default implementation.