Learn R Programming

TaxicabCA (version 0.1.1)

ComputeLambda: L1 norm of a projection

Description

L1 norm of a projection

Usage

ComputeLambda(uFT, pResidual)

Arguments

uFT

A vector of 0s and 1s of lenght nc: (-1)^uFT is a unit vector in Linf norm

pResidual

A matrix with nc columns

Value

L1 norm of the pResidual x (-1)^uFT

Details

This function is for internal usage only.

Examples

Run this code
# NOT RUN {
ComputeLambda(uFT=c(FALSE,TRUE,FALSE),pResidual=matrix(1:15,nr=5,nc=3))

# }

Run the code above in your browser using DataLab