Returns the complexity of a complex system, defined by the number of system components (S), connectance between components (C), and standard deviation of interaction strengths (sigma) such that complexity equals sigma * sqrt(SC)

get_complexity(mat)

Arguments

mat

The matrix to be valuated

Value

The complexity of the matrix mat

Examples

eg_mat <- matrix(dat = rnorm(n = 16), nrow = 4); mat_cmp <- get_complexity(mat = eg_mat);