matrix_scalar_multiply
Multiply a matrix by a scalar value to scale all elements proportionally. Use this linear algebra function to perform scalar multiplication on matrices.
Instructions
Multiply a matrix by a scalar value (Domain: linear_algebra.matrices, Category: general)
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": {
"matrix": "<matrix>",
"scalar": "<scalar>"
},
"name": "matrix_scalar_multiply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matrix | Yes | ||
| scalar | Yes |