sumWtDiff: Sum of Weighted Pairwise Outer Differences.

Description Usage Arguments Value Author(s)

Description

Given weights matrix Wt, find sum of weighted pairwise outer product of differences, i.e. sum_i,j Wt_ij(x_i-x_j)(x_i-x_j)^T. Internal use only.

Usage

1
sumWtDiff(Wt, x)

Arguments

Wt

Weight matrix, nrow(x)-by-nrow(x)

x

data matrix, one observation per row.

Value

the weighted sum of outer product of pairwise differences.

Author(s)

Billy Chang


hsicCCA documentation built on May 2, 2019, 7:58 a.m.