Skip to content

use L1 norm for drop tolerance#27

Merged
stevengj merged 2 commits intomasterfrom
l1droptol
Feb 28, 2026
Merged

use L1 norm for drop tolerance#27
stevengj merged 2 commits intomasterfrom
l1droptol

Conversation

@stevengj
Copy link
Member

@stevengj stevengj commented Feb 28, 2026

Following chebfun, to check whether to drop coefficients $c_k$, use $|c_k| < \Vert c \Vert_1 \times \text{droptol}$ rather than $\Vert c \Vert_{\infty}$. This makes sense because the value of the function is bounded by the L1 norm (since each Chebyshev polynomial takes on values bounded by ±1).

It allows the droptol to be a little more aggressive about shrinking the polynomial degree.

@stevengj stevengj merged commit fbd85ce into master Feb 28, 2026
2 checks passed
@stevengj stevengj deleted the l1droptol branch February 28, 2026 13:01
@stevengj
Copy link
Member Author

I ended up reverting this to the more conservative infinity norm again, because in #32 I found cases where the L1 norm was too aggressive.

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

Successfully merging this pull request may close these issues.

1 participant