dotprod: Euclidean even product

Description Usage Arguments Details Author(s) See Also Examples

Description

Euclidean even product; dot product of two onions

Usage

1
dotprod(x, y)

Arguments

x,y

Onionic vectors

Details

Returns the Euclidean even product of two onionic vectors. That is, if x and y are eight-element vectors of the components of two onions, return sum(x*y).

Note that the returned value is a numeric vector (compare %<.>%, e.even(), which return onionic vectors with zero imaginary part).

Author(s)

Robin K. S. Hankin

See Also

prods

Examples

1
2
3
4
5
a <- roct(5)
b <- roct(1)

a %.% b
a %.% (a+3)

onion documentation built on July 11, 2017, 9:04 a.m.