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

implement power coefficients for a given var #172

Open
amcostant opened this issue Aug 5, 2019 · 0 comments
Open

implement power coefficients for a given var #172

amcostant opened this issue Aug 5, 2019 · 0 comments

Comments

@amcostant
Copy link

Can you implement a function that will return a vector that contains all the power coefficients for a given variable, for example, would return

julia> power_coeff(t^(1//2)+t^3+t^2.4+x^3.1, t)
3-element Array{Basic,1}:
 1/2
 3
 2.4

and would return

julia> power_coeff(t^(1//2)+t^3+t^2.4+x^3.1, t)
1-element Array{Basic,1}:
 3.1

if there is an existing function in SymEngin that can be "ccall"ed what would it be?

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

No branches or pull requests

1 participant