Changeset 79 for distools/sphem.m


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

Legend:

Unmodified
Added
Removed
  • distools/sphem.m

    r10 r79  
    6262if nargin < 2 | isempty(R), R = 1; end
    6363if nargin < 1 | isempty(d),
    64   W = mapping(mfilename,{R,alf,prec});
     64  W = prmapping(mfilename,{R,alf,prec});
    6565  W = setname(W,'Spherical embedding');
    6666  return
     
    8282    W = R^2*(cos(+d/R)) * Q * diag(sqrt(abs(L))./L);
    8383    if isdataset(d),
    84       W = dataset(W,getlab(d),'prior',getprior(d));
     84      W = prdataset(W,getlab(d),'prior',getprior(d));
    8585
    8686      % Store signature in the USER field
     
    109109  L = L(J);          % Eigenvalues
    110110
    111   W = mapping(mfilename,'trained',{R,Q,L,pars{4},pars{5}},[],m,length(J));
     111  W = prmapping(mfilename,'trained',{R,Q,L,pars{4},pars{5}},[],m,length(J));
    112112  W = setname(W,'Spherical embedding');
    113113  return
     
    150150Q = Q(:,J);                   % Eigenvectors
    151151
    152 W = mapping(mfilename,'trained',{R,Q,L,sig,prec},[],m,sum(sig));
     152W = prmapping(mfilename,'trained',{R,Q,L,sig,prec},[],m,sum(sig));
    153153W = setname(W,'Spherical  embedding');
    154154return
Note: See TracChangeset for help on using the changeset viewer.