JuliaAlgebra / StaticPolynomials.jl

Fast evaluation of multivariate polynomials
https://juliaalgebra.github.io/StaticPolynomials.jl/latest/
Other
16 stars 4 forks source link

Use generated functions in Systems #17

Closed saschatimme closed 6 years ago

saschatimme commented 6 years ago

Currently we auto generate functions up to a certain size. I think it would be better to simply use generated functions to use instead and only to define the systems type. Or we maybe could even change the system type to

struct System{T, PolyTuple}
     f::PolyTuple
end

Such that we let the compiler fill in the types.