-
3.41.0
|
Functor for the NORMLIN projector. More...
Public Member Functions | |
function | normlin (shape, varargin) |
Public Member Functions inherited from matfaust::proj::proj_gen | |
function | subsref (self, S) |
Additional Inherited Members | |
Protected Attributes inherited from matfaust::proj::proj_gen | |
Property | constraint |
Functor for the NORMLIN projector.
A, the image matrix, is defined by \( \forall i \in \{1,\ldots,shape(1)\} \) the i-th row \( A_{i,*} \) is such that \( \| A_{i, *} \|_2 = s \).
Example
function matfaust::proj::normlin::normlin | ( | shape | , |
varargin | |||
) |
Usage
normlin(shape, s): returns a NORMLIN projector (functor), shape defines the size of the input matrix (e.g. [1, 10]), s defines the sparsity of the output matrix (the 2-norm of each row).
shape | vector of size 2, to define the size of the input matrix. |
's',value | (optional) the sparsity parameter, the 2-norm of the row (1 by default). |
normlin | projector |