Home
last modified time | relevance | path

Searched refs:PyArray_SimpleNew (Results 1 – 25 of 150) sorted by relevance

123456

/dports/science/py-scipy/scipy-1.7.1/scipy/integrate/
H A D__quadpack.h397 ap_iord = (PyArrayObject *)PyArray_SimpleNew(1,limit_shape,F_INT_NPY); in quadpack_qagse()
479 ap_iord = (PyArrayObject *)PyArray_SimpleNew(1,limit_shape,F_INT_NPY); in quadpack_qagie()
570 ap_iord = (PyArrayObject *)PyArray_SimpleNew(1,limit_shape,F_INT_NPY); in quadpack_qagpe()
575 ap_pts = (PyArrayObject *)PyArray_SimpleNew(1,npts2_shape,NPY_DOUBLE); in quadpack_qagpe()
576 ap_level = (PyArrayObject *)PyArray_SimpleNew(1,limit_shape,F_INT_NPY); in quadpack_qagpe()
577 ap_ndin = (PyArrayObject *)PyArray_SimpleNew(1,npts2_shape,F_INT_NPY); in quadpack_qagpe()
680 ap_chebmo = (PyArrayObject *)PyArray_SimpleNew(2,sz,NPY_DOUBLE); in quadpack_qawoe()
686 ap_iord = (PyArrayObject *)PyArray_SimpleNew(1,limit_shape,F_INT_NPY); in quadpack_qawoe()
782 ap_chebmo = (PyArrayObject *)PyArray_SimpleNew(2,sz,NPY_DOUBLE); in quadpack_qawfe()
787 ap_iord = (PyArrayObject *)PyArray_SimpleNew(1,limit_shape,F_INT_NPY); in quadpack_qawfe()
[all …]
H A D_odepackmodule.c390 *ap_rtol = (PyArrayObject *) PyArray_SimpleNew(1, &one, NPY_DOUBLE); in setup_extra_inputs()
413 *ap_atol = (PyArrayObject *) PyArray_SimpleNew(1, &one, NPY_DOUBLE); in setup_extra_inputs()
622 ap_yout= (PyArrayObject *) PyArray_SimpleNew(2,dims,NPY_DOUBLE); in odepack_odeint()
680 ap_hu = (PyArrayObject *) PyArray_SimpleNew(1, &out_sz, NPY_DOUBLE); in odepack_odeint()
681 ap_tcur = (PyArrayObject *) PyArray_SimpleNew(1, &out_sz, NPY_DOUBLE); in odepack_odeint()
683 ap_tsw = (PyArrayObject *) PyArray_SimpleNew(1, &out_sz, NPY_DOUBLE); in odepack_odeint()
684 ap_nst = (PyArrayObject *) PyArray_SimpleNew(1, &out_sz, F_INT_NPY); in odepack_odeint()
685 ap_nfe = (PyArrayObject *) PyArray_SimpleNew(1, &out_sz, F_INT_NPY); in odepack_odeint()
686 ap_nje = (PyArrayObject *) PyArray_SimpleNew(1, &out_sz, F_INT_NPY); in odepack_odeint()
687 ap_nqu = (PyArrayObject *) PyArray_SimpleNew(1, &out_sz, F_INT_NPY); in odepack_odeint()
[all …]
/dports/science/py-scipy/scipy-1.7.1/scipy/odr/
H A D__odrpack.c357 sd_beta = (PyArrayObject *) PyArray_SimpleNew(1, dim1, NPY_DOUBLE); in gen_output()
360 cov_beta = (PyArrayObject *) PyArray_SimpleNew(2, dim2, NPY_DOUBLE); in gen_output()
415 (PyArrayObject *) PyArray_SimpleNew(1, dim1, NPY_DOUBLE); in gen_output()
417 (PyArrayObject *) PyArray_SimpleNew(1, dim1, NPY_DOUBLE); in gen_output()
424 (PyArrayObject *) PyArray_SimpleNew(2, dim2, NPY_DOUBLE); in gen_output()
426 (PyArrayObject *) PyArray_SimpleNew(2, dim2, NPY_DOUBLE); in gen_output()
663 y = (PyArrayObject *) PyArray_SimpleNew(1, dim1, NPY_DOUBLE); in odr()
699 we = (PyArrayObject *) PyArray_SimpleNew(1, dim1, NPY_DOUBLE); in odr()
717 we = (PyArrayObject *) PyArray_SimpleNew(3, dim3, NPY_DOUBLE); in odr()
796 wd = (PyArrayObject *) PyArray_SimpleNew(1, dim1, NPY_DOUBLE); in odr()
[all …]
/dports/astro/astrometry/astrometry.net-0.85/libkd/
H A Dpyspherematch.c323 pyX = (PyArrayObject*)PyArray_SimpleNew(2, dims, NPY_DOUBLE); in KdTree_get_data()
369 pyX = (PyArrayObject*)PyArray_SimpleNew(1, dims, NPY_INT); in KdTree_permute()
615 inds = (PyArrayObject*)PyArray_SimpleNew(2, dims, NPY_INT); in spherematch_match()
758 I = PyArray_SimpleNew(1, dims, NPY_INT); in spherematch_nn2()
759 J = PyArray_SimpleNew(1, dims, NPY_INT); in spherematch_nn2()
760 dist2s = PyArray_SimpleNew(1, dims, NPY_DOUBLE); in spherematch_nn2()
762 counts = PyArray_SimpleNew(1, dims, NPY_INT); in spherematch_nn2()
793 I = PyArray_SimpleNew(1, dims, NPY_INT); in spherematch_nn2()
794 J = PyArray_SimpleNew(1, dims, NPY_INT); in spherematch_nn2()
795 dist2s = PyArray_SimpleNew(1, dims, NPY_DOUBLE); in spherematch_nn2()
[all …]
/dports/science/healpix/Healpix_3.50/src/healpy/healpy/src/
H A D_healpy_sph_transform_lib.cc260 PyArrayObject *almIout = (PyArrayObject*)PyArray_SimpleNew in healpy_map2alm()
267 almGout = (PyArrayObject*)PyArray_SimpleNew(1, (npy_intp*)&szalm, in healpy_map2alm()
335 ctt = (PyArrayObject*)PyArray_SimpleNew(1, (npy_intp*)&szcl, in healpy_map2alm()
351 PyArrayObject *ctt = (PyArrayObject*)PyArray_SimpleNew in healpy_map2alm()
354 PyArrayObject *cee = (PyArrayObject*)PyArray_SimpleNew in healpy_map2alm()
357 PyArrayObject *cbb = (PyArrayObject*)PyArray_SimpleNew in healpy_map2alm()
360 PyArrayObject *cte = (PyArrayObject*)PyArray_SimpleNew in healpy_map2alm()
507 mapIout = (PyArrayObject*)PyArray_SimpleNew(1, (npy_intp*)&npix, in healpy_alm2map()
642 mapIout = (PyArrayObject*)PyArray_SimpleNew(1, (npy_intp*)&npix, in healpy_alm2map_der1()
653 mapDtheta = (PyArrayObject*)PyArray_SimpleNew(1, (npy_intp*)&npix, in healpy_alm2map_der1()
[all …]
/dports/science/py-scipy/scipy-1.7.1/scipy/optimize/
H A D__minpack.h287 ap_r = (PyArrayObject *)PyArray_SimpleNew(1,&lr,NPY_DOUBLE); in minpack_hybrd()
288 ap_qtf = (PyArrayObject *)PyArray_SimpleNew(1,&n,NPY_DOUBLE); in minpack_hybrd()
289 ap_fjac = (PyArrayObject *)PyArray_SimpleNew(2,dims,NPY_DOUBLE); in minpack_hybrd()
389 ap_r = (PyArrayObject *)PyArray_SimpleNew(1,&lr,NPY_DOUBLE); in minpack_hybrj()
390 ap_qtf = (PyArrayObject *)PyArray_SimpleNew(1,&n,NPY_DOUBLE); in minpack_hybrj()
391 ap_fjac = (PyArrayObject *)PyArray_SimpleNew(2,dims,NPY_DOUBLE); in minpack_hybrj()
491 ap_ipvt = (PyArrayObject *)PyArray_SimpleNew(1,&n,NPY_INT); in minpack_lmdif()
492 ap_qtf = (PyArrayObject *)PyArray_SimpleNew(1,&n,NPY_DOUBLE); in minpack_lmdif()
493 ap_fjac = (PyArrayObject *)PyArray_SimpleNew(2,dims,NPY_DOUBLE); in minpack_lmdif()
590 ap_ipvt = (PyArrayObject *)PyArray_SimpleNew(1,&n,NPY_INT); in minpack_lmder()
[all …]
H A D_lsap_module.c61 a = PyArray_SimpleNew(1, dim, NPY_INT64); in calculate_assignment()
65 b = PyArray_SimpleNew(1, dim, NPY_INT64); in calculate_assignment()
/dports/graphics/py-pygeos/pygeos-0.10.2/src/
H A Dstrtree.c87 PyArrayObject* result = (PyArrayObject*)PyArray_SimpleNew(1, dims, NPY_INTP); in tree_geom_offsets_to_npy_arr()
362 return PyArray_SimpleNew(1, dims, NPY_INTP); in STRtree_query()
481 return PyArray_SimpleNew(2, dims, NPY_INTP); in STRtree_query_bulk()
550 result = (PyArrayObject*)PyArray_SimpleNew(2, dims, NPY_INTP); in STRtree_query_bulk()
739 result = (PyArrayObject*)PyArray_SimpleNew(2, index_dims, NPY_INTP); in STRtree_nearest()
794 result = (PyArrayObject*)PyArray_SimpleNew(2, index_dims, NPY_INTP); in STRtree_nearest()
889 result_indexes = (PyArrayObject*)PyArray_SimpleNew(2, index_dims, NPY_INTP); in STRtree_nearest_all()
892 result_distances = (PyArrayObject*)PyArray_SimpleNew(1, distance_dims, NPY_DOUBLE); in STRtree_nearest_all()
1004 result_indexes = (PyArrayObject*)PyArray_SimpleNew(2, index_dims, NPY_INTP); in STRtree_nearest_all()
1012 result_distances = (PyArrayObject*)PyArray_SimpleNew(1, distance_dims, NPY_DOUBLE); in STRtree_nearest_all()
H A Dvector.c31 PyArrayObject* result = (PyArrayObject*)PyArray_SimpleNew(1, dims, NPY_INTP); in index_vec_to_npy_arr()
/dports/science/rdkit/rdkit-Release_2021_03_5/Code/DataManip/MetricMatrixCalc/Wrap/
H A DrdMetricMatrixCalc.cpp77 distRes = (PyArrayObject *)PyArray_SimpleNew(1, &dMatLen, NPY_DOUBLE); in getEuclideanDistMat()
157 distRes = (PyArrayObject *)PyArray_SimpleNew(1, &dMatLen, NPY_DOUBLE); in getEuclideanDistMat()
201 auto *simRes = (PyArrayObject *)PyArray_SimpleNew(1, &dMatLen, NPY_DOUBLE); in getTanimotoDistMat()
236 auto *simRes = (PyArrayObject *)PyArray_SimpleNew(1, &dMatLen, NPY_DOUBLE); in getTanimotoSimMat()
/dports/science/py-scipy/scipy-1.7.1/scipy/interpolate/src/
H A D_fitpackmodule.c202 ap_z = (PyArrayObject *)PyArray_SimpleNew(1,&mxy,NPY_DOUBLE); in fitpack_bispev()
352 ap_tx = (PyArrayObject *)PyArray_SimpleNew(1, dims, NPY_DOUBLE); in fitpack_surfit()
354 ap_ty = (PyArrayObject *)PyArray_SimpleNew(1, dims, NPY_DOUBLE); in fitpack_surfit()
356 ap_c = (PyArrayObject *)PyArray_SimpleNew(1, dims, NPY_DOUBLE); in fitpack_surfit()
496 ap_t = (PyArrayObject *)PyArray_SimpleNew(1, dims, NPY_DOUBLE); in fitpack_parcur()
498 ap_c = (PyArrayObject *)PyArray_SimpleNew(1, dims, NPY_DOUBLE); in fitpack_parcur()
623 ap_c = (PyArrayObject *)PyArray_SimpleNew(1, dims, NPY_DOUBLE); in fitpack_curfit()
686 ap_y = (PyArrayObject *)PyArray_SimpleNew(1,dims,NPY_DOUBLE); in fitpack_spl_()
738 ap_wrk = (PyArrayObject *)PyArray_SimpleNew(1, dims, NPY_DOUBLE); in fitpack_splint()
787 ap_z = (PyArrayObject *)PyArray_SimpleNew(1, dims, NPY_DOUBLE); in fitpack_sproot()
[all …]
/dports/astro/oskar/OSKAR-2.8.0/python/oskar/src/
H A Doskar_bda_utils.c81 pyo_vis_out = PyArray_SimpleNew(nd_vis, vis_dims, NPY_CDOUBLE); in apply_gains()
142 pyo_vis_out = PyArray_SimpleNew(nd_vis, vis_dims, NPY_CFLOAT); in apply_gains_2()
194 PyObject* pyo_vis_matrix = PyArray_SimpleNew(2, dims, NPY_CDOUBLE); in vis_list_to_matrix()
245 PyObject* pyo_vis_matrix = PyArray_SimpleNew(2, dims, NPY_CFLOAT); in vis_list_to_matrix_2()
771 ant1 = (PyArrayObject*)PyArray_SimpleNew(1, dims1, NPY_INT); in bda_finalise()
772 ant2 = (PyArrayObject*)PyArray_SimpleNew(1, dims1, NPY_INT); in bda_finalise()
773 uu = (PyArrayObject*)PyArray_SimpleNew(1, dims1, NPY_DOUBLE); in bda_finalise()
774 vv = (PyArrayObject*)PyArray_SimpleNew(1, dims1, NPY_DOUBLE); in bda_finalise()
775 ww = (PyArrayObject*)PyArray_SimpleNew(1, dims1, NPY_DOUBLE); in bda_finalise()
777 expo = (PyArrayObject*)PyArray_SimpleNew(1, dims1, NPY_DOUBLE); in bda_finalise()
[all …]
H A Doskar_measurement_set_lib.c302 data = (PyArrayObject*) PyArray_SimpleNew((int) ndim, dims, type); in read_column()
339 uu = (PyArrayObject*)PyArray_SimpleNew(1, dims, NPY_DOUBLE); in read_coords()
340 vv = (PyArrayObject*)PyArray_SimpleNew(1, dims, NPY_DOUBLE); in read_coords()
341 ww = (PyArrayObject*)PyArray_SimpleNew(1, dims, NPY_DOUBLE); in read_coords()
386 vis = (PyArrayObject*)PyArray_SimpleNew(3, dims, NPY_CFLOAT); in read_vis()
/dports/science/rdkit/rdkit-Release_2021_03_5/External/YAeHMOP/Wrap/
H A DrdEHTTools.cpp58 auto *res = (PyArrayObject *)PyArray_SimpleNew(2, dims, NPY_DOUBLE); in getMatrixProp()
72 auto *res = (PyArrayObject *)PyArray_SimpleNew(1, dims, NPY_DOUBLE); in getSymmMatrixProp()
86 auto *res = (PyArrayObject *)PyArray_SimpleNew(1, dims, NPY_DOUBLE); in getVectorProp()
/dports/devel/py-rapidfuzz/rapidfuzz-1.8.0/src/
H A Dcpp_process_cdist.hpp105 PyArrayObject* matrix = (PyArrayObject*)PyArray_SimpleNew(2, dims, dtype); in cdist_single_list_distance_impl()
151 PyArrayObject* matrix = (PyArrayObject*)PyArray_SimpleNew(2, dims, dtype); in cdist_single_list_similarity_impl()
197 PyArrayObject* matrix = (PyArrayObject*)PyArray_SimpleNew(2, dims, dtype); in cdist_two_lists_distance_impl()
242 PyArrayObject* matrix = (PyArrayObject*)PyArray_SimpleNew(2, dims, dtype); in cdist_two_lists_similarity_impl()
/dports/science/rdkit/rdkit-Release_2021_03_5/Code/GraphMol/ReducedGraphs/Wrap/
H A DrdReducedGraphs.cpp49 auto *res = (PyArrayObject *)PyArray_SimpleNew(1, &dim, NPY_DOUBLE); in GenerateErGFingerprintForReducedGraphHelper()
65 auto *res = (PyArrayObject *)PyArray_SimpleNew(1, &dim, NPY_DOUBLE); in GetErGFingerprintHelper()
/dports/math/R-cran-nloptr/nloptr/src/nlopt_src/swig/
H A Dnlopt-python.i109 $result = PyArray_SimpleNew(1, &sz, NPY_DOUBLE);
134 : PyArray_SimpleNew(1, &sz0, NPY_DOUBLE); in func_python()
171 : PyArray_SimpleNew(1, &sz0, NPY_DOUBLE); in mfunc_python()
/dports/math/nlopt/nlopt-2.7.1/src/swig/
H A Dnlopt-python.i109 $result = PyArray_SimpleNew(1, &sz, NPY_DOUBLE);
134 : PyArray_SimpleNew(1, &sz0, NPY_DOUBLE); in func_python()
171 : PyArray_SimpleNew(1, &sz0, NPY_DOUBLE); in mfunc_python()
/dports/science/py-scipy/scipy-1.7.1/scipy/signal/
H A Dsplinemodule.c90 ck = (PyArrayObject *)PyArray_SimpleNew(2, PyArray_DIMS(a_image), thetype); in cspline2d()
170 ck = (PyArrayObject *)PyArray_SimpleNew(2, PyArray_DIMS(a_image), thetype); in qspline2d()
255 out = (PyArrayObject *)PyArray_SimpleNew(2, PyArray_DIMS(a_image), thetype); in FIRsepsym2d()
371 out = (PyArrayObject *)PyArray_SimpleNew(1, PyArray_DIMS(a_sig), thetype); in IIRsymorder1()
495 out = (PyArrayObject *)PyArray_SimpleNew(1, PyArray_DIMS(a_sig), thetype); in IIRsymorder2()
/dports/science/rdkit/rdkit-Release_2021_03_5/Code/GraphMol/MolTransforms/Wrap/
H A DrdMolTransforms.cpp34 auto *res = (PyArrayObject *)PyArray_SimpleNew(2, dims, NPY_DOUBLE); in computeCanonTrans()
71 auto *axesNpy = (PyArrayObject *)PyArray_SimpleNew(2, dims, NPY_DOUBLE); in computePrincAxesMomentsHelper()
79 auto *momentsNpy = (PyArrayObject *)PyArray_SimpleNew(1, dims, NPY_DOUBLE); in computePrincAxesMomentsHelper()
/dports/devel/py-jep/jep-3.9.1/src/main/c/Jep/
H A Djep_numpy.c645 pyob = PyArray_SimpleNew(ndims, dims, NPY_BOOL); in convert_jprimitivearray_pyndarray()
649 pyob = PyArray_SimpleNew(ndims, dims, usigned ? NPY_UBYTE : NPY_BYTE); in convert_jprimitivearray_pyndarray()
653 pyob = PyArray_SimpleNew(ndims, dims, usigned ? NPY_UINT16 : NPY_INT16); in convert_jprimitivearray_pyndarray()
657 pyob = PyArray_SimpleNew(ndims, dims, usigned ? NPY_UINT32 : NPY_INT32); in convert_jprimitivearray_pyndarray()
661 pyob = PyArray_SimpleNew(ndims, dims, usigned ? NPY_UINT64 : NPY_INT64); in convert_jprimitivearray_pyndarray()
665 pyob = PyArray_SimpleNew(ndims, dims, NPY_FLOAT32); in convert_jprimitivearray_pyndarray()
669 pyob = PyArray_SimpleNew(ndims, dims, NPY_FLOAT64); in convert_jprimitivearray_pyndarray()
/dports/science/py-MDAnalysis/MDAnalysis-0.19.2/MDAnalysis/lib/src/transformations/
H A Dtransformations.c1161 result = (PyArrayObject*)PyArray_SimpleNew(2, dims, NPY_DOUBLE); in py_reflection_matrix()
1230 result = (PyArrayObject*)PyArray_SimpleNew(2, dims, NPY_DOUBLE); in py_rotation_matrix()
1331 result = (PyArrayObject*)PyArray_SimpleNew(2, dims, NPY_DOUBLE); in py_projection_matrix()
1495 result = (PyArrayObject*)PyArray_SimpleNew(2, dims, NPY_DOUBLE); in py_clip_matrix()
1559 result = (PyArrayObject*)PyArray_SimpleNew(2, dims, NPY_DOUBLE); in py_scale_matrix()
1641 result = (PyArrayObject*)PyArray_SimpleNew(2, dims, NPY_DOUBLE); in py_shear_matrix()
1759 result = (PyArrayObject*)PyArray_SimpleNew(2, dims, NPY_DOUBLE); in py_superimposition_matrix()
2058 result = (PyArrayObject*)PyArray_SimpleNew(2, dims, NPY_DOUBLE); in py_orthogonalization_matrix()
2255 result = (PyArrayObject*)PyArray_SimpleNew(2, dims, NPY_DOUBLE);
3472 out = (PyArrayObject*)PyArray_SimpleNew(n-1, newshape,
[all …]
/dports/math/py-pyipopt/pyipopt-36bcb7f/src/
H A Dpyipoptcoremodule.c634 x = (PyArrayObject *) PyArray_SimpleNew(1, dX, PyArray_DOUBLE); in solve()
666 mL = (PyArrayObject *) PyArray_SimpleNew(1, dX, PyArray_DOUBLE); in solve()
667 mU = (PyArrayObject *) PyArray_SimpleNew(1, dX, PyArray_DOUBLE); in solve()
669 lambda = (PyArrayObject *) PyArray_SimpleNew(1, dlambda, in solve()
/dports/astro/py-astropy/astropy-5.0/astropy/wcs/src/
H A Dastropy_wcs.c237 world = (PyArrayObject*)PyArray_SimpleNew(2, PyArray_DIMS(pixcrd), NPY_DOUBLE); in Wcs_all_pix2world()
314 foccrd = (PyArrayObject*)PyArray_SimpleNew(2, PyArray_DIMS(pixcrd), NPY_DOUBLE); in Wcs_p4_pix2foc()
382 imcrd = (PyArrayObject*)PyArray_SimpleNew(2, PyArray_DIMS(detcrd), NPY_DOUBLE); in Wcs_det2im()
445 foccrd = (PyArrayObject*)PyArray_SimpleNew(2, PyArray_DIMS(pixcrd), NPY_DOUBLE); in Wcs_pix2foc()
/dports/astro/astrometry/astrometry.net-0.85/util/
H A Dindex_pyutils.c33 pystars = (PyArrayObject*)PyArray_SimpleNew(2, dims, PyArray_UINT); in quadfile_get_stars_for_quads()
367 A = (PyArrayObject*)PyArray_SimpleNew(2, dims, PyArray_DOUBLE); in codekd_get_codes_numpy()
393 A = (PyArrayObject*)PyArray_SimpleNew(2, dims, PyArray_DOUBLE); in starkd_get_stars_numpy()

123456