Skip to content

Commit

Permalink
add O(bn) GramMatrix constructor from moments
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaelSlevinsky committed Dec 12, 2024
1 parent 368dcb9 commit 73ebb10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "FastTransforms"
uuid = "057dd010-8810-581a-b7be-e3fc3b93f78c"
version = "0.16.6"
version = "0.16.7"

[deps]
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"
Expand Down
2 changes: 1 addition & 1 deletion src/GramMatrix.jl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function GramMatrix(μ::AbstractVector{T}, X::XT, p0::T) where {T, XT <: Abstrac
n = (N+1)÷2
@assert N == size(X, 1) == size(X, 2)
@assert bandwidths(X) == (1, 1)
W = Matrix{T}(undef, N, N)
W = LowerTriangular(Matrix{T}(undef, N, N))
if n > 0
@inbounds for m in 1:N
W[m, 1] = p0*μ[m]
Expand Down

2 comments on commit 73ebb10

@MikaelSlevinsky
Copy link
Member Author

Choose a reason for hiding this comment

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

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/121301

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.16.7 -m "<description of version>" 73ebb102ec1d246f9437c85732954a99ec68e051
git push origin v0.16.7

Please sign in to comment.