Upper triangular Matrix/Array

trig_sup(A, transp = F, diag = T)

Arguments

A

a array or a squared matrix

transp

boolean, indicate if we need a transposition or not.

diag

boolean, if True, diagonal is not used.

Value

a array or a squared matrix, with only upper-triangular coefficients with non-zero values