Changeset 569 for applications/bdmtoolbox
- Timestamp:
- 08/20/09 00:54:47 (15 years ago)
- Location:
- applications/bdmtoolbox
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/bdmtoolbox/mex/merger.cpp
r568 r569 93 93 } 94 94 catch (UIException &e) { 95 shared_ptr< epdf> g0 = UI::build<epdf> (Cfg, "Support");96 Merger->set_support (* g0, 100);95 shared_ptr<discrete_support> DisSup = UI::build<discrete_support> (Cfg, "Support"); 96 Merger->set_support (*DisSup); 97 97 } 98 98 // COMPUTE RESULTS -
applications/bdmtoolbox/tutorial/merging/merge_grid.m
r568 r569 48 48 49 49 % 2D support 50 type= 0;50 type=1; 51 51 if type==0 52 52 support2.class='rectangular_support'; … … 54 54 support2.gridsizes=[10,10]; 55 55 else 56 support2 =struct('pdf',...57 struct('class','enorm<ldmat>','mu',[1,2],'R',[2 0; 0 2]));58 support2.n samples=[100];56 support2.class='discrete_support'; 57 support2.epdf= struct('class','enorm<ldmat>','mu',[1,2],'R',[2 0; 0 2]); 58 support2.npoints=[100]; 59 59 end 60 60 … … 63 63 64 64 if type==0 65 X=zeros(support2. nbins(1));66 Y=zeros(support2. nbins(1));67 Z=zeros(support2. nbins(1));65 X=zeros(support2.gridsizes(1)); 66 Y=zeros(support2.gridsizes(1)); 67 Z=zeros(support2.gridsizes(1)); 68 68 69 69 X(:)=vy2.support(1,:);