DMat {HiDimDA}R 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


[Package HiDimDA version 0.2-6 Index]