Skip to content
HALOWERK

Calculators and Rule Checks

matrix market vector product

Sparse matrix multiplication returns the matrix-vector product from a Matrix Market coordinate file. Use it when an agent needs a numerical result with symmetric entries expanded.

POST https://rechen.halowerk.com/v1/matrix-market-vector-product

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
matrixstringYes
xarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "matrix": {
      "type": "string",
      "maxLength": 48000,
      "minLength": 1
    },
    "x": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": -1000000000000,
        "maximum": 1000000000000
      },
      "maxItems": 128,
      "minItems": 1
    }
  },
  "required": [
    "matrix",
    "x"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "matrix": "%%MatrixMarket matrix coordinate real symmetric\n3 3 5\n1 1 2832268.51852\n2 1 1000000\n2 2 1067500000\n3 1 2083333.33333\n3 3 1535333333.33",
  "x": [
    1,
    0,
    1
  ]
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "y": {
          "type": "array",
          "items": {
            "type": "number"
          }
        }
      },
      "required": [
        "y"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub →