R/stimulation.R

Defines functions stimulation

Documented in stimulation

#' Stimulation function
#'
#' @param stim_val constant value for stimulation function
#' @param t specific time point
#' @param len number of hidden nodes
#'
#' @return decreasing or uprising vector during time
#' @export
stimulation <- function(stim_val,
                        t,
                        len) {
  #return(rep(1 - 1 /(1 + t),len)) # active this line in a case of basic version
  return(rep(stim_val, len))
}
ZahraNSL/ODENEM documentation built on Dec. 31, 2020, 6:35 p.m.