functs abstracts multivariate real functions over grids and enables easy MPF computations.
|15 Jan 2011||Murat Uney||
functs is a MATLAB class for Marginalize Product of Functions (MPF) type operations which are commonly encountered in various message passing algorithms such as sum product in probabilistic graphical models (e.g., factor graphs). @functs simply abstracts multidimensional arrays which represent multivariate real functions evaluated over a grid and carries out operations on them.
The class files are under the directory @functs. For examples, please see the test scripts under \test\functs, e.g., run scr_functs_example1.m
The underlying functions are mex (Matlab EXecutables) files under @functs\private and need to be built using the mex utility of MATLAB (after setting up mex, one might run @functs\private\buildarrayfunctions.m). Although these functions could be used on their own, it is much easier to have exploit them through the functs class. After having the mex files built, please run the script
Note that this class is created during the research activities and it is WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The underlying functions used for array multiplication are:
Please check MATLAB command window help for these functions for further details.
Note: The testsuit_functs.m clears the workspace in its initial and its final step.