Function oarr_eye#

Function Documentation#

oarr_t oarr_eye(uint64_t size, bases_t nbases, ord_t order, dhelpl_t dhl)#

Create an identity matrix.

Parameters:
  • size[in] Size of the matrix to be created (creates a 2d matrix with shape size x size )

  • nbases[in] Number of bases of the OTI number.

  • order[in] Truncation order of the imaginary number.

  • dhl[in] Direction helper list object.