inner_product_phi: Represent <x'(phi)_i, x'(phi)_j> as a quadratic function in...

View source: R/trunc_sets.R

inner_product_phiR Documentation

Represent <x'(phi)_i, x'(phi)_j> as a quadratic function in phi —-

Description

Represent <x'(phi)_i, x'(phi)_j> as a quadratic function in phi —-

Usage

inner_product_phi(X, v, i, j)

Arguments

X,

matrix n by p

v,

contrast vector n by 1

i,

first index

j,

second index

Value

parameters: a, b, c the coefficients of the quadratic equation such that (ax^2 + bx + c <= 0)


yiqunchen/KmeansInference documentation built on June 4, 2022, 1:20 p.m.