create_vector_field
Generate vector fields in a specified coordinate system by defining x, y, and z components, aiding in symbolic mathematics and computational algebra workflows.
Instructions
Creates a vector field in the specified coordinate system.
Args:
coord_sys_name: The name of the coordinate system to use.
component_x: String expression for the x-component of the vector field.
component_y: String expression for the y-component of the vector field.
component_z: String expression for the z-component of the vector field.
Example:
# First create a coordinate system
create_coordinate_system("R")
# Create a vector field F = (y, -x, z)
vector_field = create_vector_field("R", "R_y", "-R_x", "R_z")
Returns:
A key for the vector field expression.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
component_x | Yes | ||
component_y | Yes | ||
component_z | Yes | ||
coord_sys_name | Yes |
Input Schema (JSON Schema)
{
"properties": {
"component_x": {
"title": "Component X",
"type": "string"
},
"component_y": {
"title": "Component Y",
"type": "string"
},
"component_z": {
"title": "Component Z",
"type": "string"
},
"coord_sys_name": {
"title": "Coord Sys Name",
"type": "string"
}
},
"required": [
"coord_sys_name",
"component_x",
"component_y",
"component_z"
],
"title": "create_vector_fieldArguments",
"type": "object"
}