xboa
|
Go to the source code of this file.
Classes | |
struct | Bunchcore_hit |
struct | Bunchcore |
Functions | |
static void | Bunchcore_dealloc (Bunchcore *self) |
static int | Bunchcore_init (Bunchcore *self, int length) |
static Bunchcore * | bc_realloc (Bunchcore *self, int new_length) |
static int | length (Bunchcore *self) |
static PyObject * | length_python (PyObject *self, PyObject *args) |
static Py_ssize_t | len_python (PyObject *self) |
static PyObject * | get_item_python (PyObject *self, PyObject *args) |
static void | set_item_bc_hit (Bunchcore *self, PyObject *a_hit, Hitcore *a_hitcore, int pos, int *ierr) |
static PyObject * | set_item_python (PyObject *self, PyObject *args) |
static double | get_moment_char (Bunchcore *self, const char **axes, double *means, int n_axes, int *ierr) |
static void | covariance_matrix_char (Bunchcore *self, const char *axes[], double *means, int n_axes, double *target, int *ierr) |
static void | make_array_from_char_list (PyObject *py_list, const char ***string_list, int *list_size) |
static void | make_array_from_float_list (PyObject *py_list, double **double_list, int *list_size) |
static PyObject * | get_moment_python (PyObject *self, PyObject *args) |
static PyObject * | covariance_matrix_python (PyObject *self, PyObject *args) |
static int | _cut_double (Bunchcore *self, const char *variable, PyObject *comp, const double cut_value, const int is_local) |
static PyObject * | _cut_double_python (PyObject *self, PyObject *args) |
void | no_warn (void) |
PyMODINIT_FUNC | initBunchcore (void) |
void | import_hitcore (void) |
Variables | |
static PyTypeObject | BunchcoreType |
static PySequenceMethods | Bunchcore_as_seq |
void ** | hitcore_api |
hc_get_dbl_function(* | hc_get_dbl_function_by_string )(const char *) |
static void(* | hc_set_local_weight )(Hitcore *hc, double weight) |
static void(* | hc_set_global_weight )(Hitcore *hc, double weight) |
static vector *(* | vector_alloc )(size_t object_size, int n_elements) |
static vector *(* | vector_realloc )(vector *vec, int n_elements) |
static vector *(* | vector_init )(void *data, size_t data_length, size_t allocd_length, size_t object_size) |
static vector *(* | vector_free )(vector *vec) |
static void(* | vector_insert )(vector *vec, void *start, void *end, size_t insert_point, int *ierr) |
static void *(* | vector_el )(vector *vec, int element) |
static void *(* | vector_el_bc )(vector *vec, int element) |
static size_t(* | vector_size )(vector *vec) |
|
static |
|
static |
|
static |
Definition at line 52 of file Bunchcore.h.
Referenced by _cut_double(), bc_realloc(), covariance_matrix_char(), get_item_python(), get_moment_char(), set_item_bc_hit(), and set_item_python().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void no_warn | ( | void | ) |
Definition at line 564 of file Bunchcore.c.
References Bunchcore_shallow_copy(), and vector_free().
PyMODINIT_FUNC initBunchcore | ( | void | ) |
Definition at line 523 of file Bunchcore.c.
References import_hitcore().
void import_hitcore | ( | void | ) |
Definition at line 537 of file Bunchcore.c.
References hc_get_dbl_function_by_string, hc_set_global_weight(), hc_set_local_weight(), hitcore_api, vector_alloc, vector_el, vector_el_bc, vector_free, vector_init, vector_insert, vector_realloc, and vector_size.
Referenced by initBunchcore().
|
static |
Definition at line 37 of file Bunchcore.h.
|
static |
Definition at line 38 of file Bunchcore.h.
void** hitcore_api |
Definition at line 90 of file Bunchcore.h.
Referenced by import_hitcore().
hc_get_dbl_function(* hc_get_dbl_function_by_string)(const char *) |
Definition at line 93 of file Bunchcore.h.
Referenced by _cut_double(), covariance_matrix_char(), get_moment_char(), hc_get_dbl_by_string(), import_hitcore(), and initHitcore().
|
static |
Definition at line 94 of file Bunchcore.h.
|
static |
Definition at line 95 of file Bunchcore.h.
|
static |
Definition at line 98 of file Bunchcore.h.
Referenced by Bunchcore_init(), Bunchcore_shallow_copy(), import_hitcore(), test_vector_alloc(), and test_vector_realloc().
Definition at line 99 of file Bunchcore.h.
Referenced by bc_realloc(), import_hitcore(), and test_vector_realloc().
|
static |
Definition at line 100 of file Bunchcore.h.
Referenced by import_hitcore(), test_vector_init(), and test_vector_insert().
Definition at line 101 of file Bunchcore.h.
Referenced by Bunchcore_dealloc(), import_hitcore(), test_vector_alloc(), test_vector_init(), test_vector_insert(), and test_vector_realloc().
|
static |
Definition at line 102 of file Bunchcore.h.
Referenced by import_hitcore(), and test_vector_insert().
|
static |
Definition at line 103 of file Bunchcore.h.
Referenced by _cut_double(), bc_realloc(), Bunchcore_dealloc(), Bunchcore_shallow_copy(), get_moment_char(), import_hitcore(), and test_vector_insert().
|
static |
Definition at line 104 of file Bunchcore.h.
Referenced by covariance_matrix_char(), get_item_python(), import_hitcore(), and set_item_bc_hit().
|
static |
Definition at line 105 of file Bunchcore.h.
Referenced by Bunchcore_dealloc(), import_hitcore(), and initHitcore().