R/ExampleFunction.R

Defines functions f

Documented in f

#' Finds the minimum point of a function
#' @export
#' @param f function
#' @param x variable

f <- function(x){
  x^3 + 5*x^2 - 4*x + 2
}
NabeelBedar/Optimization documentation built on Dec. 17, 2021, 5:19 a.m.