SciNim / polynumeric

A nim module to handle polynomials
MIT License
12 stars 1 forks source link

[RFC] N-variables polynomials #1

Open Clonkk opened 3 years ago

Clonkk commented 3 years ago

... And how should we handle them ?

Should it based on seq of tuples ? On Tensor ?

HugoGranstrom commented 3 years ago

For N > 1 I think the only reasonable option is to go with Tensors. Otherwise we have to create separate overloads for each N if we go with tuples. Arraymancer basically does that up to 6 dimensions but we could have to handle many more dimensions here.