proj_hs: Orthogonal projection matrix onto the half-space

View source: R/bandwidth.R

proj_hsR Documentation

Orthogonal projection matrix onto the half-space

Description

The orthogonal projection matrix P has unit determinant and transforms an n by d matrix by taking x * P. The components of the first column vector of the resulting matrix are strictly positive.

Usage

proj_hs(beta, inv = FALSE)

Arguments

beta

vector defining the half-space

inv

logical; if TRUE, return the inverse matrix

Value

a d by d orthogonal projection matrix


mig documentation built on April 11, 2025, 5:45 p.m.