elk: Calculation of e matrices

Description Usage Arguments Value Examples

View source: R/util.R

Description

elk generates the e matrices.

Usage

1
elk(n, p)

Arguments

n

the number of rows

p

the numbwr of columns

Value

A list of e matrices. el1 is the matrix of el1 in the paper, which is constructed by column matrix ei. ei is an n-dimensional vector with each component being 0 but its i-th component being 1.

el2 is the matrix of el2 in the paper, which is constructed by column matrix ei. ei is an n-dimensional vector with each component being 0 but its i-th component being 1.

ek1 is the matrix of ek1 in the paper, which is constructed by column matrix ei. ei is an p-dimensional vector with each component being 0 but its i-th component being 1.

ek2 is the matrix of ek2 in the paper, which is constructed by column matrix ei. ei is an p-dimensional vector with each component being 0 but its i-th component being 1.

Examples

1
elk(4,3)

sakuramomo1005/biADMM documentation built on March 25, 2021, 1:38 p.m.