product_vector: Find product of a vector

View source: R/RcppExports.R

product_vectorR Documentation

Find product of a vector

Description

This function product of the elements of a numerical vector

Usage

product_vector(vect)

Arguments

vect

numerical vector

Value

product of element in vector given

Examples

# returns 120
product_vector(c(1,2,3,4,5)) 

rchan26/layeredBB documentation built on March 25, 2022, 3:44 a.m.