R/operators.R
grad.Rd
compute gradient of Function
grad(Function) # S4 method for Function grad(Function)
a Function created by Function:
Function
A R6 object representing the gradient of the Function passed as parameter.
if (FALSE) { library(femR) data("unit_square") mesh <- Mesh(unit_square) Vh <- FunctionSpace(mesh) f <- Function(Vh) grad_f <- grad(f) }