How about testig for the desired mathematical properties? If this is a Gram-Schmidt test, the resulting matrix M should be orthogonal, so we can test for M*M.transpose() being the identity matrix (up to numerical accuracy). Of course, this type of indirect test should belong to the test section, not to the examples section.
Cheers, Javier -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org