ArrayFire: lower (original) (raw)

Return the lower triangular matrix from an input array. More...

Functions
AFAPI array lower (const array &in, bool is_unit_diag=false)
C++ Interface to return the lower triangle array. More...
AFAPI af_err af_lower (af_array *out, const af_array in, bool is_unit_diag)
C Interface to return the lower triangle array. More...

Return the lower triangular matrix from an input array.


af_lower()

C Interface to return the lower triangle array.

Parameters

[out] out lower traingle array
[in] in input array
[in] is_unit_diag boolean specifying if diagonal elements are 1's

Returns

AF_SUCCESS, if function returns successfully, else an af_err code is given

C++ Interface to return the lower triangle array.

Parameters

[in] in input array
[in] is_unit_diag boolean specifying if diagonal elements are 1's

Returns

lower triangle array