DormanResearch : RLinearAlgebra?

Referers: LinearAlgebra :: RHints :: (Remote :: Orphans :: Tree )

Dorman Wiki
Dorman Lab Wiki
A <- matrix(c(0,1,2,3,4,5), nrow=3, ncol=2, byrow=T)
B <- matrix(1, nrow=2, ncol=3)
# transpose
t(A)
# matrix multiplication
A %*% B
x <- c(1,2,3)
y <- c(2,2,2)
# element-wise multiplication
A*B
# Kronecker
kronecker(A,B)
# inner product
crossprod(x,y)
x%*%t(y)
# length of vector
sqrt(crossprod(x,x))
# dimension of vector
length(x)
There is no comment on this page. [Display comments/form]