numpy_mcp_matlib_operation
Perform matrix operations such as generating random matrices, reshaping, transposing, and stacking arrays. Designed for numerical computations within the Fermat MCP server.
Instructions
Do matrix operations: rand-mat, zeros, ones, eye, identity, arange, linspace, reshape, flatten, concatenate, transpose, stack
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axis | No | ||
| data | No | ||
| k | No | ||
| m | No | ||
| n | No | ||
| num | No | ||
| operation | Yes | ||
| shape | No | ||
| start | No | ||
| step | No | ||
| stop | No |
Input Schema (JSON Schema)
{
"properties": {
"axis": {
"default": 0,
"title": "Axis",
"type": "integer"
},
"data": {
"anyOf": [
{
"items": {},
"type": "array"
},
{
"type": "number"
},
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Data"
},
"k": {
"default": 0,
"title": "K",
"type": "integer"
},
"m": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "M"
},
"n": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "N"
},
"num": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Num"
},
"operation": {
"title": "Operation",
"type": "string"
},
"shape": {
"anyOf": [
{
"items": {},
"type": "array"
},
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Shape"
},
"start": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Start"
},
"step": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Step"
},
"stop": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Stop"
}
},
"required": [
"operation"
],
"type": "object"
}