Differential(t) returns the operator D with D(x) the derivative of
x with respect to t, kept unevaluated. Powers of the operator give
higher derivatives: Differential(t, 2) or D(D(x)).
expand_derivatives() evaluates derivatives of expressions, leaving
derivatives of unknown variables in place.
Usage
Differential(iv, order = 1L, ...)
expand_derivatives(e)
Arguments
- iv
The independent variable.
- order
Order of the derivative.
- ...
form_field of symcompR's Differential().
- e
An expression, an equation or a list of them.
Value
A function of class Differential.
Details
When symcompR exports its own Differential() (the exterior derivative of
differential geometry), arguments other than a symbol are passed to it.
Examples
t <- t_nounits
D <- Differential(t)
x <- Variable("x", t)
D(x^2)
#> Derivative(x(t)^2, t)
expand_derivatives(D(x^2))
#> 2*x(t)*Derivative(x(t), t)