dot-getDiagonalIndex: Index Generation

.getDiagonalIndexR Documentation

Index Generation

Description

Generates a matrix index to create a square triangular matrix.

Usage

.getDiagonalIndex(n)

Arguments

n

an integer indicating the size of the resulting index matrix.

Value

a locigal matrix of size n x n


genBaRcode documentation built on April 4, 2025, 2:07 a.m.