On this page
operator.imatmul
Prev: operator.ilshift | Up: operator | Next: operator.imod
Rel: operator.abs, operator.add, operator.and_, operator.attrgetter
Ref: docs.python.org — operator.imatmul
Tags: #public #python3 #stdlib #operator
Import
import operator
from operator import imatmul
Signature & Overview
operator.imatmul(a, b, /)
Same as a @= b.
Usage
import operator
# Functional form of in-place matrix multiplication (a @= b)
assert callable(operator.imatmul)
Gotchas
- Calls
__imatmul__(falling back to__matmul__).
REPL Inspect
from operator import imatmul
help(imatmul)
Linked from
Related notes
- tuts/python3/stdlib_module/operator/ilshift Linked here; links to this page; shared tags: #operator, #stdlib
- tuts/python3/stdlib_module/operator/imod Linked here; links to this page; shared tags: #operator, #stdlib
- tuts/python3/stdlib_module/operator Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/operator/abs Linked here; shared tags: #operator, #stdlib
- tuts/python3/stdlib_module/operator/add Linked here; shared tags: #operator, #stdlib
- tuts/python3/stdlib_module/operator/and_ Linked here; shared tags: #operator, #stdlib
- tuts/python3/stdlib_module/operator/attrgetter Linked here; shared tags: #operator, #stdlib
- tuts/python3/stdlib_module/operator/call shared tags: #operator, #stdlib
- tuts/python3/stdlib_module/operator/concat shared tags: #operator, #stdlib
- tuts/python3/stdlib_module/operator/contains shared tags: #operator, #stdlib