R/RcppExports.R
fortran_sum.Rd
Passes a numeric vector to a Fortran routine that returns its sum, and surfaces the result in R through Rcpp.
fortran_sum(x)
A numeric vector.
numeric
A single numeric value, the sum of the elements of x.
x
fortran_sum(1:10) #> [1] 55