k_dim_sum: Sum all the values in the third dimension of a three...

Description Usage Arguments

Description

k_dim_sum takes a three dimensional integer vector, fixes the values of the first and second dimensions, and then sums the values of all the entries in the vector with those two values for its first and second dimensions.

Usage

1
k_dim_sum(n, i, j)

Arguments

n

A three dimensional integer vector.

i

An integer that is a valid index of the first dimension of n.

j

An integer that is a valid index of the second dimension of n.


cwcartmell/maRkov documentation built on May 14, 2019, 1:37 p.m.