Compute crossproducts.

linalg_crossprod(alpha = 1, x, ret = NULL)

linalg_tcrossprod(alpha = 1, x, ret = NULL)

Arguments

alpha

Number to scale the crossproduct by.

x

Input data.

ret

Either NULL or an already allocated fml matrix of the same class and type as x.

Value

Returns the crossproduct.