dist_mat: Compute 'distances' among $n$ lines

Description Usage Arguments Value

Description

Creates a matrix specifying how difference indices are among an ordered set of indices. For lines with indices i and j, the 'distance' computed is |i -j|. Results are used to define covariance.

Usage

1
dist_mat(n_lines)

Arguments

n_lines

number of lines in matrix

Value

Matrix of ‘distances’ among the indices


IceCast documentation built on June 24, 2019, 9:03 a.m.