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

Can't handle Piecewise function #4

Open
yang-tsao opened this issue Oct 20, 2024 · 0 comments
Open

Can't handle Piecewise function #4

yang-tsao opened this issue Oct 20, 2024 · 0 comments

Comments

@yang-tsao
Copy link

If you try to calculate 1 / pi integral_(-pi)^pi x^2 cos n x dif x, it will return = Piecewise((2 (pi sin(pi n) + 2 cos(pi n) / n - 2 n^-2 sin(pi n) / pi) / n, n > -oo or n > 0 and n > -oo or n < oo and n > 0 or n < 0 and n < 0 or n < oo), (2/3 pi^2, True)), while typst doesn't understand Piecewise.

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