Skip to content

FEAT: Missing vecdot, matvec and vecmat ufunc implementation #71

Description

@SwayamInSync

As per the title, they are the specialized cases of np.dot but already a ufunc so registering them should be doable.

Activity

  1. changed the title [-]FEAT: Missing `vecdot`, `matvec` and `vetmac` ufunc implementation[/-] [+]FEAT: Missing `vecdot`, `matvec` and `vecmat` ufunc implementation[/+] on Feb 6, 2026
  2. dlakaplan commented on May 26, 2026

    @dlakaplan

    Hi, @SwayamInSync I am trying to use np.dot but it's failing. I can't tell if that is implemented yet or not?

    import numpy_quaddtype
    import numpy as np
    
    x = numpy_quaddtype.QuadPrecision(np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]]))
    y = np.dot(x, x.T)
    

    (numpy 2.4.6, numpy_quaddtype from GitHub). Is this still being worked on?

  3. SwayamInSync commented on May 26, 2026

    @SwayamInSync
    MemberAuthor

    Yes, IIRC dot needs to be re-wired from NumPy side. This is under radar and will ship asap

  4. Brian-Castle commented on Jun 19, 2026

    @Brian-Castle

    Hi all, may I ask where this stands? I need this too! The dot is my most frequent request. I'm failing to understand the issue with blas, I thought linalg was built "on top of" the data type.

  5. SwayamInSync commented on Jun 19, 2026

    @SwayamInSync
    MemberAuthor

    dot integration support for user-dtypes needs to land in NumPy first, PR is here numpy/numpy#31574

    This will be soon be added. And quaddtype uses its own custom BLAS ops but they should be accessible via np.linalg.[operation]

  6. self-assigned this
    on Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions