Derivative# class Derivative# Helper structure storing the adjoints Func. Use d(func) or d(buffer) to obtain the derivative Func.