Go to the documentation of this file.
19 #ifdef MATLAB_MEX_FILE
25 #define NULL ((void *) 0)
57 #ifdef MATLAB_MEX_FILE
59 mxMalloc, mxCalloc, mxRealloc, mxFree,
62 malloc, calloc, realloc, free,
71 #ifdef MATLAB_MEX_FILE
109 #ifdef MATLAB_MEX_FILE
133 #ifdef MATLAB_MEX_FILE
181 if (nitems < 1) nitems = 1 ;
182 if (size_of_item < 1) size_of_item = 1 ;
183 size = nitems * size_of_item ;
185 if (
size != ((
double) nitems) * size_of_item)
210 if (nitems < 1) nitems = 1 ;
211 if (size_of_item < 1) size_of_item = 1 ;
212 size = nitems * size_of_item ;
214 if (
size != ((
double) nitems) * size_of_item)
249 if (nitems_old < 1) nitems_old = 1 ;
250 if (nitems_new < 1) nitems_new = 1 ;
251 if (size_of_item < 1) size_of_item = 1 ;
252 size = nitems_new * size_of_item ;
254 if (
size != ((
double) nitems_new) * size_of_item)
263 (*ok) = (
p !=
NULL) ;
265 else if (nitems_old == nitems_new)
277 if (nitems_new < nitems_old)
347 #ifdef SUITESPARSE_TIMER_ENABLED
358 clock_gettime (CLOCK_MONOTONIC, &
t) ;
359 tic [0] = (double) (
t.tv_sec) ;
360 tic [1] = (double) (
t.tv_nsec) ;
413 return (
toc [0] + 1
e-9 *
toc [1]) ;
470 s =
x *
sqrt (1.0 + r*r) ;
482 s =
y *
sqrt (1.0 + r*r) ;
508 double ar,
double ai,
509 double br,
double bi,
510 double *cr,
double *ci
513 double tr, ti, r, den ;
518 tr = (ar + ai * r) / den ;
519 ti = (ai - ar * r) / den ;
525 tr = (ar * r + ai) / den ;
526 ti = (ai * r - ar) / den ;
void toc(size_t id, const char *labelC)
Array< double, 1, 3 > e(1./3., 0.5, 2.)
void *(* calloc_func)(size_t, size_t)
void *(* malloc_func)(size_t)
double SuiteSparse_time(void)
void * SuiteSparse_free(void *p)
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
#define SUITESPARSE_SUB_VERSION
int(* printf_func)(const char *,...)
double SuiteSparse_toc(double tic[2])
void SuiteSparse_start(void)
int SuiteSparse_divcomplex(double ar, double ai, double br, double bi, double *cr, double *ci)
void tic(size_t id, const char *labelC)
struct SuiteSparse_config_struct SuiteSparse_config
void SuiteSparse_tic(double tic[2])
void * SuiteSparse_calloc(size_t nitems, size_t size_of_item)
#define SUITESPARSE_SUBSUB_VERSION
void * SuiteSparse_malloc(size_t nitems, size_t size_of_item)
void(* free_func)(void *)
void * SuiteSparse_realloc(size_t nitems_new, size_t nitems_old, size_t size_of_item, void *p, int *ok)
void SuiteSparse_finish(void)
#define SUITESPARSE_VERSION
int(* divcomplex_func)(double, double, double, double, double *, double *)
#define SUITESPARSE_MAIN_VERSION
double(* hypot_func)(double, double)
void *(* realloc_func)(void *, size_t)
int SuiteSparse_version(int version[3])
double SuiteSparse_hypot(double x, double y)
Jet< T, N > sqrt(const Jet< T, N > &f)
gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:36:27