TYPERULES Type Rules

Section: FreeMat Functions

Usage

FreeMat follows an extended form of C's type rules (the extension is to handle complex data types. The general rules are as follows: These rules look tricky, but in reality, they are designed so that you do not actively have to worry about the types when performing mathematical operations in FreeMat. The flip side of this, of course is that unlike C, the output of numerical operations is not automatically typecast to the type of the variable you assign the value to.