cliffordwolf/NumJS — pull request #1 by mfansler (2012-10-02 20:34:31+00:00)
Title: Added support for calculating norm of vectors with complex components.

I'm not sure what the original reasoning was for throwing a type error when calculating the norm for vectors with complex components, but if you're interested I resolved it in a such a way that it could be consistent with common calculations found in quantum computing. Tests are included.

Thanks a bunch for putting this together!