qdiag: Fast extraction of matrix diagonal

View source: R/RcppExports.R

qdiagR Documentation

Fast extraction of matrix diagonal

Description

Fast extraction of matrix diagonal

Usage

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 <claus@rprimer.dk>


MESS documentation built on Aug. 21, 2023, 1:05 a.m.

Related to qdiag in MESS...