myGS {Tex4exams} | R Documentation |
Orthogonal projection of y onto x.
myGS(x,y)
x , y |
a pairs of vectors. |
myGS returns a vector of the projection of y onto x.
x <- sample(c((-10):10),3)
y <- sample(c((-10):10),3)
myGS(x,y)
fractional(myGS(x,y))