index-methods: Methods for indexing orientations

Description Details


Methods are defined for indexing all types of orientations.


Single bracket indexing (e.g. x[1:3]) creates a new orientation object of the same class as the original by selecting the appropriate entries. Double bracket indexing (e.g. x[[3]]) extracts the chosen data as a matrix or vector, depending on the class of the orientation.

orientlib documentation built on May 30, 2017, 5:08 a.m.