outer {salad} | R Documentation |
Outer product for dual objects
Description
Method extending to dual object the usual method method
Usage
outer.dual(X, Y, FUN = "*", ...)
## S4 method for signature 'dual,dual'
outer(X, Y, FUN = "*", ...)
## S4 method for signature 'numericOrArray,dual'
outer(X, Y, FUN = "*", ...)
## S4 method for signature 'dual,numericOrArray'
outer(X, Y, FUN = "*", ...)
## S4 method for signature 'dual,dual'
X %o% Y
## S4 method for signature 'numericOrArray,dual'
X %o% Y
## S4 method for signature 'dual,numericOrArray'
X %o% Y
Arguments
X , Y |
arguments of 'FUN' |
FUN |
function to use in the outer product |
... |
extra arguments passed to 'FUN' |
Details
Methods extending 'outer' and '
Value
A dual matrix.
Examples
x <- dual(1:3)
outer(x, x)
d(outer(x,x), "x2")
[Package salad version 1.0 Index]