Changeset 79 for distools/kem.m


Ignore:
Timestamp:
07/23/13 12:22:18 (11 years ago)
Author:
bduin
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • distools/kem.m

    r18 r79  
    4747%
    4848% SEE ALSO
    49 % MAPPINGS, DATASETS, PE_EM, AUGPSEM, PCA, PE_PCA, PE_SPEC, GETSIG, SETSIG
     49% MAPPINGS, DATASETS, PE_EM, AUGPSEM, PCAM, PE_PCA, PE_SPEC, GETSIG, SETSIG
    5050%
    5151% LITERATURE
     
    7373
    7474if nargin < 1 | isempty(d),
    75   W = mapping(mfilename,{alf,pzero,prec});
     75  W = prmapping(mfilename,{alf,pzero,prec});
    7676  W = setname(W,'PE embedding');
    7777  return
     
    146146  data.eval = L(J);          % Eigenvalues
    147147 
    148   W = mapping(mfilename,'trained',data,[],m,length(J));
     148  W = prmapping(mfilename,'trained',data,[],m,length(J));
    149149  W = setname(W,'PE embedding');
    150150  return
     
    204204% Determine the mapping depending on pzero
    205205if pzero == 0,
    206   W = mapping(mfilename,'trained',data,[],m,sum(sig));
     206  W = prmapping(mfilename,'trained',data,[],m,sum(sig));
    207207else
    208208  data.mdis = +d(:,pzero)';
    209   W = mapping(mfilename,'trained',data,[],m,sum(sig));
     209  W = prmapping(mfilename,'trained',data,[],m,sum(sig));
    210210end
    211211W = setname(W,'PE embedding');
Note: See TracChangeset for help on using the changeset viewer.