Are the matlab built-in functions written in some lower level language?
c++, matlab
Solution
yes, `matlab` alikes usually use wrapper functions for linear algebra library routines written in a low level language (usually `Fortran`) such as `BLAS`,`ATLAS` or `LAPACK`.
you can read more about this in here
also see this question if you're curious how much overhead does function wrapping costs (basically none). results are for `C++`, `python` and `numpy` but I believe they are applied to matlab as well.
Problem
Why are the built-in functions in Matlab so much faster then the ones that you write yourself?