Learn R Programming

Tex4exams (version 0.1.2)

G3S: Apply the Gram-Schmidt process to orthogonize a group of 3 vectors

Description

Apply the Gram-Schmidt process to convert the group of 3 vectors (x,y,z) into an orthogonal group (u,v,w) without normalizing to unit vectors. The output is a matrix with columns (u,v,w).

Usage

G3S(x,y,z)

Value

The output is a matrix with columns (u,v,w) which are an orthogonal set of vectors.

Arguments

x,y,z

a group of 3 vectors (x,y,z)

Details

Need the one dimensional projection function 'myGS' from the same package.

See Also

myGS

Examples

Run this code
 G3S(c(1,2,3),c(3,2,1),c(4,5,9))
 fractional(G3S(c(1,2,3),c(3,2,1),c(4,5,9)))
 

Run the code above in your browser using DataLab