The OpenD Programming Language

setDerivatives

Evaluates partial derivatives and function value, if any, for a user-provided set of partial derivatives. The derivative set can be defined with Derivative and Minus UDAs.

  1. D setDerivatives(E expression)
    template setDerivatives(D, bool strict = true)
    D
    setDerivatives
    (
    E
    )
  2. void setDerivatives(D derivatives, E expression)

Members

Functions

setDerivatives
D setDerivatives(E expression)

Parameters

D

type of the requested set of partial derivatives

strict

The parameter is used when the expression can't evaluate the derivative. If true, prints error at compile-time; otherwise, the corresponding member is set to NaN.

expression

expression

Meta