R/generics.R

#' Real part
#'
#' Access the real part of a complex number
#'
#' @param object An object of class myComplex or myComplex2
#' @return The real part of the complex number
#'
#' @export
setGeneric("real", function(object) standardGeneric("real"))
Matteo-Ciciani/TestPackage2 documentation built on May 8, 2019, 3:12 a.m.