Mercurial > octave
view test/fcn-handle/bug57941a.m @ 31248:8b75954a4670
delaunayn: adjust node ordering for positive outward normal vectors (bug #53397)
* delaunayn.m: Check sign of simplex volume, flip node order for negative
volumes to ensure positive (outward-pointing) normal vectors. Add BISTs to
check for positive volumes.
* etc/News.8.md: Append function improvement note to delaunayn change
paragraph under General Improvements.
author | Nicholas R. Jankowski <jankowski.nicholas@gmail.com> |
---|---|
date | Thu, 29 Sep 2022 23:09:05 -0400 |
parents | 23fe97205db5 |
children |
line wrap: on
line source
function [r1, r2] = bug57941a (A) fh1 = @nested1; function z = nested1 (x) z = A * x; end fh2 = @nested2; function z = nested2 (x,y) z = A * x .* y; end r1 = fh1 (3); r2 = fh2 (3, 4); end