Skip to content

Add support for __matmul__ in the coercion model #22760

@jdemeyer

Description

@jdemeyer

Python 3.5 added the infix matrix multiplication operator PEP 465.

This ticket adds support for it in the coercion model.

The infix matrix multiplication operator (@) could be used for matrix and tensor multiplication.

Follow-up: #30244

CC: @jpflori @embray @tscrim @egourgoulhon @mjungmath

Component: python3

Author: Jeroen Demeyer, Matthias Koeppe

Branch/Commit: d939b2c

Reviewer: Travis Scrimshaw

Issue created by migration from https://trac.sagemath.org/ticket/22760

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions