-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Description
Hi,
I noticed that ?GramSchmidt has this example:
# non-invertible matrix; hence, its basis is not orthonormal
(xx <- matrix(c( 1:3, 3:1, 1, 0, -1), 3, 3))
crossprod(xx)
(zz <- GramSchmidt(xx))
zapsmall(crossprod(zz))
The statement that the basis isn't orthonormal is wrong and contradicted by the last line of the example. Maybe what was meant is that its dimension is less than the number of columns in xx?
John
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels