R/prods.R

Defines functions rowprods colprods

Documented in colprods rowprods

#[export]
colprods<- function(x,method = "direct"){
  .Call(Rfast_col_prods,x,method)
}

#[export]
rowprods<- function(x){
  .Call(Rfast_row_prods,x)
}

Try the Rfast package in your browser

Any scripts or data that you put into this service are public.

Rfast documentation built on March 18, 2022, 7:41 p.m.