R/is.increasing.on.x.R

Defines functions is.increasing.on.x

Documented in is.increasing.on.x

is.increasing.on.x <-
function(fun, x.bound=c(-1,1), y.bound=c(-1,1), step=.01){
  y = seq(y.bound[1], y.bound[2], by=step)
  for(i in 1:length(y)){
    g = function(x) fun(x,y[i])
    if( is.increasing(g, x.bound, step) == FALSE )
       { return(FALSE) } 
    }
  return( TRUE )
}

Try the FuzzyNumbers.Ext.2 package in your browser

Any scripts or data that you put into this service are public.

FuzzyNumbers.Ext.2 documentation built on May 1, 2019, 9:15 p.m.