productOfRowSums: Product of Row Sums

Description Usage Arguments Value Author(s) References Examples

View source: R/productOfRowSums.R

Description

This method calculates the product of row sums.

Usage

1

Arguments

g

a graph as a graphNEL object.

dist

the distance matrix of the graph. If the parameter is empty the distance matrix will be calculated within the function.

log

if TRUE it returns the log of the product. The default value is FALSE.

Value

This method returns the product of row sums.

Author(s)

Laurin Mueller

References

H. P. Schultz, E. B. Schultz, and T. P. Schultz, Topological Organic Chemistry. 4. Graph Theory, Matrix Permanents, and Topological Indices of Alkanes, Journal of Chemical Information and Computer Sciences, vol. 32, no. 1, pp. 69-72, 1992.

Examples

1
2
3
4
5
library(RBGL)
set.seed(123)
g <- randomGraph(1:8, 1:5, 0.36, weights=FALSE)

productOfRowSums(g)

QuACN documentation built on May 2, 2019, 8:18 a.m.