/dports/science/vipster/vipster-1.19.1b-14-g7168a1b/vipster/ |
H A D | vec.py.cpp | 10 .def("__add__", [](const Vipster::Vec &v, double f){return v+f;}, py::is_operator()) 11 .def("__sub__", [](const Vipster::Vec &v, double f){return v-f;}, py::is_operator()) 12 .def("__mul__", [](const Vipster::Vec &v, double f){return v*f;}, py::is_operator()) 13 .def("__truediv__", [](const Vipster::Vec &v, double f){return v/f;}, py::is_operator()) 14 .def("__rmul__", [](const Vipster::Vec &v, double f){return f*v;}, py::is_operator()) 20 .def("__mul__", [](const Mat &m, double f){return m*f;}, py::is_operator()) 21 .def("__rmul__", [](const Mat &m, double f){return f*m;}, py::is_operator()) 22 .def("__truediv__", [](const Mat &m, double f){return m/f;}, py::is_operator()) 23 .def("__mul__", [](const Mat &m, const Vipster::Vec& v){return m*v;}, py::is_operator()) 24 .def("__rmul__", [](const Mat &m, const Vipster::Vec& v){return v*m;}, py::is_operator()) [all …]
|
/dports/math/py-Pyomo/Pyomo-6.1.2/pyomo/contrib/appsi/cmodel/src/ |
H A D | cmodel_bindings.cpp | 32 .def("__mul__", [](ExpressionBase &a, ExpressionBase &b){return a*b;}, py::is_operator()) in PYBIND11_MODULE() 33 .def("__add__", [](ExpressionBase &a, ExpressionBase &b){return a+b;}, py::is_operator()) in PYBIND11_MODULE() 34 .def("__sub__", [](ExpressionBase &a, ExpressionBase &b){return a-b;}, py::is_operator()) in PYBIND11_MODULE() 35 .def("__div__", [](ExpressionBase &a, ExpressionBase &b){return a/b;}, py::is_operator()) in PYBIND11_MODULE() 38 .def("__neg__", [](ExpressionBase &a){return -a;}, py::is_operator()) in PYBIND11_MODULE() 39 .def("__mul__", [](ExpressionBase &a, double b){return a*b;}, py::is_operator()) in PYBIND11_MODULE() 40 .def("__add__", [](ExpressionBase &a, double b){return a+b;}, py::is_operator()) in PYBIND11_MODULE() 41 .def("__sub__", [](ExpressionBase &a, double b){return a-b;}, py::is_operator()) in PYBIND11_MODULE() 42 .def("__div__", [](ExpressionBase &a, double b){return a/b;}, py::is_operator()) in PYBIND11_MODULE() 43 .def("__truediv__", [](ExpressionBase &a, double b){return a/b;}, py::is_operator()) in PYBIND11_MODULE() [all …]
|
/dports/science/py-chainer/chainer-7.8.0/chainerx_cc/chainerx/python/ |
H A D | array.cc | 331 py::is_operator()); in InitChainerxArrayComparison() 338 py::is_operator()); in InitChainerxArrayComparison() 341 py::is_operator()); in InitChainerxArrayComparison() 348 py::is_operator()); in InitChainerxArrayComparison() 351 py::is_operator()); in InitChainerxArrayComparison() 358 py::is_operator()); in InitChainerxArrayComparison() 361 py::is_operator()); in InitChainerxArrayComparison() 368 py::is_operator()); in InitChainerxArrayComparison() 371 py::is_operator()); in InitChainerxArrayComparison() 378 py::is_operator()); in InitChainerxArrayComparison() [all …]
|
/dports/textproc/lasem/lasem-0.5.1/src/ |
H A D | lsmmathmllayoututils.c | 49 gboolean is_operator; in lsm_mathml_measure_sub_sup() local 57 is_operator = embellished_core != NULL; in lsm_mathml_measure_sub_sup() 79 if (is_operator) { in lsm_mathml_measure_sub_sup() 94 if (is_operator) { in lsm_mathml_measure_sub_sup() 151 gboolean is_operator; in lsm_mathml_layout_sub_sup() local 157 is_operator = embellished_core != NULL; in lsm_mathml_layout_sub_sup() 159 slant = is_operator ? lsm_mathml_operator_element_get_slant (embellished_core, view) : 0.0; in lsm_mathml_layout_sub_sup()
|
/dports/sysutils/conan/conan-1.44.0/conans/search/ |
H A D | query_parse.py | 4 def is_operator(el): function 24 elif char == " " or is_operator(char) or char in [")", "("]: 48 if not is_operator(el): 103 elif is_operator(char): 107 if stack and is_operator(stack[:-1]):
|
/dports/lang/halide/Halide-release_2019_08_27-2654-g664dc4993/python_bindings/src/ |
H A D | PyBinaryOperators.h | 117 py::is_operator()); \ in add_binary_operators_with() 125 py::is_operator()); \ in add_binary_operators_with() 158 .def("__floordiv__", floordiv_wrap, py::is_operator()) in add_binary_operators_with() 159 .def("__rfloordiv__", floordiv_wrap, py::is_operator()); in add_binary_operators_with() 180 .def("__pow__", pow_wrap, py::is_operator()) in add_binary_operators() 181 .def("__rpow__", pow_wrap, py::is_operator()); in add_binary_operators()
|
/dports/emulators/fs-uae/fs-uae-3.1.35/src/ |
H A D | calc.cpp | 84 #define is_operator(c) (c == '+' || c == '-' || c == '/' || c == '*' || c == '!' || c == '%' || c … macro 138 else if(is_operator(c)) { in shunting_yard() 144 if(is_operator(sc) && in shunting_yard() 319 else if(is_operator(c) || is_function(c)) { in execution_order() 390 if (is_operator(c)) in is_separator() 439 if (is_operator(*in)) in parse_values() 469 if (is_operator (c)) in iscalcformula()
|
/dports/games/libretro-uae/libretro-uae-8333daa/sources/src/ |
H A D | calc.c | 85 #define is_operator(c) (c == '+' || c == '-' || c == '/' || c == '*' || c == '!' || c == '%' || c … macro 139 else if(is_operator(c)) { in shunting_yard() 145 if(is_operator(sc) && in shunting_yard() 318 else if(is_operator(c) || is_function(c)) { in execution_order() 419 if (is_operator(*in)) in parse_values() 449 if (is_operator (c)) in iscalcformula()
|
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/columnstore/columnstore/dbcon/execplan/ |
H A D | expressionparser.h | 56 bool is_operator() const in is_operator() function 108 inline static bool is_operator(const Token& t) in is_operator() function 110 return t.is_operator(); in is_operator()
|
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/columnstore/columnstore/dbcon/execplan/ |
H A D | expressionparser.h | 56 bool is_operator() const in is_operator() function 108 inline static bool is_operator(const Token& t) in is_operator() function 110 return t.is_operator(); in is_operator()
|
/dports/www/tikiwiki/tiki-21.2/ |
H A D | tiki-live_support_console.php | 19 if ($tiki_p_live_support_admin != 'y' && ! $lsadminlib->is_operator($user)) { 25 $smarty->assign('isOperator', $lsadminlib->is_operator($user));
|
/dports/math/petanque/arybo-release-1.1.0/petanque/third-party/pybind11/ |
H A D | attr.h | 24 struct is_operator { }; struct 137 is_operator(false), has_args(false), has_kwargs(false), is_method(false) { } 173 bool is_operator : 1; 348 template <> struct process_attribute<is_operator> : process_attribute_default<is_operator> { 349 static void init(const is_operator &, function_record *r) { r->is_operator = true; }
|
/dports/science/py-dlib/dlib-19.22/dlib/external/pybind11/include/pybind11/ |
H A D | attr.h | 24 struct is_operator { }; struct 137 is_operator(false), has_args(false), has_kwargs(false), is_method(false) { } 173 bool is_operator : 1; 344 template <> struct process_attribute<is_operator> : process_attribute_default<is_operator> { 345 static void init(const is_operator &, function_record *r) { r->is_operator = true; }
|
/dports/misc/mnn/MNN-1.2.0/pymnn/src/pybind11/ |
H A D | attr.h | 24 struct is_operator { }; struct 137 is_operator(false), has_args(false), has_kwargs(false), is_method(false) { } 173 bool is_operator : 1; 348 template <> struct process_attribute<is_operator> : process_attribute_default<is_operator> { 349 static void init(const is_operator &, function_record *r) { r->is_operator = true; }
|
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/host/lib/deps/pybind11/include/pybind11/ |
H A D | attr.h | 24 struct is_operator { }; struct 120 is_operator(false), has_args(false), has_kwargs(false), is_method(false) { } 156 bool is_operator : 1; 325 template <> struct process_attribute<is_operator> : process_attribute_default<is_operator> { 326 static void init(const is_operator &, function_record *r) { r->is_operator = true; }
|
/dports/science/gromacs/gromacs-2021.4/python_packaging/src/external/pybind/include/pybind11/ |
H A D | attr.h | 24 struct is_operator { }; struct 137 is_operator(false), has_args(false), has_kwargs(false), is_method(false) { } 173 bool is_operator : 1; 348 template <> struct process_attribute<is_operator> : process_attribute_default<is_operator> { 349 static void init(const is_operator &, function_record *r) { r->is_operator = true; }
|
/dports/cad/netgen/netgen-6.2.2105/external_dependencies/pybind11/include/pybind11/ |
H A D | attr.h | 24 struct is_operator { }; struct 137 is_operator(false), has_args(false), has_kwargs(false), is_method(false) { } 173 bool is_operator : 1; 348 template <> struct process_attribute<is_operator> : process_attribute_default<is_operator> { 349 static void init(const is_operator &, function_record *r) { r->is_operator = true; }
|
/dports/science/dlib-cpp/dlib-19.22/dlib/external/pybind11/include/pybind11/ |
H A D | attr.h | 24 struct is_operator { }; struct 137 is_operator(false), has_args(false), has_kwargs(false), is_method(false) { } 173 bool is_operator : 1; 344 template <> struct process_attribute<is_operator> : process_attribute_default<is_operator> { 345 static void init(const is_operator &, function_record *r) { r->is_operator = true; }
|
/dports/misc/py-tflite-support/tflite-support-0.1.0a1/.eggs/pybind11-2.4.3-py3.7.egg/ |
H A D | attr.h | 24 struct is_operator { }; struct 137 is_operator(false), has_args(false), has_kwargs(false), is_method(false) { } 173 bool is_operator : 1; 348 template <> struct process_attribute<is_operator> : process_attribute_default<is_operator> { 349 static void init(const is_operator &, function_record *r) { r->is_operator = true; }
|
/dports/textproc/xlnt/xlnt-1.5.0-92-g20f3dac2/third-party/pybind11/include/pybind11/ |
H A D | attr.h | 24 struct is_operator { }; struct 135 : is_constructor(false), is_stateless(false), is_operator(false), 169 bool is_operator : 1; 334 template <> struct process_attribute<is_operator> : process_attribute_default<is_operator> { 335 static void init(const is_operator &, function_record *r) { r->is_operator = true; }
|
/dports/math/py-pytanque/pytanque-1.1.0/third-party/pybind11/ |
H A D | attr.h | 24 struct is_operator { }; struct 137 is_operator(false), has_args(false), has_kwargs(false), is_method(false) { } 173 bool is_operator : 1; 348 template <> struct process_attribute<is_operator> : process_attribute_default<is_operator> { 349 static void init(const is_operator &, function_record *r) { r->is_operator = true; }
|
/dports/graphics/open3d/Open3D-0.2/src/External/pybind11/include/pybind11/ |
H A D | attr.h | 24 struct is_operator { }; struct 137 is_operator(false), has_args(false), has_kwargs(false), is_method(false) { } 173 bool is_operator : 1; 344 template <> struct process_attribute<is_operator> : process_attribute_default<is_operator> { 345 static void init(const is_operator &, function_record *r) { r->is_operator = true; }
|
/dports/devel/nextpnr/nextpnr-48cd407/3rdparty/pybind11/include/pybind11/ |
H A D | attr.h | 24 struct is_operator { }; struct 137 is_operator(false), has_args(false), has_kwargs(false), is_method(false) { } 173 bool is_operator : 1; 348 template <> struct process_attribute<is_operator> : process_attribute_default<is_operator> { 349 static void init(const is_operator &, function_record *r) { r->is_operator = true; }
|
/dports/graphics/py-open3d-python/Open3D-0.2/src/External/pybind11/include/pybind11/ |
H A D | attr.h | 24 struct is_operator { }; struct 137 is_operator(false), has_args(false), has_kwargs(false), is_method(false) { } 173 bool is_operator : 1; 344 template <> struct process_attribute<is_operator> : process_attribute_default<is_operator> { 345 static void init(const is_operator &, function_record *r) { r->is_operator = true; }
|
/dports/misc/adios2/ADIOS2-2.7.1/thirdparty/pybind11/pybind11/include/pybind11/ |
H A D | attr.h | 24 struct is_operator { }; struct 144 is_operator(false), is_method(false), has_args(false), 181 bool is_operator : 1; 371 template <> struct process_attribute<is_operator> : process_attribute_default<is_operator> { 372 static void init(const is_operator &, function_record *r) { r->is_operator = true; }
|