Skip to content

Conjugate the first argument in vecdot#98

Merged
ev-br merged 1 commit into
data-apis:mainfrom
asmeurer:vecdot-conj
Dec 4, 2024
Merged

Conjugate the first argument in vecdot#98
ev-br merged 1 commit into
data-apis:mainfrom
asmeurer:vecdot-conj

Conversation

@asmeurer

Copy link
Copy Markdown
Member

This is currently untested by the test suite (data-apis/array-api-tests#312)

Fixes #97.

This is currently untested by the test suite (data-apis/array-api-tests#312)

Fixes data-apis#97.
@asmeurer asmeurer requested a review from Copilot November 19, 2024 22:49

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no suggestions.

Comments skipped due to low confidence (1)

array_api_strict/_linear_algebra_functions.py:89

  • Ensure that the new behavior of conjugating the first argument in the vecdot function is covered by tests.
res = np.conj(x1_[..., None, :]) @ x2_[..., None]

@ev-br

ev-br commented Nov 26, 2024

Copy link
Copy Markdown
Member

cf data-apis/array-api-tests#323 for a matching test.

@ev-br

ev-br commented Dec 4, 2024

Copy link
Copy Markdown
Member

I think we should merge this to accompany data-apis/array-api-compat#201 even if the corresponding test (data-apis/array-api-tests#323) is held up by general value testing being brittle.
Thanks Aaron.

@ev-br ev-br merged commit 179e3e2 into data-apis:main Dec 4, 2024
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.

vecdot does not conjugate the first argument

3 participants