geometry.matrix_determinant
Computes the determinant of a square matrix, using exact decimal expansion for matrices up to 3x3 and numpy float64 for larger matrices (approximate for n≥4).
Instructions
정방행렬 M 의 행렬식을 계산한다. M 은 n×n Decimal 문자열 2차원 리스트(n 은 200 이하). n 이 3 이하면 Decimal 로 정확히 전개하고 n 이 4 이상이면 numpy float64 로 계산해 약 15자리 정밀도만 보장한다. 정방행렬이 아니면 오류이며 n≥4 결과는 근사값임에 유의한다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| M | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _meta | No | 서버가 붙이는 영수증(integrity), 엔진, 힌트 | |
| trace | Yes | 계산 근거(tool, formula, inputs, steps, output) | |
| result | Yes |