File: Rcpp-sugar.R

package info (click to toggle)
rcpp 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 12,344 kB
  • sloc: ansic: 43,817; cpp: 39,947; sh: 51; makefile: 2
file content (5 lines) | stat: -rw-r--r-- 147 bytes parent folder | download
1
2
3
4
5
## ---- eval = FALSE-------------------------------------------------------
#  foo <- function(x, y) {
#      ifelse(x < y, x * x, -(y * y))
#  }