Skip to content

Commit

Permalink
Merge pull request #76 from jverzani/besseljs
Browse files Browse the repository at this point in the history
add methods for besselj0/1 bessely0/1
  • Loading branch information
jverzani authored Nov 7, 2024
2 parents 27a1d68 + 5454033 commit b96313d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "SymPyCore"
uuid = "458b697b-88f0-4a86-b56b-78b75cfb3531"
authors = ["jverzani <[email protected]> and contributors"]
version = "0.2.5"
version = "0.2.6"

[deps]
CommonEq = "3709ef60-1bee-4518-9f2f-acd86f176c50"
Expand Down
11 changes: 11 additions & 0 deletions src/SymPy/additional_methods_sympy.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,21 @@ Base.div(x::Sym, y::Sym) = ↑(first(_sympy_.div(↓(x), ↓(y))))
Base.rem(x::Sym, y::Sym) = (_sympy_.rem((x), (y)))

SpecialFunctions.beta(a::Sym, b::Sym) = sympy.beta(a,b)

SpecialFunctions.besseli(n::Number, b::Sym) = sympy.besseli(n, b)

SpecialFunctions.besselj(n::Number, b::Sym) = sympy.besselj(n, b)
SpecialFunctions.besselj0(b::Sym) = sympy.besselj(0, b)
SpecialFunctions.besselj1(b::Sym) = sympy.besselj(1, b)

SpecialFunctions.besselk(n::Number, b::Sym) = sympy.besselk(n, b)

SpecialFunctions.bessely(n::Number, b::Sym) = sympy.bessely(n, b)
SpecialFunctions.bessely0(b::Sym) = sympy.bessely(n, b)
SpecialFunctions.bessely1(b::Sym) = sympy.bessely(n, b)

# no besselix, besseljx, besselkx, or besselyx


# CommonEq
CommonEq.Lt(a::T,b::T) where {T <: SymbolicObject} = sympy.Lt(a,b)
Expand Down

2 comments on commit b96313d

@jverzani
Copy link
Owner 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/118917

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.2.6 -m "<description of version>" b96313d0259d93f52ee292618cb170a3c9fb261e
git push origin v0.2.6

Please sign in to comment.