Searched refs:numpy (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/third_party/cython/src/Cython/Build/Tests/
H A DTestInline.py7 import numpy namespace
55 import numpy namespace
56 a = numpy.ndarray((10, 20))
58 self.assertEquals(safe_type(a), 'numpy.ndarray[numpy.float64_t, ndim=2]')
/external/libvpx/libvpx/vp9/common/
H A Dvp9_tapify.py11 import sys,string,os,re,math,numpy namespace
45 r,c = numpy.dot(affine,[y-radius, x-radius])
64 r,c = numpy.dot(affine,[y-7.5, x-7.5])
/external/chromium_org/third_party/cython/src/Cython/Includes/numpy/
H A D__init__.pxd29 cdef extern from "numpy/arrayobject.h":
155 ctypedef class numpy.dtype [object PyArray_Descr]: class in inherits:
165 ctypedef extern class numpy.flatiter [object PyArrayIterObject]: class in inherits:
169 ctypedef extern class numpy.broadcast [object PyArrayMultiIterObject]: class in inherits:
178 ctypedef class numpy.ndarray [object PyArrayObject]: class in inherits:
276 raise ValueError(u"unknown dtype code in numpy.pxd (%d)" % t)
718 # the numpy module.
746 # numpy.int corresponds to 'l' and numpy.long to 'q'
799 raise RuntimeError(u"Format string allocated too short, see comment in numpy
861 ctypedef extern class numpy.ufunc [object PyUFuncObject]: class in inherits:
[all...]
/external/chromium_org/third_party/cython/src/Cython/Build/
H A DInline.py82 elif 'numpy' in sys.modules and isinstance(arg, sys.modules['numpy'].ndarray):
83 return 'numpy.ndarray[numpy.%s_t, ndim=%s]' % (arg.dtype.name, arg.ndim)
177 if m.groups()[0] == 'numpy':
178 import numpy namespace
179 c_include_dirs.append(numpy.get_include())
/external/chromium_org/tools/telemetry/third_party/png/
H A Dpng.py1116 The array is expected to be a ``numpy`` array, but it can be any
1129 is supposed to work both for ``numpy`` arrays and for Python
1255 # the array is a numpy array.
2877 # numpy dependent tests. These are skipped (with a message to
2878 # sys.stderr) if numpy cannot be imported.
2880 """numpy uint16."""
2883 import numpy namespace
2885 print >>sys.stderr, "skipping numpy test"
2888 rows = [map(numpy.uint16, range(0,0x10000,0x5555))]
2892 """numpy uint
2895 import numpy namespace
2907 import numpy namespace
2918 import numpy namespace
[all...]
/external/chromium_org/third_party/cython/src/
H A Druntests.py94 'tag:numpy' : 'numpy',
122 import numpy namespace
123 from numpy.distutils.misc_util import get_info
125 ext.include_dirs.append(numpy.get_include())
127 # We need the npymath library for numpy.math.
208 'tag:numpy' : update_numpy_extension,

Completed in 256 milliseconds