DMat: DMat objects: diagonal matrices

View source: R/DMat.R

DMatR Documentation

DMat objects: diagonal matrices

Description

Creates a ‘DMat’ object.

Usage

DMat(D)

Arguments

D

A vector with the diagonal elements of the matrix.

Value

An object of class ‘DMat’ for which the generic method ‘as.matrix’ (converting to a traditional numeric matrix), as well as specialized methods for matrix inversion, multiplication, and element-wise arithmetic operations, are available.

See Also

solve.DMat, LeftMult.DMat, RightMult.DMat


HiDimDA documentation built on Oct. 6, 2024, 5:07 p.m.