Changeset fa8420 in git for factory/ftest/totaldegree.m4


Ignore:
Timestamp:
Apr 6, 1998, 12:50:46 PM (26 years ago)
Author:
Jens Schmidt <schmidt@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
3ba84ce0237d1edda5eed542f689d3e795661cdb
Parents:
a42239a667454add16526617638435dcc1115d49
Message:
***** merge from branch `factory-gcd' to main trunk


git-svn-id: file:///usr/local/Singular/svn/trunk@1328 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/ftest/totaldegree.m4

    ra42239 rfa8420  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: totaldegree.m4,v 1.3 1997-11-05 16:12:21 schmidt Exp $ */
     2/* $Id: totaldegree.m4,v 1.4 1998-04-06 10:49:17 schmidt Exp $ */
    33
    44ftestSetNameOfGame( totaldegree, `"
    55Usage: totaldegree [<options>] [<envSpec>] <f> [<x> <y>]
    6   calculates total degree of canonical form f.  If the variables
    7   x and y are specified, calculates total degree of f with
    8   respect to the polynomial variables between x and y
    9   (inclusively).
     6  calculates total degree of canonical form <f>.  If the
     7  variables <x> and <y> are specified, calculates total
     8  degree of <f> with respect to the polynomial variables
     9  between <x> and <y> (inclusively).
    1010"'`' )
    1111
     
    4848
    4949    // do the test!
    50     ftestRun(
    51         if ( ftestArgGiven( x ) )
    52             result = totaldegree( f, x, y );
    53         else
    54             result = totaldegree( f ); );
     50    if ( ftestArgGiven( x ) ) {
     51        ftestRun( result = totaldegree( f, x, y ); );
     52    } else {
     53        ftestRun( result = totaldegree( f ); );
     54    }
    5555
    5656    // print results
Note: See TracChangeset for help on using the changeset viewer.