R/myf.R

Defines functions myf

Documented in myf

#' Square function
#'
#' Takes a vector and returns a vector of squared components.
#'
#' @param x
#'
#' @return a vector of squared components.
#' @export
#'
#' @examples
#' x=1:30; myf(x)
myf=function(x){
  x^2
}
robbyfrost/math4753 documentation built on May 4, 2022, 8:06 a.m.