volnmf_simplex_row: Update of a matrix in NMF with equality contstraints on rows.

View source: R/update_simplex.R

volnmf_simplex_rowR Documentation

Update of a matrix in NMF with equality contstraints on rows.

Description

volnmf_simplex_row finds non-negative matrix C that minimizes the objective ||X-C*R||^2 under constraints that rows of C equal to 1 using per-row quadratic programming.

Usage

volnmf_simplex_row(X, R, C.prev = NULL, meq = 1)

Arguments

X

Numeric Matrices. Matrices involved in the objective function.

R

Numeric Matrices. Matrices involved in the objective function.

C.prev

Numeric Matrices. Matrices involved in the objective function. Matrix C.prev serves as initialization. (default=NULL)

meq

An integer 0 or 1. Require equality (meq=1) or inequality (meq=0) constratint on rows (by default 1).

Value

An updated matrix C.


vrnmf documentation built on March 18, 2022, 6:11 p.m.