expln

Messages in english

Modérateur : xcasadmin

compsystems
Messages : 556
Inscription : sam. févr. 04, 2017 11:34 pm
Localisation : Colombia
Contact :

expln

Message par compsystems » mar. oct. 30, 2018 3:18 pm

Hello

Testing the function expln with
expln(cos(x)) => returns 101*cos(x)
expln(2*(e)^4) => returns 202*exp(4)

parisse
Messages : 5734
Inscription : mar. déc. 20, 2005 4:02 pm
Contact :

Re: expln

Message par parisse » mer. oct. 31, 2018 4:22 pm

expln is a numeric constant with a symbolic name, try expln+0

Code : Tout sélectionner

  enum maple_conversion {
    _TRIG=100,
    _EXPLN=101,
    _PARFRAC=102,
    _FULLPARFRAC=103,
    _BASE=104,
    _CONFRAC=105,
    _MAPLE_LIST=256,
    _POSINT=1*256+2,
    _NEGINT=2*256+2,
    _NONPOSINT=3*256+2,
    _NONNEGINT=4*256+2,
    _LP_BINARY=106,           //   * binary
    _LP_BINARYVARIABLES=107,  //   * binaryvariables
    _LP_DEPTHLIMIT=108,       //   * depthlimit
    _LP_INTEGER=109,          //   * integer
    _LP_INTEGERVARIABLES=110, //   * integervariables
    _LP_MAXIMIZE=111,         //   * maximize
    _LP_NONNEGATIVE=112,      //   * nonnegative
    _LP_NONNEGINT=113,        //   * nonnegint
    _LP_VARIABLES=114,        //   * variables
    _LP_ASSUME=115,
    _LP_NODE_LIMIT = 116,             // lp_nodelimit
    _LP_INTEGER_TOLERANCE = 117,      // lp_integertolerance
    _LP_METHOD = 118,                 // lp_method
    _LP_SIMPLEX = 119,                // lp_simplex
    _LP_INTERIOR_POINT = 120,         // lp_interiorpoint
    _LP_INITIAL_POINT = 121 ,          // lp_initialpoint
    _LP_MAX_CUTS = 122,            // lp_maxcuts            option
    _LP_GAP_TOLERANCE = 123,       // lp_gaptolerance       option
    _LP_NODESELECT = 124,          // lp_nodeselect         option
    _LP_VARSELECT = 125,           // lp_varselect          option
    _LP_FIRSTFRACTIONAL = 126,     // lp_firstfractional    value
    _LP_LASTFRACTIONAL = 127,      // lp_lastfractional     value
    _LP_MOSTFRACTIONAL = 128,      // lp_mostfractional     value
    _LP_PSEUDOCOST = 129,          // lp_pseudocost         value
    _LP_DEPTHFIRST = 130,          // lp_depthfirst         value
    _LP_BREADTHFIRST = 131,        // lp_breadthfirst       value
    _LP_BEST_PROJECTION = 132,     // lp_bestprojection     value
    _LP_HYBRID = 133,              // lp_hybrid             value
    _LP_ITERATION_LIMIT = 134,     // lp_iterationlimit     option
    _LP_TIME_LIMIT = 135,          // lp_timelimit          option
    _LP_VERBOSE =136,             // lp_verbose            option
    _NLP_INITIALPOINT = 137,    //nlp_initialpoint
    _NLP_ITERATIONLIMIT = 138,  //nlp_iterationlimit
    _NLP_NONNEGATIVE = 139,     //nlp_nonnegative
    _NLP_PRECISION = 140,       //nlp_precision
    _NLP_MAXIMIZE = 141,         //nlp_maximize
    _GT_CONNECTED = 142, // connected
    _GT_SPRING = 143, // spring
    _GT_TREE = 144, // tree
    _GT_PLANAR = 145, // planar
    _GT_DIRECTED = 146, // directed
    _GT_WEIGHTED = 147, // weighted
    _GT_WEIGHTS = 148, // weights
    _GT_BIPARTITE = 149, // bipartite
    _GT_ACYCLIC = 150, // acyclic
    _KDE_BANDWIDTH = 151, // bandwidth
    _KDE_BINS = 152, // bins
  };

Répondre