-
3.41.0
|
Functor for the SPLINCOL projector. More...
Public Member Functions | |
function | splincol (shape, k, 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 SPLINCOL projector.
It's the union of SPLIN and SPCOL projectors.
Usage
splincol(shape, k): returns a SPLINCOL projector (functor), shape defines the size of the input matrix (e.g. [1, 10]), k defines the sparsity of the output matrix (k nnz coefficients per row or per column).
splincol(shape,k,'normalized', bool,'pos', bool): the optional parameters are set. By default both normalized and pos are false.
shape | vector of size 2, to define the size of the input matrix. |
k | the sparsity parameter. |
'normalized',true | normalizes the projection image according to its Frobenius norm. |
'normalized',false | (the default) no normalization. |
'pos',true | skips the negative values (replaced by zero) of the input matrix. |
'pos',false | (the default) negative values are not skipped. |
splincol | projector. |
Example
function matfaust::proj::splincol::splincol | ( | shape | , |
k | , | ||
varargin | |||
) |