Create a upper triangular matrix from input array. More...
Functions | |
AFAPI array | upper (const array &in, bool is_unit_diag=false) |
AFAPI af_err | af_upper (af_array *out, const af_array in, bool is_unit_diag) |
Create a upper triangular matrix from input array.
[out] | out | is the upper triangle matrix |
[in] | in | is the input matrix |
[in] | is_unit_diag | is a boolean parameter specifying if the diagonal elements should be 1 |