search for: vec_math

Displaying 1 result from an estimated 1 matches for "vec_math".

Did you mean: vec_madd
2018 Nov 06
0
An update on the vctrs package
...and-comparison> - `+`, `-`, `/`, `*`, `^`, `%%`, `%/%`, `!`, `&`, and `|` operators are defined in terms of a double-dispatch use `vec_arith()`. Mathematical functions including the Summary group generics, the Math group generics, and a handful of others are defined using `vec_math()`. More details at <https://vctrs.r-lib.org/articles/s3-vector.html#arithmetic> These generics make creating a new vector more rewarding more quickly: you can easily sketch out the big picture before going back and filling in all the methods that make your class unique. More details at...