Home
last modified time | relevance | path

Searched refs:forcecast (Results 1 – 6 of 6) sorted by relevance

/external/python/pybind11/tests/
Dtest_numpy_vectorize.cpp82 py::array_t<int, py::array::forcecast> arg1, in TEST_SUBMODULE()
83 py::array_t<float, py::array::forcecast> arg2, in TEST_SUBMODULE()
84 py::array_t<double, py::array::forcecast> arg3 in TEST_SUBMODULE()
Dtest_numpy_array.cpp408 [](py::array_t<double, py::array::forcecast>) {}, in TEST_SUBMODULE() argument
414 [](py::array_t<double, py::array::forcecast | py::array::c_style>) {}, in TEST_SUBMODULE()
420 [](py::array_t<double, py::array::forcecast | py::array::f_style>) {}, in TEST_SUBMODULE()
426 [](py::array_t<double, py::array::forcecast>) {}, in TEST_SUBMODULE() argument
432 [](py::array_t<double, py::array::forcecast | py::array::c_style>) {}, in TEST_SUBMODULE()
438 [](py::array_t<double, py::array::forcecast | py::array::f_style>) {}, in TEST_SUBMODULE()
Dtest_numpy_array.py491 def test_argument_conversions(forcecast, contiguity, noconvert): argument
497 if forcecast:
510 should_raise = dtype.name == "complex128" and not forcecast
/external/python/pybind11/docs/advanced/pycpp/
Dnumpy.rst167 void f(py::array_t<double, py::array::c_style | py::array::forcecast> array);
169 The ``py::array::forcecast`` argument is the default value of the second
/external/python/pybind11/include/pybind11/
Dnumpy.h563 forcecast = detail::npy_api::NPY_ARRAY_FORCECAST_
835 template <typename T, int ExtraFlags = array::forcecast> class array_t : public array {
1470 using type = conditional_t<vectorize, array_t<remove_cv_t<call_type>, array::forcecast>, T>;
Deigen.h411 using Array = array_t<Scalar, array::forcecast |