.BG
.VE $Header: /usr3/s/current/s/.help/RCS/crossprod,v 1.2 83/12/30 19:26:41 rab Exp $
.FN crossprod
.FN %c
.TL
crossprod %c: Matrix Cross Product Operator
.CS
mat1 %c mat2
crossprod(mat1, mat2)
.PP
.AG mati
matrix or vector.
If `mat2' is omitted, it defaults to `mat1'.
.RT
matrix representing the cross product of `mat1' and `mat2',
defined as `t(mat1) %* mat2', where `%*' is matrix
multiplication and `t' is transposition.
Thus the `[i,j]'th element of the result is `sum(mat1[,i]*mat2[,j])'.
.KW matrix
.KW algebra
.KW array*
.WR
