R/myf.R

#' Square Function
#'
#' Takes a vector and returns a vector with
#' squared components.
#'
#'
#' @param x
#'
#' @return a Vector of squared components
#' @export
#'
#' @examples
#' x = 1:30;  myf(x)
myf = function (x)
{
  x^2
}
nafryer97/MATH4753PROJ1 documentation built on Feb. 23, 2020, 7:49 a.m.