grapes-kronecker-grapes function

Numerical and Symbolic Kronecker Product

Numerical and Symbolic Kronecker Product

Computes the generalised Kronecker product of two numeric or character arrays.

x %kronecker% y

Arguments

  • x: numeric or character array.
  • y: numeric or character array.

Returns

array.

Examples

### numeric Kronecker product c(1,2) %kronecker% c(2,3) ### symbolic Kronecker product array(1:4, dim = c(2,2)) %kronecker% c("a","b")

References

Guidotti E (2022). "calculus: High-Dimensional Numerical and Symbolic Calculus in R." Journal of Statistical Software, 104(5), 1-37. tools:::Rd_expr_doi("10.18637/jss.v104.i05")

See Also

Other basic arithmetic: %diff%(), %div%(), %dot%(), %inner%(), %outer%(), %prod%(), %sum%()

  • Maintainer: Emanuele Guidotti
  • License: GPL-3
  • Last published: 2023-03-09