Created
October 3, 2013 20:59
-
-
Save jjl/6817050 to your computer and use it in GitHub Desktop.
Linear Algebra. Or the little bit I need to know for something I've been working on.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Multiply a Row Vector by a Column Vector | |
multPerpendicularVecs = zipWith (*) | |
-- Multiply 2 Row Vectors (ugh, that's not supposed to happen), or 2x Col Vecs | |
multParallelVecs a b = fmap (* (sum a)) b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment