Function arrsso_memory_size#

Function Documentation#

size_t arrsso_memory_size(uint64_t size, ndir_t *p_nnz, ord_t order)#

Create an array filled with zeros, defined as sparse oti numbers. This is allocated given ammount of memory to allocate for each order, in p_nnz.

Parameters:
  • nrows[in] Number of rows of the array.

  • ncols[in] Number of columns of the array.

  • 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.