00001 00002 /* 00003 * THIS IS A GENERATED FILE; DO NOT EDIT. 00004 * 00005 * Declarations for calling `mixNprob2d' a.k.a. `m2d' as a C library. 00006 * 00007 * Made by intermediate binary `mixNprob2d.out' on: 00008 * Thu Jul 7 23:02:43 2011 00009 * 00010 * Code for include-generation driver `../Gen-include.c' last modified on: 00011 * Mon Jun 7 15:11:28 2010 00012 * 00013 */ 00014 00015 // Original documentation block 00016 /* 00017 * mixNprob2d: probabilities under normal mixture (2 dimensions) 00018 * 00019 * p=mixNprob2d(i1,i2,model,mode); 00020 * * This routine has been superseded by mixNprobNd. But we retain it 00021 * because it can be much faster for 2d models. 00022 * 00023 * Inputs: 00024 * real i1[m,n]; 00025 * real i2[m,n]; 00026 * real model[6,k]; 00027 * opt int logmode = 1; 00028 * 00029 * Outputs: 00030 * real p[m,n]; 00031 * 00032 * See Also: mixN2mixture2d, mixNprobNd 00033 * 00034 * implemented as a mex file 00035 * 00036 * MJT 20 july 1998: tested exhaustively against mixNprob, 00037 * the m-file for finding gaussian mixture probabilities, 00038 * and found agreement to within floating-point accuracy 00039 * 00040 * 00041 */ 00042 00043 #ifndef _mexfn_mixNprob2d_h_ 00044 #define _mexfn_mixNprob2d_h_ 00045 00046 // function entry point 00047 mexfn_lib_t main_mixNprob2d; 00048 00049 // argument counts 00050 #define MXT_m2d_NARGIN_MIN 3 00051 #define MXT_m2d_NARGIN_MAX 4 00052 #define MXT_m2d_NARGOUT_MIN 1 00053 #define MXT_m2d_NARGOUT_MAX 1 00054 00055 // input argument numbers 00056 #define MXT_m2d_ARG_i1 0 00057 #define MXT_m2d_ARG_i2 1 00058 #define MXT_m2d_ARG_model 2 00059 #define MXT_m2d_ARG_logmode 3 00060 00061 // output argument numbers 00062 #define MXT_m2d_ARG_p 0 00063 00064 00065 #endif // _mexfn_mixNprob2d_h_ 00066 00067 // (file ends)