Vector Calculus Functions

curl(F(x, y, z), x, y, z)
Curl of a vector F of 3 components at the values of the variables, in Cartesian coordinates, the variables in a right-handed order
Parameters:
  • F (function) – An function that returns an array in vector format

  • x (string) – A variable

  • y (string) – A variable

  • z (string) – A variable

Return type:

array in vector form

div(F(x, y, z), x, y, z)
the divergence of a vector F at the values of the variables, Σ ∂Fᵢ/∂xᵢ, in Cartesian coordinates; F has as many components as variables, the i-th one along the i-th variable
Parameters:
  • F (function) – An function that returns an array in vector format

  • x (string) – A variable

  • y (string) – A variable

  • z (string) – A variable

Return type:

array in vector form

grad(F(x, y), x, y)
The gradient of f at the values of the variables, the column of its derivatives ∂f/∂x, ∂f/∂y; the variables have the same units
Parameters:
  • F (function) – An fynction that returns an array in vector format

  • x (float) – A number

  • y (float) – A number

Return type:

array

hessian(F(x, y), x, y)
The Hessian of f at the values of the variables, the symmetric matrix of its second derivatives ∂²f/∂xᵢ∂xⱼ
Parameters:
  • F (function) – An fynction that returns an array in vector format

  • x (float) – A number

  • y (float) – A number

Return type:

array

jacob(F(x, y), x, y)
The Jacobian of a vector F at the values of the variables, the matrix of the derivatives ∂Fᵢ/∂xⱼ, a row for a scalar
Parameters:
  • F (function) – An fynction that returns an array in vector format

  • x (float) – A number

  • y (float) – A number

Return type:

array

lap(F(x, y, z), x, y, z)
The Laplacian of F at the values of the variables, Σ ∂²f/∂xᵢ², in Cartesian coordinates
Parameters:
  • F (array) – An fynction that returns an array in vector format

  • x (float) – A number

  • y (float) – A number

  • z (float) – A number

Return type:

array