Macros
gk_mkmemory.h File Reference

Templates for memory allocation routines. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GK_MKALLOC(PRFX, TYPE)
 
#define GK_MKALLOC_PROTO(PRFX, TYPE)
 

Detailed Description

Templates for memory allocation routines.

Date
Started 3/29/07
Author
George
Version
$Id: gk_mkmemory.h 10711 2011-08-31 22:23:04Z karypis $ 

Definition in file gk_mkmemory.h.

Macro Definition Documentation

◆ GK_MKALLOC

#define GK_MKALLOC (   PRFX,
  TYPE 
)

Definition at line 14 of file gk_mkmemory.h.

◆ GK_MKALLOC_PROTO

#define GK_MKALLOC_PROTO (   PRFX,
  TYPE 
)
Value:
TYPE *PRFX ## malloc(size_t n, char *msg);\
TYPE *PRFX ## realloc(TYPE *ptr, size_t n, char *msg);\
TYPE *PRFX ## smalloc(size_t n, TYPE ival, char *msg);\
TYPE *PRFX ## set(size_t n, TYPE val, TYPE *x);\
TYPE *PRFX ## copy(size_t n, TYPE *a, TYPE *b);\
TYPE **PRFX ## AllocMatrix(size_t ndim1, size_t ndim2, TYPE value, char *errmsg);\
void PRFX ## FreeMatrix(TYPE ***r_matrix, size_t ndim1, size_t ndim2);\
void PRFX ## SetMatrix(TYPE **matrix, size_t ndim1, size_t ndim2, TYPE value);\

Definition at line 130 of file gk_mkmemory.h.

b
Scalar * b
Definition: benchVecAdd.cpp:17
x
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
Definition: gnuplot_common_settings.hh:12
copy
int EIGEN_BLAS_FUNC() copy(int *n, RealScalar *px, int *incx, RealScalar *py, int *incy)
Definition: level1_impl.h:29
n
int n
Definition: BiCGSTAB_simple.cpp:1
matrix
Map< Matrix< T, Dynamic, Dynamic, ColMajor >, 0, OuterStride<> > matrix(T *data, int rows, int cols, int stride)
Definition: gtsam/3rdparty/Eigen/blas/common.h:110
TYPE
#define TYPE
Definition: benchFFT.cpp:31
a
ArrayXXi a
Definition: Array_initializer_list_23_cxx11.cpp:1
test_callbacks.value
value
Definition: test_callbacks.py:160
pybind11.msg
msg
Definition: wrap/pybind11/pybind11/__init__.py:6


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:47