matrix_identity
Generate an n×n identity matrix for linear algebra operations. Specify the size n to create a square matrix with ones on the diagonal.
Instructions
Create n×n identity matrix. Example: n: 3
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | Size n |