np_dot
Compute the dot product of two arrays by multiplying corresponding elements and summing the results.
Instructions
Compute the dot product of two arrays.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"a": "<a>",
"b": "<b>"
},
"name": "np_dot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | First input array. | |
| b | Yes | Second input array. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |