Revision 1107 trunk/src/df1b2separable/f1b2vc2.cpp
f1b2vc2.cpp (revision 1107)  

2  2 
* $Id$ 
3  3 
* 
4  4 
* Author: David Fournier 
5 
* Copyright (c) 20082012 Regents of the University of California


5 
* Copyright (c) 20082012 Regents of the University of California 

6  6 
*/ 
7  7 
/** 
8  8 
* \file 
...  ...  
136  136 
df1b2matrix tmp(rmin,rmax); 
137  137 
for (int i=rmin;i<=rmax;i++) 
138  138 
{ 
139 
int cmin=M(i).indexmin();


140 
int cmax=M(i).indexmax();


139 
int cmin=M(i).indexmin(); 

140 
int cmax=M(i).indexmax(); 

141  141 
// need special allocate so that = does not cause an assign. 
142  142 
tmp(i).noallocate(cmin,cmax); 
143  143 
for (int j=cmin;j<=cmax;j++) 
...  ...  
158  158 
int rmax=indexmax(); 
159  159 
for (int i=rmin;i<=rmax;i++) 
160  160 
{ 
161 
int cmin=(*this)(i).indexmin();


162 
int cmax=(*this)(i).indexmax();


161 
int cmin=(*this)(i).indexmin(); 

162 
int cmax=(*this)(i).indexmax(); 

163  163 
// need special allocate so that = does not cause an assign. 
164  164 
for (int j=cmin;j<=cmax;j++) 
165  165 
{ 
...  ...  
180  180 
df1b2matrix tmp(rmin,rmax); 
181  181 
for (int i=rmin;i<=rmax;i++) 
182  182 
{ 
183 
int cmin=M(i).indexmin();


184 
int cmax=M(i).indexmax();


183 
int cmin=M(i).indexmin(); 

184 
int cmax=M(i).indexmax(); 

185  185 
// need special allocate so that = does not cause an assign. 
186  186 
tmp(i).noallocate(cmin,cmax); 
187  187 
for (int j=cmin;j<=cmax;j++) 
...  ...  
204  204 
df1b2matrix tmp(rmin,rmax); 
205  205 
for (int i=rmin;i<=rmax;i++) 
206  206 
{ 
207 
int cmin=M(i).indexmin();


208 
int cmax=M(i).indexmax();


207 
int cmin=M(i).indexmin(); 

208 
int cmax=M(i).indexmax(); 

209  209 
// need special allocate so that = does not cause an assign. 
210  210 
tmp(i).noallocate(cmin,cmax); 
211  211 
for (int j=cmin;j<=cmax;j++) 
...  ...  
228  228 
df1b2matrix tmp(rmin,rmax); 
229  229 
for (int i=rmin;i<=rmax;i++) 
230  230 
{ 
231 
int cmin=M(i).indexmin();


232 
int cmax=M(i).indexmax();


231 
int cmin=M(i).indexmin(); 

232 
int cmax=M(i).indexmax(); 

233  233 
// need special allocate so that = does not cause an assign. 
234  234 
tmp(i).noallocate(cmin,cmax); 
235  235 
for (int j=cmin;j<=cmax;j++) 
...  ...  
252  252 
df1b2matrix tmp(rmin,rmax); 
253  253 
for (int i=rmin;i<=rmax;i++) 
254  254 
{ 
255 
int cmin=M(i).indexmin();


256 
int cmax=M(i).indexmax();


255 
int cmin=M(i).indexmin(); 

256 
int cmax=M(i).indexmax(); 

257  257 
// need special allocate so that = does not cause an assign. 
258  258 
tmp(i).noallocate(cmin,cmax); 
259  259 
for (int j=cmin;j<=cmax;j++) 
...  ...  
271  271 
df1b2matrix tmp(rmin,rmax); 
272  272 
for (int i=rmin;i<=rmax;i++) 
273  273 
{ 
274 
int cmin=M(i).indexmin();


275 
int cmax=M(i).indexmax();


274 
int cmin=M(i).indexmin(); 

275 
int cmax=M(i).indexmax(); 

276  276 
// need special allocate so that = does not cause an assign. 
277  277 
tmp(i).noallocate(cmin,cmax); 
278  278 
for (int j=cmin;j<=cmax;j++) 
Also available in: Unified diff