Function arrso_eye#
Defined in File sparse/array/base.h
Function Documentation#
-
arrso_t arrso_eye(uint64_t nrows, ndir_t *p_nnz, ord_t order, dhelpl_t dhl)#
Create an identity array, all zeros and diagonal all ones. All members defined as sparse oti numbers. This is allocated given the number of imagianary directions per order in p_nnz.
- Parameters:
nrows – [in] Number of rows of the array (This array is square).
p_nnz – [in] Array with the number of im dir to allocate for each order.
order – [in] Truncation order of the array.
dhl – [in] Direction helper list object.