trig_sup: Upper triangular Matrix/Array

View source: R/utils.R

trig_supR Documentation

Upper triangular Matrix/Array

Description

Upper triangular Matrix/Array

Usage

trig_sup(A, transp = FALSE, diag = TRUE)

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


mimiSBM documentation built on May 29, 2024, 2:48 a.m.