Changeset 3199 in Sophya for trunk/Cosmo/SimLSS/geneutils.cc
- Timestamp:
- Apr 5, 2007, 7:19:06 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cosmo/SimLSS/geneutils.cc
r3196 r3199 92 92 93 93 int InverseFunc::ComputeLinear(long n,vector<double>& xfcty) 94 // Compute table "xfcty" by linear interpolation of "x" versus "y" 95 // on "n" points from "ymin" to "ymax": 96 // xfcty[i] = interpolation of function "x" for "ymin+i*(ymax-ymin)/(n-1.)" 94 97 { 95 98 if(n<3) return -1;
Note:
See TracChangeset
for help on using the changeset viewer.