R/rowProds.R

Defines functions rowProds

## File Name: rowProds.R
## File Version: 1.03
rowProds <- function(matr)
{

# Call: from din()
# Input: numeric matrix with positive entries
# Output: row products of input matrix

    exp( rowSums( log(matr + 10^(-300) ) ) )

}

Try the CDM package in your browser

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

CDM documentation built on Aug. 25, 2022, 5:08 p.m.