proj_hs {mig}R 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


[Package mig version 2.0 Index]