HiDimDA (version 0.2-4)

DMat: DMat objects: diagonal matrices

Description

Creates a ‘DMat’ object.

Usage

DMat(D)

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.

Arguments

D

A vector with the diagonal elements of the matrix.

See Also

solve.DMat, LeftMult.DMat, RightMult.DMat