tensor4all / TensorCrossInterpolation.jl

https://tensor4all.github.io/TensorCrossInterpolation.jl/
MIT License
21 stars 1 forks source link

Support Tuple and CartesianIndex types when passing pivots #29

Open rittermarc opened 3 months ago

rittermarc commented 3 months ago

Users are likely to have indices as Tuple or CartesianIndex. Functions such as addglobalpivots! only accept vectors. Based on user feedback during the tutorial session, it would be helpful to make the interface more flexible such that the user doesn't have to convert pivot specifications all the time.

shinaoka commented 3 months ago

OK, let us override the function! I want to avoid using Union to accept these types as this could lead to type instability.