| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/arith.R |
| 3 |
\name{matrixOps.units} |
| 4 |
\alias{matrixOps.units} |
| 5 |
\title{S3 matrixOps Group Generic Functions for units objects} |
| 6 |
\usage{ |
| 7 |
\method{matrixOps}{units}(x, y) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{x}{object of class \code{units}, |
| 11 |
or something that can be coerced to it by \code{as_units(x)}} |
| 12 |
|
| 13 |
\item{y}{object of class \code{units}, |
| 14 |
or something that can be coerced to it by \code{as_units(y)}} |
| 15 |
} |
| 16 |
\value{ |
| 17 |
object of class \code{units} |
| 18 |
} |
| 19 |
\description{ |
| 20 |
matrixOps functions for units objects. |
| 21 |
} |
| 22 |
\examples{ |
| 23 |
a = set_units(1:5, m) |
| 24 |
a \%*\% a |
| 25 |
a \%*\% t(a) |
| 26 |
a \%*\% 1:5 |
| 27 |
1:5 \%*\% a |
| 28 |
} |