A high-performance general-purpose compute library

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

Detailed Description

Return the lower triangular matrix from an input array.


Function Documentation

◆ af_lower()

AFAPI af_err af_lower ( af_array out,
const af_array  in,
bool  is_unit_diag 
)

C Interface to return the lower triangle array.

Parameters
[out]outlower traingle array
[in]ininput array
[in]is_unit_diagboolean specifying if diagonal elements are 1's
Returns
AF_SUCCESS, if function returns successfully, else an af_err code is given

◆ lower()

AFAPI array lower ( const array in,
bool  is_unit_diag = false 
)

C++ Interface to return the lower triangle array.

Parameters
[in]ininput array
[in]is_unit_diagboolean specifying if diagonal elements are 1's
Returns
lower triangle array