Learn R Programming

ldat (version 0.3.3)

Ops.lvec: Implementation of Ops group generics for lvec

Description

Implementation of Ops group generics for lvec

Usage

# S3 method for lvec
Ops(e1, e2)

Arguments

e1

an object of type lvec.

e2

an object of type lvec.

Value

Returns an link{lvec} of the same length as the input.

Details

Math is group generic implementing the following functions: <U+2018>"+"<U+2019>, <U+2018>"-"<U+2019>, <U+2018>"*"<U+2019>, <U+2018>"/"<U+2019>, <U+2018>"^"<U+2019>, <U+2018>" <U+2018>"|"<U+2019>, <U+2018>"!"<U+2019> <U+2018>"=="<U+2019>, <U+2018>"!="<U+2019>, <U+2018>"<"<U+2019>, <U+2018>"<="<U+2019>, <U+2018>">="<U+2019>, <U+2018>">"<U+2019>. For more information see Ops.