# Matrix workspace

- Human page: https://happytails.ai/en/calculators/matrix-workspace/
- Markdown: https://happytails.ai/en/calculators/matrix-workspace.md
- Structured JSON: https://happytails.ai/agents/en/calculators/matrix-workspace/index.json
- Visibility: public

## Tool capabilities

| Property | Value |
| --- | --- |
| Tool ID | `matrix-workspace` |
| Category | calculators |
| Implementation | Registered implementation. Registration alone is not a production-quality guarantee. |
| Browser execution | Use the visible action or interactive controls. |
| Browser processing | Browser; see tool notes for network behavior. |
| HTTP API | Not callable through HTTP. |
| Browser-agent interface | run_current_tool |

### Implementation notes

Supply A and, for binary operations, B. Matrices contain 1 to 12 rows and columns. Add and subtract require equal shapes; multiply requires matching inner dimensions. Determinant and inverse require square matrices; a singular inverse is rejected. Scale requires a scalar. Transpose, row reduction and rank are also supported. All entries and row operations use reduced exact fractions. All processing stays on your device. Paste JSON with dot decimals; quote exact fractions and large integers. Input is limited to 100,000 characters and 100 digits per scalar. Exact results use reduced fractions, with a 1,024-digit and 200,000-step arithmetic bound. Enumeration is limited to 10,000 complete results and 1,000,000 search steps; exceeding a bound returns an error, not a partial answer. Geometry uses floating-point approximations. JSON and typed JSON Pointer CSV retain the complete input, results, constraints and worked steps. Reports are limited to 4,000,000 JSON and 8,000,000 CSV characters. Each calculation uses a disposable worker with a 10-second timeout.

### Inputs and settings

Text input: JSON input.

Example or placeholder shown in the interface (not a validated fixture):

```text
{
  "A": [
    [
      0,
      2
    ],
    [
      3,
      4
    ]
  ],
  "B": [
    [
      1,
      2
    ],
    [
      3,
      4
    ]
  ]
}
```

Supply A and, for binary operations, B. Matrices contain 1 to 12 rows and columns. Add and subtract require equal shapes; multiply requires matching inner dimensions. Determinant and inverse require square matrices; a singular inverse is rejected. Scale requires a scalar. Transpose, row reduction and rank are also supported. All entries and row operations use reduced exact fractions. All processing stays on your device. Paste JSON with dot decimals; quote exact fractions and large integers. Input is limited to 100,000 characters and 100 digits per scalar. Exact results use reduced fractions, with a 1,024-digit and 200,000-step arithmetic bound. Enumeration is limited to 10,000 complete results and 1,000,000 search steps; exceeding a bound returns an error, not a partial answer. Geometry uses floating-point approximations. JSON and typed JSON Pointer CSV retain the complete input, results, constraints and worked steps. Reports are limited to 4,000,000 JSON and 8,000,000 CSV characters. Each calculation uses a disposable worker with a 10-second timeout. Up to 100,000 characters. Review the settings before running.

| Setting | Meaning | Control type | Default | Constraints |
| --- | --- | --- | --- | --- |
| `operation` | Operation | select | "Multiply" | Allowed: Add, Subtract, Multiply, Transpose, Determinant, Inverse, Row reduction, Rank, Scale |

### Browser-agent workflow

1. Open the human page in a browser that supports WebMCP.
2. Discover the interface exposed by that page; use its actual schema.
3. Select files on the page first when the tool requires files.
4. Call `run_current_tool` with valid input and settings.
5. Inspect the returned result or error and the displayed output. Retrieve files from the displayed download links.

Calls do not automatically copy or download results. Browser permissions still apply. Interface availability alone is not proof of successful execution.

### Planning specification

Supply A and, for binary operations, B. Matrices contain 1 to 12 rows and columns. Add and subtract require equal shapes; multiply requires matching inner dimensions. Determinant and inverse require square matrices; a singular inverse is rejected. Scale requires a scalar. Transpose, row reduction and rank are also supported. All entries and row operations use reduced exact fractions. All processing stays on your device. Paste JSON with dot decimals; quote exact fractions and large integers. Input is limited to 100,000 characters and 100 digits per scalar. Exact results use reduced fractions, with a 1,024-digit and 200,000-step arithmetic bound. Enumeration is limited to 10,000 complete results and 1,000,000 search steps; exceeding a bound returns an error, not a partial answer. Geometry uses floating-point approximations. JSON and typed JSON Pointer CSV retain the complete input, results, constraints and worked steps. Reports are limited to 4,000,000 JSON and 8,000,000 CSV characters. Each calculation uses a disposable worker with a 10-second timeout. Search and sort the first 200 preview rows. Copy result copies the summary. Download JSON or CSV for every result and worked step. Geometry tools also provide a downloadable SVG diagram.

This describes intended requirements. Use the implementation notes, interface schema and observed output to determine current support.

### Complete machine-readable capability record

