Skip to content

Conversation

@peter-nekrasov
Copy link
Collaborator

moved and renamed polytens.cheb_NAME to polytens.cheb.NAME and made the corresponding changes to polytens.lege_NAME. also changed plot.m, surfer.m, oversample.m, and vals2coefs.m in @Surfer as well as a few of the tests to reflect these changes in syntax.

Copy link
Member

@mrachh mrachh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A minor suggestion: maybe we should call the function interpolate_data or interpolate_fun instead?

More substantively, it should work for a vector of densities which can be of size (npts, nfun) or (nfun, npts). See src/vals_to_coefs_surface_fun for an example. Finally might help to bracket c2v*(v2c*vals) just to make sure it doesn't hurt us in the long run.

And once I pull in your changes I will be deleting vals_to_coefs_surface_fun as it does the same thing as surfer/vals2coefs, although I like the former code.

Looks great otherwise, thanks Peter!

Copy link
Member

@mrachh mrachh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks

@mrachh mrachh merged commit b3fb05a into fastalgorithms:master Oct 29, 2025
3 checks passed
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.

2 participants