ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/math/Polynomial.hpp
(Generate patch)

Comparing:
trunk/src/math/Polynomial.hpp (file contents), Revision 1442 by gezelter, Mon May 10 17:28:26 2010 UTC vs.
branches/development/src/math/Polynomial.hpp (file contents), Revision 1773 by gezelter, Tue Aug 7 18:26:40 2012 UTC

# Line 36 | Line 36
36   * [1]  Meineke, et al., J. Comp. Chem. 26, 252-271 (2005).            
37   * [2]  Fennell & Gezelter, J. Chem. Phys. 124, 234104 (2006).          
38   * [3]  Sun, Lin & Gezelter, J. Chem. Phys. 128, 24107 (2008).          
39 < * [4]  Vardeman & Gezelter, in progress (2009).                        
39 > * [4]  Kuang & Gezelter,  J. Chem. Phys. 133, 164101 (2010).
40 > * [5]  Vardeman, Stocker & Gezelter, J. Chem. Theory Comput. 7, 834 (2011).
41   */
42  
43   /**
# Line 273 | Line 274 | namespace OpenMD {
274       * @return the first derivative of this polynomial
275       */
276      PolynomialType & getDerivative() {
277 <      Polynomial<Real> p();
277 >      Polynomial<Real> p;
278        
279        typename Polynomial<Real>::const_iterator i;
280        ExponentType exponent;
# Line 630 | Line 631 | namespace OpenMD {
631     */
632    template<typename Real>
633    Polynomial<Real> getDerivative(const Polynomial<Real>& p1) {
634 <    Polynomial<Real> p();
634 >    Polynomial<Real> p;
635      
636      typename Polynomial<Real>::const_iterator i;
637      int exponent;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines