Skip to contents

Compute pairwise products v[j] * v[i] for all j < i.

Usage

vector_to_ut(v)

Arguments

v

Numeric vector or single-row matrix

Value

Numeric row vector of pairwise products