https://github.com/halide/Halide
Revision 61792d8c8ad15f9412e6b8aaba8e9096d5bb986b authored by Svenn-Arne Dragly on 20 October 2020, 22:06:58 UTC, committed by Svenn-Arne Dragly on 21 October 2020, 08:35:48 UTC
This change introduces `logical_not` as a free function and member function
that calls `operator!`.

The reason why a new function is added is because there is no `operator!`
in Python and the `not` keyword cannot be overloaded. Hence, there was
currently no way to call the C++ `operator!` in Python.
1 parent 1e8505e
History
Tip revision: 61792d8c8ad15f9412e6b8aaba8e9096d5bb986b authored by Svenn-Arne Dragly on 20 October 2020, 22:06:58 UTC
Add logical_not function for Python
Tip revision: 61792d8
File Mode Size
.github
apps
cmake
dependencies
doc
packaging
python_bindings
src
test
tools
tutorial
util
.clang-format -rw-r--r-- 1.5 KB
.clang-format-ignore -rw-r--r-- 265 bytes
.clang-tidy -rw-r--r-- 750 bytes
.gitattributes -rw-r--r-- 342 bytes
.gitignore -rw-r--r-- 1.1 KB
.gitmodules -rw-r--r-- 0 bytes
CMakeLists.txt -rw-r--r-- 4.5 KB
CODE_OF_CONDUCT.md -rw-r--r-- 3.5 KB
LICENSE.txt -rw-r--r-- 3.2 KB
Makefile -rw-r--r-- 94.5 KB
README.md -rw-r--r-- 20.8 KB
README_cmake.md -rw-r--r-- 66.5 KB
README_rungen.md -rw-r--r-- 12.1 KB
README_webassembly.md -rw-r--r-- 7.5 KB
run-clang-format.sh -rwxr-xr-x 1.1 KB
run-clang-tidy.sh -rwxr-xr-x 2.8 KB

README.md

back to top