Skip to content

Can't handle Piecewise function #4

@yang-tsao

Description

@yang-tsao

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions