- Timestamp:
- Jan 6, 2010, 11:49:02 PM (17 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- d8d4605
- Parents:
- 9002d5f
- Location:
- tol_pkg/MulVarFunAprox
- Files:
-
- 2 edited
-
DesignC2.tol (modified) (5 diffs)
-
ModelC2.tol (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol_pkg/MulVarFunAprox/DesignC2.tol
r9002d5f rf1a9d95 81 81 82 82 ////////////////////////////////////////////////////////////////////////////// 83 VMatrix build.obs(VMatrix X , VMatrix X.h)83 VMatrix build.obs(VMatrix X) 84 84 ////////////////////////////////////////////////////////////////////////////// 85 85 { … … 88 88 FunRn2R::@BaseC2.Eval.Function::New(get.base(0)); 89 89 Real m = VRows(X); 90 VMatrix X.h=closest.reference.index(X); 90 91 WriteLn("TRACE "+_MID+"1 m="<<m); 91 92 If(!m, Rand(0,_.N,0,0), { … … 133 134 134 135 ////////////////////////////////////////////////////////////////////////////// 135 VMatrix build.obs.partial.derivative.1(VMatrix X, VMatrix X.h,Real s)136 VMatrix build.obs.partial.derivative.1(VMatrix X, Real s) 136 137 ////////////////////////////////////////////////////////////////////////////// 137 138 { … … 142 143 Text _MID = "[@DesignC2::build.obs.partial.derivative.1] "; 143 144 Real m = VRows(X); 145 VMatrix X.h=closest.reference.index(_.X); 144 146 WriteLn("TRACE "+_MID+"1 m="<<m); 145 147 If(!m, Rand(0,_.N,0,0), { … … 342 344 Text _MID = "[@DesignC2::build.decomposition] "; 343 345 WriteLn("TRACE "+_MID+"1"); 344 VMatrix X.h=closest.reference.index(_.X); 345 VMatrix _.QX := build.obs(_.X, X.h); 346 VMatrix _.QX := build.obs(_.X); 346 347 WriteLn("TRACE "+_MID+"2"); 347 348 VMatrix _.QB := build.border.prior(0); -
tol_pkg/MulVarFunAprox/ModelC2.tol
r9002d5f rf1a9d95 137 137 VMatrix X.1 = SubRow(X,X.1.select); 138 138 Real m.1 = VRows(X.1); 139 VMatrix X.1.h = _.design::closest.reference.index(X.1); 140 VMatrix QX.1 = _.design::build.obs(X.1, X.1.h); 139 VMatrix QX.1 = _.design::build.obs(X.1); 141 140 VMatrix F.1 = QX.1*_.alpha; 142 141 Matrix triplet.1 = SetCol(X.1.select)|Rand(m.1,1,1,1)|VMat2Mat(F.1); … … 163 162 VMatrix X.1 = SubRow(X,X.select); 164 163 Real m.1 = VRows(X.1); 165 VMatrix X.1.h = _.design::closest.reference.index(X.1); 166 VMatrix QX.1 = _.design::build.obs.partial.derivative.1(X.1, X.1.h, s); 164 VMatrix QX.1 = _.design::build.obs.partial.derivative.1(X.1, s); 167 165 VMatrix F.1 = QX.1*_.alpha; 168 166 Matrix triplet.1 = SetCol(X.select)|Rand(m.1,1,1,1)|VMat2Mat(F.1);
Note: See TracChangeset
for help on using the changeset viewer.
