Computes t(lhs) %*% rhs. If rhs is missing, computes t(lhs) %*% lhs.
Usage
nv_crossprod(lhs, rhs = NULL)
# S3 method for class 'AnvlArray'
crossprod(x, y = NULL, ...)Examples
x <- nv_matrix(1:6, nrow = 3, dtype = "f32")
nv_crossprod(x)
#> AnvlArray
#> 14 32
#> 32 77
#> [ CPUf32{2,2} ]