Learn R Programming

HiDimDA (version 0.2-0)

DMat: 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