/dports/math/py-numpy/numpy-1.20.3/numpy/core/src/multiarray/ |
H A D | calculation.h | 5 PyArray_ArgMax(PyArrayObject* self, int axis, PyArrayObject *out); 8 PyArray_ArgMin(PyArrayObject* self, int axis, PyArrayObject *out); 11 PyArray_Max(PyArrayObject* self, int axis, PyArrayObject* out); 14 PyArray_Min(PyArrayObject* self, int axis, PyArrayObject* out); 17 PyArray_Ptp(PyArrayObject* self, int axis, PyArrayObject* out); 20 PyArray_Mean(PyArrayObject* self, int axis, int rtype, PyArrayObject* out); 23 PyArray_Round(PyArrayObject *a, int decimals, PyArrayObject *out); 33 PyArray_Conjugate(PyArrayObject* self, PyArrayObject* out); 36 PyArray_Round(PyArrayObject* self, int decimals, PyArrayObject* out); 59 PyArray_All(PyArrayObject* self, int axis, PyArrayObject* out); [all …]
|
H A D | calculation.c | 41 PyArray_ArgMax(PyArrayObject *op, int axis, PyArrayObject *out) in PyArray_ArgMax() 157 PyArray_ArgMin(PyArrayObject *op, int axis, PyArrayObject *out) in PyArray_ArgMin() 273 PyArray_Max(PyArrayObject *ap, int axis, PyArrayObject *out) in PyArray_Max() 292 PyArray_Min(PyArrayObject *ap, int axis, PyArrayObject *out) in PyArray_Min() 311 PyArray_Ptp(PyArrayObject *ap, int axis, PyArrayObject *out) in PyArray_Ptp() 354 PyArray_Std(PyArrayObject *self, int axis, int rtype, PyArrayObject *out, in PyArray_Std() 520 PyArray_Sum(PyArrayObject *self, int axis, int rtype, PyArrayObject *out) in PyArray_Sum() 596 PyArray_Round(PyArrayObject *a, int decimals, PyArrayObject *out) in PyArray_Round() 789 PyArray_Any(PyArrayObject *self, int axis, PyArrayObject *out) in PyArray_Any() 808 PyArray_All(PyArrayObject *self, int axis, PyArrayObject *out) in PyArray_All() [all …]
|
H A D | number.c | 204 _get_keywords(int rtype, PyArrayObject *out) in _get_keywords() 320 array_add(PyArrayObject *m1, PyObject *m2) in array_add() 565 array_positive(PyArrayObject *m1) in array_positive() 611 array_negative(PyArrayObject *m1) in array_negative() 620 array_absolute(PyArrayObject *m1) in array_absolute() 629 array_invert(PyArrayObject *m1) in array_invert() 829 _array_nonzero(PyArrayObject *mp) in _array_nonzero() 871 array_scalar_forward(PyArrayObject *v, in array_scalar_forward() 909 array_float(PyArrayObject *v) in array_float() 915 array_int(PyArrayObject *v) in array_int() [all …]
|
H A D | mapping.h | 30 array_length(PyArrayObject *self); 33 array_item_asarray(PyArrayObject *self, npy_intp i); 36 array_item_asscalar(PyArrayObject *self, npy_intp i); 39 array_item(PyArrayObject *self, Py_ssize_t i); 42 array_subscript_asarray(PyArrayObject *self, PyObject *op); 45 array_subscript(PyArrayObject *self, PyObject *op); 48 array_assign_item(PyArrayObject *self, Py_ssize_t i, PyObject *v); 64 PyArray_MapIterSwapAxes(PyArrayMapIterObject *mit, PyArrayObject **ret, int getmap); 69 PyArrayObject *arr, PyArrayObject *subspace, 71 npy_uint32 extra_op_flags, PyArrayObject *extra_op,
|
/dports/science/mbdyn/mbdyn-1.7.3/libraries/libmbc/ |
H A D | mbc_py_global.i | 37 PyArrayObject *tmp; 57 PyArrayObject *tmp; 77 PyArrayObject *tmp; 97 PyArrayObject *tmp; 117 PyArrayObject *tmp; 137 PyArrayObject *tmp; 157 PyArrayObject *tmp; 177 PyArrayObject *tmp; 197 PyArrayObject *tmp; 217 PyArrayObject *tmp; [all …]
|
/dports/science/py-scipy/scipy-1.7.1/scipy/ndimage/src/ |
H A D | ni_filters.h | 35 int NI_Correlate1D(PyArrayObject*, PyArrayObject*, int, PyArrayObject*, 37 int NI_Correlate(PyArrayObject*, PyArrayObject*, PyArrayObject*, 39 int NI_UniformFilter1D(PyArrayObject*, npy_intp, int, PyArrayObject*, 41 int NI_MinOrMaxFilter1D(PyArrayObject*, npy_intp, int, PyArrayObject*, 43 int NI_MinOrMaxFilter(PyArrayObject*, PyArrayObject*, PyArrayObject*, 44 PyArrayObject*, NI_ExtendMode, double, npy_intp*, 46 int NI_RankFilter(PyArrayObject*, int, PyArrayObject*, PyArrayObject*, 48 int NI_GenericFilter1D(PyArrayObject*, int (*)(double*, npy_intp, 50 PyArrayObject*, NI_ExtendMode, double, npy_intp); 51 int NI_GenericFilter(PyArrayObject*, int (*)(double*, npy_intp, double*, [all …]
|
H A D | ni_morphology.h | 35 int NI_BinaryErosion(PyArrayObject*, PyArrayObject*, PyArrayObject*, 36 PyArrayObject*, int, npy_intp*, int, int, int*, NI_CoordinateList**); 37 int NI_BinaryErosion2(PyArrayObject*, PyArrayObject*, PyArrayObject*, 39 int NI_DistanceTransformBruteForce(PyArrayObject*, int, PyArrayObject*, 40 … PyArrayObject*, PyArrayObject*); 41 int NI_DistanceTransformOnePass(PyArrayObject*, PyArrayObject *, 42 PyArrayObject*); 43 int NI_EuclideanFeatureTransform(PyArrayObject*, PyArrayObject*, 44 PyArrayObject*);
|
H A D | ni_interpolation.h | 35 int NI_SplineFilter1D(PyArrayObject*, int, int, NI_ExtendMode, PyArrayObject*); 36 int NI_GeometricTransform(PyArrayObject*, int (*)(npy_intp*, double*, int, int, 37 void*), void*, PyArrayObject*, PyArrayObject*, 38 PyArrayObject*, PyArrayObject*, int, int, 40 int NI_ZoomShift(PyArrayObject*, PyArrayObject*, PyArrayObject*, 41 PyArrayObject*, int, int, double, int, int);
|
/dports/science/py-phonopy/phonopy-2.11.0/c/ |
H A D | _phonopy.c | 203 PyArrayObject* py_svecs; in py_transform_dynmat_to_fc() 204 PyArrayObject* py_multi; in py_transform_dynmat_to_fc() 260 PyArrayObject* lattice; in py_compute_permutation() 425 PyArrayObject* py_fc; in py_perm_trans_symmetrize_fc() 446 PyArrayObject* py_fc; in py_perm_trans_symmetrize_compact_fc() 486 PyArrayObject* py_fc; in py_transpose_compact_fc() 532 PyArrayObject* py_q; in py_get_dynamical_matrix() 595 PyArrayObject* py_q; in py_get_nac_dynamical_matrix() 600 PyArrayObject* py_born; in py_get_nac_dynamical_matrix() 671 PyArrayObject* py_dd; in py_get_recip_dipole_dipole() [all …]
|
/dports/science/phonopy/phonopy-2.11.0/c/ |
H A D | _phonopy.c | 203 PyArrayObject* py_svecs; in py_transform_dynmat_to_fc() 204 PyArrayObject* py_multi; in py_transform_dynmat_to_fc() 260 PyArrayObject* lattice; in py_compute_permutation() 425 PyArrayObject* py_fc; in py_perm_trans_symmetrize_fc() 446 PyArrayObject* py_fc; in py_perm_trans_symmetrize_compact_fc() 486 PyArrayObject* py_fc; in py_transpose_compact_fc() 532 PyArrayObject* py_q; in py_get_dynamical_matrix() 595 PyArrayObject* py_q; in py_get_nac_dynamical_matrix() 600 PyArrayObject* py_born; in py_get_nac_dynamical_matrix() 671 PyArrayObject* py_dd; in py_get_recip_dipole_dipole() [all …]
|
/dports/science/py-phono3py/phono3py-1.22.3/c/ |
H A D | _phono3py.c | 300 PyArrayObject *py_mesh; in py_get_interaction() 303 PyArrayObject *py_fc3; in py_get_interaction() 416 PyArrayObject *py_fc3; in py_get_pp_collision() 542 PyArrayObject *py_fc3; in py_get_pp_collision_with_sigma() 664 PyArrayObject *py_g; in py_get_imag_self_energy_with_g() 730 PyArrayObject *py_g; in py_get_detailed_imag_self_energy_with_g() 916 PyArrayObject *py_g; in py_get_collision_matrix() 994 PyArrayObject *py_g; in py_get_reducible_collision_matrix() 1492 PyArrayObject *py_iw; in py_set_integration_weights() 1649 PyArrayObject *py_iw; in py_set_triplets_integration_weights() [all …]
|
H A D | _phononmod.c | 130 PyArrayObject* py_frequencies; in py_get_phonons_at_gridpoints() 132 PyArrayObject* py_phonon_done; in py_get_phonons_at_gridpoints() 133 PyArrayObject* py_grid_points; in py_get_phonons_at_gridpoints() 135 PyArrayObject* py_mesh; in py_get_phonons_at_gridpoints() 139 PyArrayObject* py_fc2; in py_get_phonons_at_gridpoints() 140 PyArrayObject* py_masses_fc2; in py_get_phonons_at_gridpoints() 141 PyArrayObject* py_p2s_map_fc2; in py_get_phonons_at_gridpoints() 142 PyArrayObject* py_s2p_map_fc2; in py_get_phonons_at_gridpoints() 145 PyArrayObject* py_q_direction; in py_get_phonons_at_gridpoints() 147 PyArrayObject* py_dd_q0; in py_get_phonons_at_gridpoints() [all …]
|
/dports/math/py-osqp/osqp-0.6.2.post0/extension/include/ |
H A D | osqputilspy.h | 13 PyArrayObject *Px; 14 PyArrayObject *Pi; 15 PyArrayObject *Pp; 16 PyArrayObject *q; 17 PyArrayObject *Ax; 18 PyArrayObject *Ai; 20 PyArrayObject *l; 21 PyArrayObject *u; 118 PyArrayObject *Px, PyArrayObject *Pi, PyArrayObject *Pp, in create_pydata() 119 PyArrayObject *q, PyArrayObject *Ax, PyArrayObject *Ai, in create_pydata() [all …]
|
H A D | osqpworkspacepy.h | 56 PyArray_ENABLEFLAGS((PyArrayObject *) D, NPY_ARRAY_OWNDATA); 57 PyArray_ENABLEFLAGS((PyArrayObject *) E, NPY_ARRAY_OWNDATA); 105 PyArray_ENABLEFLAGS((PyArrayObject *) Pp, NPY_ARRAY_OWNDATA); 106 PyArray_ENABLEFLAGS((PyArrayObject *) Pi, NPY_ARRAY_OWNDATA); 107 PyArray_ENABLEFLAGS((PyArrayObject *) Px, NPY_ARRAY_OWNDATA); 108 PyArray_ENABLEFLAGS((PyArrayObject *) Ap, NPY_ARRAY_OWNDATA); 109 PyArray_ENABLEFLAGS((PyArrayObject *) Ai, NPY_ARRAY_OWNDATA); 110 PyArray_ENABLEFLAGS((PyArrayObject *) Ax, NPY_ARRAY_OWNDATA); 111 PyArray_ENABLEFLAGS((PyArrayObject *) q, NPY_ARRAY_OWNDATA); 112 PyArray_ENABLEFLAGS((PyArrayObject *) l, NPY_ARRAY_OWNDATA); [all …]
|
/dports/science/rdkit/rdkit-Release_2021_03_5/Code/ML/InfoTheory/Wrap/ |
H A D | rdInfoTheory.cpp | 25 PyArrayObject *copy; in infoEntropy() 26 copy = (PyArrayObject *)PyArray_ContiguousFromObject( in infoEntropy() 30 auto ncols = (long int)PyArray_DIM((PyArrayObject *)matObj, 0); in infoEntropy() 54 PyArrayObject *copy; in infoGain() 55 copy = (PyArrayObject *)PyArray_ContiguousFromObject( in infoGain() 57 auto rows = (long int)PyArray_DIM((PyArrayObject *)matObj, 0); in infoGain() 58 auto cols = (long int)PyArray_DIM((PyArrayObject *)matObj, 1); in infoGain() 85 PyArrayObject *copy; in chiSquare() 86 copy = (PyArrayObject *)PyArray_ContiguousFromObject( in chiSquare() 88 auto rows = (long int)PyArray_DIM((PyArrayObject *)matObj, 0); in chiSquare() [all …]
|
/dports/math/casadi/casadi-3.5.5/swig/python/ |
H A D | casadi_numpy.hpp | 16 #define array_type(a) (int)(PyArray_TYPE((PyArrayObject *)a)) 19 #define array_numdims(a) (PyArray_NDIM(((PyArrayObject *)a))) 20 #define array_dimensions(a) (PyArray_DIMS(((PyArrayObject *)a))) 21 #define array_size(a,i) (PyArray_DIM(((PyArrayObject *)a),i)) 22 #define array_data(a) (PyArray_DATA(((PyArrayObject *)a))) 35 PyArrayObject* ary = NULL; in obj_to_array_allow_conversion() 39 ary = (PyArrayObject*) input; in obj_to_array_allow_conversion() 45 ary = (PyArrayObject*) py_obj; in obj_to_array_allow_conversion() 57 PyArrayObject* make_contiguous(PyArrayObject* ary, int* is_new_object, in make_contiguous() 59 PyArrayObject* result; in make_contiguous() [all …]
|
/dports/math/py-pygsl/pygsl-2.3.0/Include/pygsl/ |
H A D | block_helpers.h | 158 PyGSL_API_EXTERN PyArrayObject * 167 PyGSL_API_EXTERN PyArrayObject * 168 PyGSL_Copy_Array(PyArrayObject *, int type); 203 PyGSL_API_EXTERN PyArrayObject * 224 PyGSL_API_EXTERN PyArrayObject * 259 PyGSL_API_EXTERN PyArrayObject * 298 PyGSL_API_EXTERN PyArrayObject * 348 PyGSL_API_EXTERN PyArrayObject * 365 PyGSL_API_EXTERN PyArrayObject * 380 PyGSL_API_EXTERN PyArrayObject * [all …]
|
/dports/science/octopus/octopus-10.5/external_libs/spglib-1.9.9/python/ |
H A D | _spglib.c | 214 PyArrayObject* lattice; in py_get_dataset() 215 PyArrayObject* position; in py_get_dataset() 479 PyArrayObject* lattice; in py_standardize_cell() 520 PyArrayObject* lattice; in py_refine_cell() 557 PyArrayObject* lattice; in py_find_primitive() 594 PyArrayObject* lattice; in py_get_symmetry() 650 PyArrayObject* magmom; in py_get_symmetry_with_collinear_spin() 760 PyArrayObject* map; in py_get_ir_reciprocal_mesh() 761 PyArrayObject* mesh; in py_get_ir_reciprocal_mesh() 819 PyArrayObject* map; in py_get_stabilized_reciprocal_mesh() [all …]
|
/dports/math/py-numpy/numpy-1.20.3/numpy/core/src/umath/ |
H A D | ufunc_type_resolution.h | 14 PyArrayObject **operands, 21 PyArrayObject **operands, 35 PyArrayObject **operands, 42 PyArrayObject **operands, 49 PyArrayObject **operands, 56 PyArrayObject **operands, 84 PyArrayObject **operands, 91 PyArrayObject **operands, 98 PyArrayObject **operands, 110 PyArrayObject **op, [all …]
|
/dports/audio/aubio/aubio-0.4.9/python/ext/ |
H A D | aubioproxy.c | 33 if (PyArray_NDIM ((PyArrayObject *)input) == 0) { in PyAubio_IsValidVector() 36 } else if (PyArray_NDIM ((PyArrayObject *)input) > 1) { in PyAubio_IsValidVector() 42 if (!PyArray_ISFLOAT ((PyArrayObject *)input)) { in PyAubio_IsValidVector() 50 length = PyArray_SIZE ((PyArrayObject *)input); in PyAubio_IsValidVector() 73 out->length = (uint_t) PyArray_SIZE ((PyArrayObject *)input); in PyAubio_ArrayToCFvec() 107 if (PyArray_NDIM ((PyArrayObject *)input) == 0) { in PyAubio_ArrayToCFmat() 110 } else if (PyArray_NDIM ((PyArrayObject *)input) > 2) { in PyAubio_ArrayToCFmat() 116 if (!PyArray_ISFLOAT ((PyArrayObject *)input)) { in PyAubio_ArrayToCFmat() 125 length = PyArray_DIM ((PyArrayObject *)input, 1); in PyAubio_ArrayToCFmat() 130 height = PyArray_DIM ((PyArrayObject *)input, 0); in PyAubio_ArrayToCFmat() [all …]
|
/dports/audio/py-aubio/aubio-0.4.9/python/ext/ |
H A D | aubioproxy.c | 33 if (PyArray_NDIM ((PyArrayObject *)input) == 0) { in PyAubio_IsValidVector() 36 } else if (PyArray_NDIM ((PyArrayObject *)input) > 1) { in PyAubio_IsValidVector() 42 if (!PyArray_ISFLOAT ((PyArrayObject *)input)) { in PyAubio_IsValidVector() 50 length = PyArray_SIZE ((PyArrayObject *)input); in PyAubio_IsValidVector() 73 out->length = (uint_t) PyArray_SIZE ((PyArrayObject *)input); in PyAubio_ArrayToCFvec() 107 if (PyArray_NDIM ((PyArrayObject *)input) == 0) { in PyAubio_ArrayToCFmat() 110 } else if (PyArray_NDIM ((PyArrayObject *)input) > 2) { in PyAubio_ArrayToCFmat() 116 if (!PyArray_ISFLOAT ((PyArrayObject *)input)) { in PyAubio_ArrayToCFmat() 125 length = PyArray_DIM ((PyArrayObject *)input, 1); in PyAubio_ArrayToCFmat() 130 height = PyArray_DIM ((PyArrayObject *)input, 0); in PyAubio_ArrayToCFmat() [all …]
|
/dports/science/py-scimath/scimath-4.2.0/scimath/interpolate/ |
H A D | _interpolate.cpp | 50 linear((double*)PyArray_DATA((PyArrayObject*)arr_x), in linear_method() 51 (double*)PyArray_DATA((PyArrayObject*)arr_y), in linear_method() 52 PyArray_DIM((PyArrayObject*)arr_x, 0), in linear_method() 53 (double*)PyArray_DATA((PyArrayObject*)arr_new_x), in linear_method() 54 (double*)PyArray_DATA((PyArrayObject*)arr_new_y), in linear_method() 55 PyArray_DIM((PyArrayObject*)arr_new_x, 0)); in linear_method() 109 loginterp((double*)PyArray_DATA((PyArrayObject*)arr_x), in loginterp_method() 110 (double*)PyArray_DATA((PyArrayObject*)arr_y), in loginterp_method() 111 PyArray_DIM((PyArrayObject*)arr_x,0), in loginterp_method() 114 PyArray_DIM((PyArrayObject*)arr_new_x,0)); in loginterp_method() [all …]
|
/dports/science/spglib/spglib-1.16.2/python/ |
H A D | _spglib.c | 218 PyArrayObject* py_lattice; in py_get_dataset() 539 PyArrayObject* py_lattice; in py_standardize_cell() 580 PyArrayObject* py_lattice; in py_refine_cell() 879 PyArrayObject* py_mesh; in py_get_grid_point_from_address() 904 PyArrayObject* py_mesh; in py_get_ir_reciprocal_mesh() 981 PyArrayObject* py_mesh; in py_get_stabilized_reciprocal_mesh() 1056 PyArrayObject* py_mesh; in py_get_grid_points_by_rotations() 1097 PyArrayObject* py_mesh; in py_get_BZ_grid_points_by_rotations() 1099 PyArrayObject* py_bz_map; in py_get_BZ_grid_points_by_rotations() 1140 PyArrayObject* py_bz_map; in py_relocate_BZ_grid_address() [all …]
|
/dports/science/py-spglib/spglib-1.16.2/python/ |
H A D | _spglib.c | 218 PyArrayObject* py_lattice; in py_get_dataset() 539 PyArrayObject* py_lattice; in py_standardize_cell() 580 PyArrayObject* py_lattice; in py_refine_cell() 879 PyArrayObject* py_mesh; in py_get_grid_point_from_address() 904 PyArrayObject* py_mesh; in py_get_ir_reciprocal_mesh() 981 PyArrayObject* py_mesh; in py_get_stabilized_reciprocal_mesh() 1056 PyArrayObject* py_mesh; in py_get_grid_points_by_rotations() 1097 PyArrayObject* py_mesh; in py_get_BZ_grid_points_by_rotations() 1099 PyArrayObject* py_bz_map; in py_get_BZ_grid_points_by_rotations() 1140 PyArrayObject* py_bz_map; in py_relocate_BZ_grid_address() [all …]
|
/dports/math/adol-c/ADOL-C-2.7.2/ADOL-C/swig/ |
H A D | pyedfclasses.hpp | 38 PyArrayObject *xaa = (PyArrayObject*) xa, *yaa = (PyArrayObject*) ya; in function() 72 PyArrayObject *xaa = (PyArrayObject*) xa, *yaa = (PyArrayObject*) ya; in zos_forward() 108 PyArrayObject *xaa = (PyArrayObject*) xa, *yaa = (PyArrayObject*) ya; in fos_forward() 109 PyArrayObject *xpaa = (PyArrayObject*) xpa, *ypaa = (PyArrayObject*) ypa; in fos_forward() 156 PyArrayObject *xaa = (PyArrayObject*) xa, *yaa = (PyArrayObject*) ya; in fov_forward() 203 PyArrayObject *xaa = (PyArrayObject*) xa, *yaa = (PyArrayObject*) ya; in fos_reverse() 204 PyArrayObject *uaa = (PyArrayObject*) ua, *zaa = (PyArrayObject*) za; in fos_reverse() 251 PyArrayObject *xaa = (PyArrayObject*) xa, *yaa = (PyArrayObject*) ya; in fov_reverse() 252 PyArrayObject *uaa = (PyArrayObject*) ua, *zaa = (PyArrayObject*) za; in fov_reverse() 329 PyArrayObject *xaa = (PyArrayObject*) xa, *yaa = (PyArrayObject*) ya; in function() [all …]
|