Skip to content

Implement trace_dot#3310

Open
jachymb wants to merge 3 commits intostan-dev:developfrom
jachymb:jachymb_trace_dot
Open

Implement trace_dot#3310
jachymb wants to merge 3 commits intostan-dev:developfrom
jachymb:jachymb_trace_dot

Conversation

@jachymb
Copy link
Copy Markdown

@jachymb jachymb commented Apr 23, 2026

Summary

Implements the trace_dot function that computes Tr(A * B) efficiently. This can be used to simplify code on some places.

I requested this in #3161 and decided to try it myself.

Tests

Tests for the new functions, inspired by tests for related functions.

Side Effects

Should not have.

Release notes

Implement trace_dot(A, B).

Checklist

AI use disclosure*

I made this with help of claude code Opus 4.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants