trig_sup: Upper triangular Matrix/Array
Description
Upper triangular Matrix/Array
Usage
trig_sup(A, transp = FALSE, diag = TRUE)
Value
a array or a squared matrix, with only upper-triangular coefficients with non-zero values
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.