diag_l {lenses}R Documentation

Lens into the diagonal of a matrix

Description

A lens into a matrix's diagonal elements

Usage

diag_l

Format

An object of class lens of length 2.


[Package lenses version 0.0.3 Index]