Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Get the d-dimensional identity hypermatrix
ResourceFunction["IdentityHypermatrix"][n,d] gives the identity hypermatrix n×…×n=nd. |
Compute the identity matrix for n=2 and d=4 in matrix form:
| In[1]:= |
| Out[1]= | ![]() |
Compute the identity matrix for n=3 and d=3:
| In[2]:= |
| Out[2]= |
This work is licensed under a Creative Commons Attribution 4.0 International License