libDAI
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
include
dai
matlab
matlab.h
Go to the documentation of this file.
1
/* This file is part of libDAI - http://www.libdai.org/
2
*
3
* Copyright (c) 2006-2011, The libDAI authors. All rights reserved.
4
*
5
* Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
6
*/
7
8
11
12
13
#ifndef __defined_libdai_matlab_h
14
#define __defined_libdai_matlab_h
15
16
17
#include "mex.h"
18
#include <
dai/factor.h
>
19
20
21
namespace
dai {
22
23
24
#ifdef SMALLMEM
25
typedef
int
mwSize;
26
typedef
int
mwIndex;
27
#endif
28
29
31
mxArray *
Factors2mx
(
const
std::vector<Factor> &Ps);
32
34
std::vector<Factor>
mx2Factors
(
const
mxArray *psi,
long
verbose);
35
37
Factor
mx2Factor
(
const
mxArray *psi);
38
39
40
}
// end of namespace dai
41
42
43
#endif
Generated on Mon Sep 17 2012 12:30:34 for libDAI by
1.8.1.2