Open dlfivefifty opened 6 years ago
I'm fine with arclength
, but the cases you mention can also be distinguished. Any Interval{T}
where T <: Real
has non-zero Lebesgue measure, and the current way to embed an interval in the complex plane is to explicitly use an embedding: i = embedding_map(Float64, Complex128) * interval()
. (Nicer syntax would be welcome.) One could probably make it so that the lebesgue measure of i
is zero in this case, since the embedding map knows the difference in dimension of the spaces.
I usre Segment(a::Complex,b::Complex)
for line segments in the complex plane, so don't need embedding_map
.
IntervalSets.jl uses width(d)
, which I think is fine.
I'm not sure what the conclusion was what to call it, but there should be some version of
arclength
for an interval.It could be called
lebesguemeasure
, though that's a bit confusing for intervals embedded in the complex plane, as the measure with respect todx*dy
would be zero....