Searched refs:demo_array (Results 1 – 5 of 5) sorted by relevance
/third_party/boost/libs/python/example/numpy/ |
D | ufunc.cpp | 57 …np::ndarray demo_array = np::from_data(arr, np::dtype::get_builtin<int>() , p::make_tuple(4), p::m… in main() local 59 std::cout << "Demo array is " << p::extract <char const * > (p::str(demo_array)) << std::endl ; in main() 61 p::object result_array = inst.attr("__call__")(demo_array) ; in main() 81 … << p::extract <char const * > (p::str(demo_array)) << std::endl << p::extract <char const * > (p:… in main() 83 result_array = inst.attr("__call__")(demo_array,demo_array) ; in main()
|
/third_party/boost/libs/python/doc/html/numpy/_sources/tutorial/ |
D | ufunc.rst.txt | 62 np::ndarray demo_array = np::from_data(arr, np::dtype::get_builtin<int>(), 69 std::cout << "Demo array is " << p::extract<char const *>(p::str(demo_array)) << std::endl; 73 p::object result_array = inst.attr("__call__")(demo_array); 109 << p::extract<char const *>(p::str(demo_array)) << std::endl 110 << p::extract<char const *>(p::str(demo_array)) << std::endl; 112 Call the binary ufunc taking demo_array as both inputs :: 114 result_array = inst.attr("__call__")(demo_array,demo_array);
|
/third_party/boost/libs/python/doc/numpy/tutorial/ |
D | ufunc.rst | 62 np::ndarray demo_array = np::from_data(arr, np::dtype::get_builtin<int>(), 69 std::cout << "Demo array is " << p::extract<char const *>(p::str(demo_array)) << std::endl; 73 p::object result_array = inst.attr("__call__")(demo_array); 109 << p::extract<char const *>(p::str(demo_array)) << std::endl 110 << p::extract<char const *>(p::str(demo_array)) << std::endl; 112 Call the binary ufunc taking demo_array as both inputs :: 114 result_array = inst.attr("__call__")(demo_array,demo_array);
|
/third_party/boost/libs/python/doc/numpy/reference/ |
D | binary_ufunc.rst | 108 result_array = inst.attr("__call__")(demo_array,demo_array) ;
|
/third_party/boost/libs/python/doc/html/numpy/_sources/reference/ |
D | binary_ufunc.rst.txt | 108 result_array = inst.attr("__call__")(demo_array,demo_array) ;
|