qdiag: Fast extraction of matrix diagonal

Description Usage Arguments Details Value Author(s)

View source: R/RcppExports.R

Description

Fast extraction of matrix diagonal

Usage

1
qdiag(x)

Arguments

x

The matrix to extract the diagonal from

Details

Note this function can only be used for extraction

Value

A vector with the diagonal elements

Author(s)

Claus Ekstrom <[email protected]>


MESS documentation built on May 29, 2017, 2:39 p.m.