Learn R Programming

salad (version 1.2)

outer: Outer product for dual objects

Description

Method extending to dual object the usual method method

Usage

outer.dual(X, Y, FUN = "*", ...)

# S4 method for dual,dual outer(X, Y, FUN = "*", ...)

# S4 method for numericOrArray,dual outer(X, Y, FUN = "*", ...)

# S4 method for dual,numericOrArray outer(X, Y, FUN = "*", ...)

# S4 method for dual,dual %o%(X, Y)

# S4 method for numericOrArray,dual %o%(X, Y)

# S4 method for dual,numericOrArray %o%(X, Y)

Value

A dual matrix.

Arguments

X, Y

arguments of 'FUN'

FUN

function to use in the outer product

...

extra arguments passed to `FUN`

Details

Methods extending `outer` and `

Examples

Run this code
x <- dual(1:3)
outer(x, x)
d(outer(x,x), "x2")

Run the code above in your browser using DataLab