|
From: | anonymous |
Subject: | [Octave-bug-tracker] [bug #60818] delaunayn - 2D code path vectorization doesn't match nD algorithm |
Date: | Sat, 3 Jul 2021 06:55:42 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0 |
Follow-up Comment #38, bug #60818 (project octave): Fixed the slow line by changing it to [~, rev_sort] = sort (reordered_tri_idx); vol = prod (reshape (R(rev_sort), dim, nt), 1).'; I have not checked the speed but I expect faster with less memory used. Also placed the missing abs() on the 3D volume calculation. Attached file (file #51642) _______________________________________________________ Additional Item Attachment: File name: delaunayn.m Size:6 KB <https://file.savannah.gnu.org/file/delaunayn.m?file_id=51642> _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?60818> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |