JuliaApproximation / DomainSets.jl

A Julia package for describing domains as continuous sets of elements
MIT License
72 stars 12 forks source link

Support more static arrays #72

Closed daanhb closed 3 years ago

daanhb commented 3 years ago

Right now, a "Euclidean domain" is defined to be:

const EuclideanDomain{N,T} = Domain{SVector{N,T}}

It may be more generic to make this into:

const EuclideanDomain{N,T} = Domain{<:StaticVector{N,T}}

That would support other kinds of static vectors apart from SVector.

dlfivefifty commented 3 years ago

Actually maybe not: Domain{<:SphericalCoordinate} is definitely not Euclidean

daanhb commented 3 years ago

Fair point!

daanhb commented 3 years ago

Alright let's leave this potential change until it is genuinely needed somewhere else, and then figure out a clean solution.