Finding the maximum value of MAXIMA results for a group

Hello,

I cannot get to work the GRP record in MAXIMA. In order to select the maximum value for a group of elements from the results of MAXIMA , I need to enter the boundary values of the group element numbers directly into the FLT record. See the script below. What am I doing wrong?

+PROG RESULTS urs:73.1

$GRP 2 does not work!!!

FLT ID 1 NAME 'quad_for.nr' RULE '[20001;20020]'$Boundary values have to be introduced
FILT NAME 'quad_for.myy' TYPE EX EXTP MAX

XLSX NAME #Path  WS 'MX max' ROW 1 COL 1 CLNM  YES TIME NO CDB NO ELEM NO FILT NO RESU NO
LC   NO 3001
QUAD TYPE MY STYP ELEM REPR DLST

END

You have only specified that group 2 should be shown, nothing about the remaining groups that are active by default.

Try:

Grp Numb all Opti No  $ Or just Grp Opti No implying the Numb all
Grp Numb 2   Opti Yes $ Or just Grp Numb 2 implying the Opti yes

If you are having trouble:

  • Make a minimal example in the GUI-version, e.g. by filtering:
    image
  • Save the file
  • Open in teddy and try to understand the machine generated code.
1 Like

Thank you!