Function carr_get_slice#

Function Documentation#

carr_t carr_get_slice(carr_t *arr, int64_t starti, int64_t stopi, int64_t stepi, int64_t startj, int64_t stopj, int64_t stepj)#

Get slice of a fedarr object.

Parameters:
  • val[in] Value to set in res array.

  • starti[in] Starting row index.

  • stopi[in] Final row index.

  • stepi[in] Row step.

  • startj[in] Starting column index.

  • stopj[in] Final column index.

  • stepj[in] Column step.

  • res[inout] Address of the result holder