Learn R Programming

tram (version 0.8-3)

ltmatrices: Lower Triangular Matrices

Description

Storge of and computations on multiple lower triangular matrices

Usage

ltmatrices(x, diag = FALSE, byrow = FALSE, names = TRUE)
diagonals(x, ...)

Value

An object of class ltmatrices

Arguments

x

a numeric matrix, each row is interpreted as the elements of a lower triangular matrix in row order (byrow being TRUE) or column order (otherwise). The matrices may contain non-unit diagonals (when diag is TRUE).

diag

logical; x contains non-unit diagonals if TRUE.

byrow

logical; x is in row order if TRUE.

names

an optional vector of names, autogenerated if TRUE.

...

additional arguments.

Details

Currently only for internal use.

Examples

Run this code
x <- matrix(runif(30), ncol = 3)
ltmatrices(x, diag = FALSE, byrow = TRUE)

Run the code above in your browser using DataLab