Create a lower triangular marix from input array. More...

Functions

AFAPI array lower (const array &in, bool is_unit_diag=false)
 
AFAPI af_err af_lower (af_array *out, const af_array in, bool is_unit_diag)
 

Detailed Description

Create a lower triangular marix from input array.

=======================================================================

Function Documentation

AFAPI af_err af_lower ( af_array out,
const af_array  in,
bool  is_unit_diag 
)
Parameters
[out]outis the lower traingle matrix
[in]inis the input matrix
[in]is_unit_diagis a boolean parameter specifying if the diagonal elements should be 1
AFAPI array af::lower ( const array in,
bool  is_unit_diag = false 
)
Parameters
[in]inis the input matrix
[in]is_unit_diagis a boolean parameter specifying if the diagonal elements should be 1
Returns
the lower triangle array
Examples:
lin_algebra/lu.cpp.