tril: Lower triangular matrix

Description Usage Arguments Value Author(s) Examples

View source: R/tril.R

Description

Given a square matrix, it provides the lower triangular part, including the main diagonal.

Usage

1
tril(M)

Arguments

M

square matrix

Value

N

transformed matrix

Author(s)

Francesco Bartolucci, Antonio Forcina

Examples

1
2
M = matrix(1:9,3)
N = tril(M)

extRC documentation built on Oct. 23, 2020, 7:07 p.m.