ResearchForge / Calculators
Linear Algebra·matrix-rank-determination

Matrix Rank Determination

Calculate the rank of a matrix based on the dimension of its null space.

✓ All 2 test cases pass.

Inputs

Test cases

These cases run live in your browser every time the page loads. If any fail, the calculator is broken — file an issue.

#InputsExpectedGotStatus
1{"null_space_dimension":5,"matrix_rows":4,"matrix_columns":8}33
2{"null_space_dimension":2,"matrix_rows":3,"matrix_columns":5}33
APIDeveloper APICall this calculator from codeexpand ↓
Endpoint
POST/api/calculators/linear-algebra/matrix-rank-determination/compute
Inputs (3)
  • null_space_dimensionintegerdefault 0
  • matrix_rowsintegerdefault 4
  • matrix_columnsintegerdefault 8
Example
curl -sX POST http://localhost:3001/api/calculators/linear-algebra/matrix-rank-determination/compute \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"null_space_dimension":0,"matrix_rows":4,"matrix_columns":8}}'
Try it live
Edit the body below, then click Call API.
Request body
Response
(click Call API to see the response)
full API docs →

Source: Pattern from: Test 2-08 Version D (Solution).pdf. Reproduces a standard matrix-rank-determination computation; problem text paraphrased.

AI disclosure: Calculator code generated by openai/gpt-4o-mini-2024-07-18; verified by 2 test cases.