Message Boards Message Boards

1
|
629 Views
|
2 Replies
|
4 Total Likes
View groups...
Share
Share this post:

Extremely slow calculation of RegionMeasure

Recently I discovered than RegionMeasure works very slow even for simple regions. For example, for the region (almost solid circle)

ImplicitRegion[Abs[x]^1.8 + Abs[y]^2.9 <= 2.2, {x, y}]

Wolfram Cloud returns: Cloud: This computation has exceeded the time limit for your plan while computing

RegionMeasure[ImplicitRegion[Abs[x]^1.8 + Abs[y]^2.9 <= 2.2, {x, y}]]

even for very low WorkingPrecision (say, 3)

The same calculation on the desktop (measured by Timing) takes almost 5 min. Such low computing speed is incomprehensible

POSTED BY: Konstantin Nosov
2 Replies

In thiis special case this is fast:

RegionMeasure@
 DiscretizeRegion@
  ImplicitRegion[Abs[x]^1.8 + Abs[y]^2.9 <= 2.2, {x, y}]
POSTED BY: Gianluca Gorni

Indeed, DiscretizeRegion accelerates calculation, thanks

POSTED BY: Konstantin Nosov
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract