Matlab, quick review
Aug. 8th, 2008 12:56 am* sweet syntactic sugar for matrix operations (transpose, submatrix, etc.)
* very easy to write unreadable code, full of poorly-named variables
* the semantics seems to be unnecessarily complex
* argh, please please let me define nameless functions, on the fly!
I know how to do entry-wise application (i.e. "mapcar" for the Lispers) when it's an infix operator: e.g. use ".*" instead of "*". But I can't do this for my own functions, and need to write for-loops.
A very odd thing: apparently, functions can't refer to constants/variables defined outside of it (the only constants allowed seem to be literals such as "1" and pre-defined constants, such as "pi").
Hopefully, I'm missing something.
* very easy to write unreadable code, full of poorly-named variables
* the semantics seems to be unnecessarily complex
* argh, please please let me define nameless functions, on the fly!
I know how to do entry-wise application (i.e. "mapcar" for the Lispers) when it's an infix operator: e.g. use ".*" instead of "*". But I can't do this for my own functions, and need to write for-loops.
A very odd thing: apparently, functions can't refer to constants/variables defined outside of it (the only constants allowed seem to be literals such as "1" and pre-defined constants, such as "pi").
Hopefully, I'm missing something.