Function darr_ones#

Function Documentation#

darr_t darr_ones(uint64_t nrows, uint64_t ncols)#

C-level memory allocation of a real array setting all values to 1.

Parameters:
  • arr[inout] Address of the array.

  • shapex[in] Number of elements in the first dimension.

  • shapey[in] Number of elements in the second dimension.