R/myf.R

Defines functions myf

Documented in myf

#' Square function
#'
#' Takes 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
}
gabescott10/MATH4753scot0068 documentation built on March 15, 2020, 4:01 p.m.