```json
{
  "id": "matrix-workspace",
  "category": "calculators",
  "built": true,
  "requirements": "Supply A and, for binary operations, B. Matrices contain 1 to 12 rows and columns. Add and subtract require equal shapes; multiply requires matching inner dimensions. Determinant and inverse require square matrices; a singular inverse is rejected. Scale requires a scalar. Transpose, row reduction and rank are also supported. All entries and row operations use reduced exact fractions. All processing stays on your device. Paste JSON with dot decimals; quote exact fractions and large integers. Input is limited to 100,000 characters and 100 digits per scalar. Exact results use reduced fractions, with a 1,024-digit and 200,000-step arithmetic bound. Enumeration is limited to 10,000 complete results and 1,000,000 search steps; exceeding a bound returns an error, not a partial answer. Geometry uses floating-point approximations. JSON and typed JSON Pointer CSV retain the complete input, results, constraints and worked steps. Reports are limited to 4,000,000 JSON and 8,000,000 CSV characters. Each calculation uses a disposable worker with a 10-second timeout. Search and sort the first 200 preview rows. Copy result copies the summary. Download JSON or CSV for every result and worked step. Geometry tools also provide a downloadable SVG diagram.",
  "implementation": {
    "fields": [
      {
        "key": "operation",
        "label": "Operation",
        "value": "Multiply",
        "type": "select",
        "values": [
          "Add",
          "Subtract",
          "Multiply",
          "Transpose",
          "Determinant",
          "Inverse",
          "Row reduction",
          "Rank",
          "Scale"
        ]
      }
    ],
    "presentation": "metrics",
    "inputMaxLength": 100000,
    "inputErrorCode": "EXACT_MATH_INPUT",
    "note": "Supply A and, for binary operations, B. Matrices contain 1 to 12 rows and columns. Add and subtract require equal shapes; multiply requires matching inner dimensions. Determinant and inverse require square matrices; a singular inverse is rejected. Scale requires a scalar. Transpose, row reduction and rank are also supported. All entries and row operations use reduced exact fractions. All processing stays on your device. Paste JSON with dot decimals; quote exact fractions and large integers. Input is limited to 100,000 characters and 100 digits per scalar. Exact results use reduced fractions, with a 1,024-digit and 200,000-step arithmetic bound. Enumeration is limited to 10,000 complete results and 1,000,000 search steps; exceeding a bound returns an error, not a partial answer. Geometry uses floating-point approximations. JSON and typed JSON Pointer CSV retain the complete input, results, constraints and worked steps. Reports are limited to 4,000,000 JSON and 8,000,000 CSV characters. Each calculation uses a disposable worker with a 10-second timeout.",
    "experience": {
      "automatic": false,
      "single": false,
      "inputMaxLength": 100000,
      "inputMode": "text",
      "label": "JSON input",
      "placeholder": "{\n  \"A\": [\n    [\n      0,\n      2\n    ],\n    [\n      3,\n      4\n    ]\n  ],\n  \"B\": [\n    [\n      1,\n      2\n    ],\n    [\n      3,\n      4\n    ]\n  ]\n}",
      "help": "Supply A and, for binary operations, B. Matrices contain 1 to 12 rows and columns. Add and subtract require equal shapes; multiply requires matching inner dimensions. Determinant and inverse require square matrices; a singular inverse is rejected. Scale requires a scalar. Transpose, row reduction and rank are also supported. All entries and row operations use reduced exact fractions. All processing stays on your device. Paste JSON with dot decimals; quote exact fractions and large integers. Input is limited to 100,000 characters and 100 digits per scalar. Exact results use reduced fractions, with a 1,024-digit and 200,000-step arithmetic bound. Enumeration is limited to 10,000 complete results and 1,000,000 search steps; exceeding a bound returns an error, not a partial answer. Geometry uses floating-point approximations. JSON and typed JSON Pointer CSV retain the complete input, results, constraints and worked steps. Reports are limited to 4,000,000 JSON and 8,000,000 CSV characters. Each calculation uses a disposable worker with a 10-second timeout. Up to 100,000 characters. Review the settings before running.",
      "action": null
    },
    "mode": "explicit",
    "interactive": false
  },
  "execution": "Browser interface",
  "api": null,
  "browser_agent": {
    "supported": true,
    "name": "run_current_tool",
    "discovery": "WebMCP on the human page in a supporting browser",
    "verification": "See audit/API-AUDIT.md; availability is not verification"
  }
}
```

## Page guide

Add, multiply, invert and row-reduce matrices with exact fractions and explicit dimension checks.

How can we improve this tool?

Report a problem or share an idea.

Please leave out private information. Your message and the tool name go to our team via PostHog.

### How to use Matrix workspace

1. Paste a JSON example and edit its documented fields. Keep machine field names unchanged.
2. Choose a supported operation and review the stated domain and bounds.
3. Review the result and download the complete JSON or CSV report, including worked steps.

## Useful next steps

- [Linear system solver](https://happytails.ai/en/calculators/linear-system-solver/) ([Markdown](https://happytails.ai/en/calculators/linear-system-solver.md))

- [Modular arithmetic workspace](https://happytails.ai/en/calculators/modular-arithmetic-workspace/) ([Markdown](https://happytails.ai/en/calculators/modular-arithmetic-workspace.md))

- [Diophantine equation solver](https://happytails.ai/en/calculators/diophantine-equation-solver/) ([Markdown](https://happytails.ai/en/calculators/diophantine-equation-solver.md))

## Matrix workspace

Supply A and, for binary operations, B. Matrices contain 1 to 12 rows and columns. Add and subtract require equal shapes; multiply requires matching inner dimensions. Determinant and inverse require square matrices; a singular inverse is rejected. Scale requires a scalar. Transpose, row reduction and rank are also supported. All entries and row operations use reduced exact fractions.

### Keep the complete calculation

All processing stays on your device. Paste JSON with dot decimals; quote exact fractions and large integers. Input is limited to 100,000 characters and 100 digits per scalar. Exact results use reduced fractions, with a 1,024-digit and 200,000-step arithmetic bound. Enumeration is limited to 10,000 complete results and 1,000,000 search steps; exceeding a bound returns an error, not a partial answer. Geometry uses floating-point approximations. JSON and typed JSON Pointer CSV retain the complete input, results, constraints and worked steps. Reports are limited to 4,000,000 JSON and 8,000,000 CSV characters. Each calculation uses a disposable worker with a 10-second timeout. Search and sort the first 200 preview rows. Copy result copies the summary. Download JSON or CSV for every result and worked step. Geometry tools also provide a downloadable SVG diagram.
