Revision 1109

trunk/src/df1b2-separable/df1b2fn3.cpp (revision 1109)
2 2
 * $Id$
3 3
 *
4 4
 * Author: David Fournier
5
 * Copyright (c) 2008-2012 Regents of the University of California 
5
 * Copyright (c) 2008-2012 Regents of the University of California
6 6
 */
7 7
/**
8 8
 * \file
trunk/src/df1b2-separable/df1b2fn5.cpp (revision 1109)
2 2
 * $Id$
3 3
 *
4 4
 * Author: David Fournier
5
 * Copyright (c) 2008-2012 Regents of the University of California 
5
 * Copyright (c) 2008-2012 Regents of the University of California
6 6
 */
7 7
/**
8 8
 * \file
trunk/src/df1b2-separable/df32fun.cpp (revision 1109)
2 2
 * $Id$
3 3
 *
4 4
 * Author: David Fournier
5
 * Copyright (c) 2008-2012 Regents of the University of California 
5
 * Copyright (c) 2008-2012 Regents of the University of California
6 6
 */
7 7
/**
8 8
 * \file
......
84 84
 */
85 85
 dvector value(const df3_two_vector& v)
86 86
 {
87
   
88 87
   int mmin=v.indexmin();
89 88
   int mmax=v.indexmax();
90 89
   dvector cv(mmin,mmax);
......
94 93
   }
95 94
   return cv;
96 95
 }
97
   
96

  
98 97
/**
99 98
 * Description not yet available.
100 99
 * \param
......
143 142
    }
144 143
    if ( (shape=new vector_shapex(min,max,v)) == NULL)
145 144
    {
146
      cerr << "Error trying to allocate memory for df3_two_vector" 
145
      cerr << "Error trying to allocate memory for df3_two_vector"
147 146
           << endl;;
148 147
      ad_exit(1);
149 148
    }
150 149
    v-=min;
151 150
  }
152
  
151

  
153 152
/**
154 153
 * Description not yet available.
155 154
 * \param
......
161 160
    v=0;
162 161
    shape=0;
163 162
  }
164
    
163

  
165 164
/**
166 165
 * Description not yet available.
167 166
 * \param
168 167
 */
169 168
 dmatrix value(const df3_two_matrix& v)
170 169
 {
171
   
172 170
   int rmin=v.indexmin();
173 171
   int rmax=v.indexmax();
174 172
   dmatrix cm(rmin,rmax);
......
176 174
   {
177 175
     int cmin=v(i).indexmin();
178 176
     int cmax=v(i).indexmax();
179
     cm(i).allocate(cmin,cmax); 
177
     cm(i).allocate(cmin,cmax);
180 178
     for (int j=cmin;j<=cmax;j++)
181 179
     {
182 180
       cm(i,j)=value(v(i,j));
......
184 182
   }
185 183
   return cm;
186 184
 }
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff