R: Class '"packedMatrix"' of packed dense symmetric/triangular...

packedMatrix-class {Matrix} | R Documentation

## Class `"packedMatrix"` of packed dense symmetric/triangular Matrices

### Description

Class `"packedMatrix"` is a virtual class of packed dense symmetric or triangular Matrices.

It is used to define common methods for efficient subsetting, transposing etc for the actual classes it contains, i.e., the currently 2 x 3 classes `"[dln]spMatrix"` (packed symmetric) and `"[dln]tpMatrix"` (packed triangular), and subclasses of these, such as `"dppMatrix"`, `"pCholesky"`, and `"pBunchKaufman"`.

### Slots

`uplo`:

  `"character"`; either "U", for upper triangular, and "L", for lower.

`Dim`, `Dimnames`:

  as all `Matrix` objects.

### Extends

Class `"Matrix"`, directly. Class `"mMatrix"`, by class "Matrix", distance 2. Class `"replValue"`, by class "Matrix", distance 2.

### Methods

[

  `signature(x = "packedMatrix", i = "missing", j = "missing", drop = "missing")`: ...

[

  `signature(x = "packedMatrix", i = "NULL", j = "missing", drop = "missing")`: ...

[

  `signature(x = "packedMatrix", i = "index", j = "missing", drop = "missing")`: ...

[

  `signature(x = "packedMatrix", i = "matrix", j = "missing", drop = "missing")`: ...

[

  `signature(x = "packedMatrix", i = "lMatrix", j = "missing", drop = "missing")`: ...

[

  `signature(x = "packedMatrix", i = "missing", j = "NULL", drop = "missing")`: ...

[

  `signature(x = "packedMatrix", i = "NULL", j = "NULL", drop = "missing")`: ...

[

  `signature(x = "packedMatrix", i = "index", j = "NULL", drop = "missing")`: ...

[

  `signature(x = "packedMatrix", i = "matrix", j = "NULL", drop = "missing")`: ...

[

  `signature(x = "packedMatrix", i = "lMatrix", j = "NULL", drop = "missing")`: ...

[

  `signature(x = "packedMatrix", i = "missing", j = "index", drop = "missing")`: ...

[

  `signature(x = "packedMatrix", i = "NULL", j = "index", drop = "missing")`: ...

[

  `signature(x = "packedMatrix", i = "index", j = "index", drop = "missing")`: ...

[

  `signature(x = "packedMatrix", i = "matrix", j = "index", drop = "missing")`: ...

[

  `signature(x = "packedMatrix", i = "lMatrix", j = "index", drop = "missing")`: ...

[

  `signature(x = "packedMatrix", i = "missing", j = "missing", drop = "logical")`: ...

[

  `signature(x = "packedMatrix", i = "NULL", j = "missing", drop = "logical")`: ...

[

  `signature(x = "packedMatrix", i = "index", j = "missing", drop = "logical")`: ...

[

  `signature(x = "packedMatrix", i = "matrix", j = "missing", drop = "logical")`: ...

[

  `signature(x = "packedMatrix", i = "lMatrix", j = "missing", drop = "logical")`: ...

[

  `signature(x = "packedMatrix", i = "missing", j = "NULL", drop = "logical")`: ...

[

  `signature(x = "packedMatrix", i = "NULL", j = "NULL", drop = "logical")`: ...

[

  `signature(x = "packedMatrix", i = "index", j = "NULL", drop = "logical")`: ...

[

  `signature(x = "packedMatrix", i = "matrix", j = "NULL", drop = "logical")`: ...

[

  `signature(x = "packedMatrix", i = "lMatrix", j = "NULL", drop = "logical")`: ...

[

  `signature(x = "packedMatrix", i = "missing", j = "index", drop = "logical")`: ...

[

  `signature(x = "packedMatrix", i = "NULL", j = "index", drop = "logical")`: ...

[

  `signature(x = "packedMatrix", i = "index", j = "index", drop = "logical")`: ...

[

  `signature(x = "packedMatrix", i = "matrix", j = "index", drop = "logical")`: ...

[

  `signature(x = "packedMatrix", i = "lMatrix", j = "index", drop = "logical")`: ...

diag

  `signature(x = "packedMatrix")`: ...

diag<-

  `signature(x = "packedMatrix")`: ...

t

  `signature(x = "packedMatrix")`: ...

### Author(s)

Mikael Jagan

### See Also

`pack` and `unpack`; its subclasses, `"dtpMatrix"`, `"lspMatrix"`, etc.

### Examples

    showClass("packedMatrix")
    showMethods(class = "packedMatrix")

[Package Matrix version 1.4-1 Index]