next up previous contents
Next: About this document ... Up: Design and implementation issues Previous: Robustness, especially complex numbers   Contents

Elementwise versus matrix functions

Both elementwise and matrix functions are very useful in practice. In Matlab there are two versions of operators: the plain operators (matrix operation like *) and dot operators (elementwise operations like .*), and two versions of functions: the plain functions (elementwise like exp) and m-suffixed functions (matrix functions like expm).

Two difficulties exist,



Huaiyu Zhu
2002-03-23