powered by
Orthogonal projection of y onto x.
myGS(x,y)
myGS returns a vector of the projection of y onto x.
a pairs of vectors.
G3S
x <- sample(c((-10):10),3) y <- sample(c((-10):10),3) myGS(x,y) fractional(myGS(x,y))
Run the code above in your browser using DataLab