Changeset 79 for distools/sphem.m
- Timestamp:
- 07/23/13 12:22:18 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
distools/sphem.m
r10 r79 62 62 if nargin < 2 | isempty(R), R = 1; end 63 63 if nargin < 1 | isempty(d), 64 W = mapping(mfilename,{R,alf,prec});64 W = prmapping(mfilename,{R,alf,prec}); 65 65 W = setname(W,'Spherical embedding'); 66 66 return … … 82 82 W = R^2*(cos(+d/R)) * Q * diag(sqrt(abs(L))./L); 83 83 if isdataset(d), 84 W = dataset(W,getlab(d),'prior',getprior(d));84 W = prdataset(W,getlab(d),'prior',getprior(d)); 85 85 86 86 % Store signature in the USER field … … 109 109 L = L(J); % Eigenvalues 110 110 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)); 112 112 W = setname(W,'Spherical embedding'); 113 113 return … … 150 150 Q = Q(:,J); % Eigenvectors 151 151 152 W = mapping(mfilename,'trained',{R,Q,L,sig,prec},[],m,sum(sig));152 W = prmapping(mfilename,'trained',{R,Q,L,sig,prec},[],m,sum(sig)); 153 153 W = setname(W,'Spherical embedding'); 154 154 return
Note: See TracChangeset
for help on using the changeset viewer.