tril#

swordfish.function.tril()#

If k is not specified: return the lower triangular portion of matrix X.

If k is specified: return the elements on and below the k-th diagonal of X.

Parameters:
  • X (Constant) – A matrix.

  • k (Constant, optional) – An integer, by default DFLT.