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
}
savxsouth/MATH-4753 documentation built on Sept. 4, 2022, 8:17 a.m.