grad edit page

gradient of a spherical function

Syntax

sVF = grad(sF)  % returns the gradient as a spherical vector field
g = grad(sF, v) % return the gradient in point v as vector3d

Input

sF S2FunTri
v vector3d

Output

sVF @sphericalVectorFieldHarmonic
g vector3d