Description Objects from the Class Slots Extends Methods See Also Examples
The class "ddiMatrix"
of numerical diagonal matrices.
Note that diagonal matrices now extend sparseMatrix
, whereas
they did extend dense matrices earlier.
Objects can be created by calls of the form new("ddiMatrix", ...)
but typically rather via Diagonal
.
x
:numeric vector. For an n * n
matrix, the x
slot is of length n or 0
,
depending on the diag
slot:
diag
:"character"
string, either "U"
or
"N"
where "U"
denotes unit-diagonal, i.e., identity
matrices.
Dim
,Dimnames
:matrix dimension and
dimnames
, see the Matrix
class
description.
Class "diagonalMatrix"
, directly.
Class "dMatrix"
, directly.
Class "sparseMatrix"
, indirectly, see
showClass("ddiMatrix")
.
signature(x = "ddiMatrix", y = "ddiMatrix")
: ...
Class diagonalMatrix
and function Diagonal
.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.