Learn R Programming

ergmclust (version 1.0.0)

colsum_Mat: C++ function for column-wise numeric calculation in a matrix for a static binary undirected network.

Description

The C++ function colsum_Mat() calculates the sum of each column in a matrix in a static binary undirected network.

Usage

colsum_Mat(M)

Arguments

M

A matrix of numeric type.

Value

Returns a vector as the sum of each column in the input matrix.