Changeset 0dd5bc2a in tol for tol_pkg/FunRn2R/BaseC2.tol
- Timestamp:
- Dec 9, 2009, 8:53:28 AM (17 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 0fc887a
- Parents:
- 8210abe
- File:
-
- 1 edited
-
tol_pkg/FunRn2R/BaseC2.tol (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol_pkg/FunRn2R/BaseC2.tol
r8210abe r0dd5bc2a 49 49 SubCol( _build.partial.derivative.2.m(X,i,j),[[k]]) 50 50 }; 51 //Evaluates the partial integration of k-th basic function for an 52 //array of points given as the rows of a matrix 53 VMatrix _build.partial.integrate.1.v(Real k, VMatrix X, Real i) 54 { 55 //WriteLn("TRACE @BaseC2::_build.partial.derivative.1.v"); 56 SubCol( _build.partial.integrate.1.m(X,i),[[k]]) 57 }; 51 58 52 59 //Evaluates all basic functions, one in each returned column, for an … … 82 89 })) 83 90 }; 91 //Evaluates the first partial integration of all basic functions, one in 92 //each returned column, for an array of points given as the rows of a 93 //matrix 94 VMatrix _build.partial.integrate.1.m(VMatrix X, Real i) 95 { 96 //WriteLn("TRACE @BaseC2::_build.partial.derivative.1.m"); 97 Group("ConcatColumns", For(1,_.K,VMatrix(Real k) 98 { 99 _build.partial.integrate.1.v(k, X, i) 100 })) 101 }; 84 102 //Some bases are more efficient using cache 85 103 Real _build.cache(VMatrix X, Real order) { False }; … … 110 128 _build.partial.derivative.2.v(k, X, i, j) 111 129 }; 130 //Evaluates the first partial integration of k-th basic function for an 131 //array of points given as the rows of a matrix 132 VMatrix partial.integrate.1.v(Real k, VMatrix X, Real i) 133 { 134 //WriteLn("TRACE @BaseC2::partial.derivative.1.v"); 135 _build.partial.integrate.1.v(k, X, i) 136 }; 112 137 113 138 //Evaluates all basic functions, one in each returned column, for an … … 135 160 }; 136 161 162 //Evaluates the first partial integration of all basic functions, one in 163 //each returned column, for an array of points given as the rows of a 164 //matrix 165 VMatrix partial.integrate.1.m(VMatrix X, Real i) 166 { 167 //WriteLn("TRACE @BaseC2::partial.derivative.1.m"); 168 _build.partial.integrate.1.m(X, i) 169 }; 137 170 //Some bases are more efficient using cache 138 171 Real upgrade.cache(VMatrix X, Real order) 139 172 { _build.cache(X,order) } 140 141 142 173 }; 143
Note: See TracChangeset
for help on using the changeset viewer.
