Two-dimensional prefix sums
bpj_matrix_prefix_gridAt each cell report the rectangular total from the top-left corner through that cell.
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>"
},
"name": "bpj_matrix_prefix_grid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matrix | Yes |