Non-Analytic Functions

Top  Previous  Next

The following non-analytic functions are supported in FlexPDE:

 

MAX(arg1,arg2)        

The maximum function requires two arguments.  MAX is evaluated on a point by point basis and is equal to the larger of the two arguments at each point.        

 

MIN(arg1,arg2)        

The minimum function requires two arguments.  MIN is evaluated on a point by point basis and is equal to the lessor of the two arguments at each point.        

 

MOD(arg1,arg2)        

The modulo function requires two arguments.  MOD is evaluated on a point by point basis and is equal to the remainder of (arg1/arg2) at each point.        

 

GLOBALMAX(arg)        

The global maximum function requires one argument.  GLOBALMAX is equal to the largest value of the argument over the problem domain. GLOBALMAX is tabulated and re-evaluated when components of the argument change.

 

GLOBALMAX_X(arg)        

GLOBALMAX_Y(arg)        

GLOBALMAX_Z(arg)        

The specified coordinate of the global maximum is returned.  Global searches are tabulated by argument expression, and repeated calls to GLOBALMAX and its related coordinates do not cause repeated evaluation.

       

GLOBALMIN(arg)        

The global minimum function requires one argument.  GLOBALMIN is equal to the smallest value of the argument over the problem domain.  GLOBALMIN is tabulated and re-evaluated when components of the argument change.

 

GLOBALMIN_X(arg)        

GLOBALMIN_Y(arg)        

GLOBALMIN_Z(arg)        

The specified coordinate of the global minimum is returned.  Global searches are tabulated by argument expression, and repeated calls to GLOBALMIN and its related coordinates do not cause repeated evaluation.

       

RANDOM(arg)        

The random function requires one argument.  The result is a pseudo-random number uniformly distributed in (0,arg).  The only reasonable application of the RANDOM function is in initial values.  Use in other contexts will probably result in convergence failure.        

 

SIGN(arg)        

The sign function requires one argument.  SIGN is equal to 1 if the argument is positive and -1 if the argument is negative.        

 

TIME_MAX(arg)        

Records the maximum value of arg encountered in a time-dependent problem.

       

TIME_MIN(arg)        

Records the minimum value of arg encountered in a time-dependent problem.