TwiceAsNice
2019-02-18
|
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <math.h>
#include <string.h>
#include <ctype.h>
#include <levmar.h>
#include <mex.h>
Classes | |
struct | mexdata |
Macros | |
#define | __MAX__(A, B) ((A)>=(B)? (A) : (B)) |
#define DEBUG More... | |
#define | MIN_UNCONSTRAINED 0 |
#define | MIN_CONSTRAINED_BC 1 |
#define | MIN_CONSTRAINED_LEC 2 |
#define | MIN_CONSTRAINED_BLEC 3 |
#define | MIN_CONSTRAINED_BLEIC 4 |
#define | MIN_CONSTRAINED_BLIC 5 |
#define | MIN_CONSTRAINED_LEIC 6 |
#define | MIN_CONSTRAINED_LIC 7 |
Functions | |
static void | matlabFmtdErrMsgTxt (char *fmt,...) |
static void | matlabFmtdWarnMsgTxt (char *fmt,...) |
static void | func (double *p, double *hx, int m, int n, void *adata) |
static void | jacfunc (double *p, double *j, int m, int n, void *adata) |
static double * | getTranspose (mxArray *Am) |
static int | checkFuncAndJacobian (double *p, int m, int n, int havejac, struct mexdata *dat) |
void | mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *Prhs[]) |
#define MIN_CONSTRAINED_BC 1 |
#define MIN_CONSTRAINED_BLEC 3 |
#define MIN_CONSTRAINED_BLEIC 4 |
#define MIN_CONSTRAINED_BLIC 5 |
#define MIN_CONSTRAINED_LEC 2 |
#define MIN_CONSTRAINED_LEIC 6 |
#define MIN_CONSTRAINED_LIC 7 |
#define MIN_UNCONSTRAINED 0 |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void mexFunction | ( | int | nlhs, |
mxArray * | plhs[], | ||
int | nrhs, | ||
const mxArray * | Prhs[] | ||
) |
func
jac (optional)
p0
x
itmax
opts
mintype (optional)
lb, ub
dscl
A, b
C, d
ret
popt
info
covar