Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New version: BasisFunctions v0.7.0 #119737

Merged

Conversation

JuliaRegistrator
Copy link
Contributor

## Breaking changes

- an expansion (dictionary+coefficients) no longer acts as the vector of coefficients. This means it cannot be indexed (as in `e[2]` returning the second coefficient) and cannot be iterated over
- there are some interface cleanups. The `norm` and `moment` functions with a combination of dictionary and coefficient as arguments are renamed to `dict_norm` and `dict_moment` instead. One can still invoke `norm` on a basisfunction, e.g., `norm(dict[3])`

## Features
- computing with expansions has improved. For example, computing the diagonal of the Christoffel-Darboux kernel of a polynomial basis can be done as follows:
```julia
julia> basis = orthogonalize(Legendre(3))
DiagonalOperator(v) * Legendre(3)

v = 3-element Vector{Float64}:
 0.707107
 1.22474
 1.58114

julia> k = sum(phi^2 for phi in basis)
Expansion(Legendre(5), v)

v = 5-element Vector{Float64}:
 1.5
 8.28036e-16
 1.71429
 1.14325e-15
 1.28571
```

UUID: 4343a25-5453-507d-8aad-01a9d7189916
Repo: https://github.com/JuliaApproximation/BasisFunctions.jl.git
Tree: a8ba420906aceed5e1d47b1aadbdccbf08088b05

Registrator tree SHA: 17aec322677d9b81cdd6b9b9236b09a3f1374c6a
Copy link
Contributor

Hello, I am an automated registration bot. I help manage the registration process by checking your registration against a set of AutoMerge guidelines. If all these guidelines are met, this pull request will be merged automatically, completing your registration. It is strongly recommended to follow the guidelines, since otherwise the pull request needs to be manually reviewed and merged by a human.

1. AutoMerge Guidelines are all met! ✅

Your new version registration met all of the guidelines for auto-merging and is scheduled to be merged in the next round (~20 minutes).

2. To pause or stop registration

If you want to prevent this pull request from being auto-merged, simply leave a comment. If you want to post a comment without blocking auto-merging, you must include the text [noblock] in your comment.

Tip: You can edit blocking comments to add [noblock] in order to unblock auto-merging.

@JuliaTagBot JuliaTagBot merged commit 04f1971 into master Nov 19, 2024
20 checks passed
@JuliaTagBot JuliaTagBot deleted the registrator-basisfunctions-4343a256-v0.7.0-bf6f1d72da branch November 19, 2024 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants