Hello,
I made a newton polytope from the polynomial equation given below:
$d = $e*$x5+$e*$x12*$x4;
$nd = newton($d);
then when I print the faces lattice structure it turns out to be:
print $HD->FACES;
{}
{0}
{1}
{0 1}
but when I try to access the last 1 dimensional face i.e.
for (my $k=$HD->DIMS->[1]; $k<$HD->DIMS->[2]; ++$k) { print $HD->FACES->[$k] }
The following error is encountered:
polymake: ERROR: index out of range at input line 1.
Please help me to resolve the error.
Thanks & Regards,
Satya