lower

Functions
lower
Complete List of ArrayFire Functions ArrayFire Functions by Category » Functions to create and modify Arrays » | Functions to create arrays.

Create a lower triangular matrix 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 matrix from input array.

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

## Function Documentation

## § af_lower()

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

Parameters

  [out] | out | is the lower traingle matrix
  [in] | in | is the input matrix
  [in] | is_unit_diag | is a boolean parameter specifying if the diagonal elements should be 1

## § lower()

AFAPI array af::lower | ( | const array & | in,
|  | bool | is_unit_diag = `false`
| ) |  |

Parameters

  [in] | in | is the input matrix
  [in] | is_unit_diag | is a boolean parameter specifying if the diagonal elements should be 1

Returns
  the lower triangle array

Examples:
  lin_algebra/lu.cpp.