vector_calculus_operation
Compute gradient, divergence, curl, and Laplacian for scalar or vector fields. Specify variables to get exact symbolic results via SageMath.
Instructions
Vector calculus operations: gradient, divergence, curl, laplacian
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No | Named workspace to use. Workspaces have independent variables; omit for 'default'. | default |
| operation | Yes | One of: gradient, divergence, curl, laplacian | |
| variables | No | Variable names (e.g. ['x', 'y', 'z']) | |
| expression | Yes | Scalar field (string) for gradient/laplacian, or vector field components (list) for divergence/curl |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||