ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/openbabel/matrix3x3.cpp
(Generate patch)

Comparing trunk/src/openbabel/matrix3x3.cpp (file contents):
Revision 741 by tim, Wed Nov 16 19:42:11 2005 UTC vs.
Revision 1081 by gezelter, Thu Oct 19 20:49:05 2006 UTC

# Line 41 | Line 41 | namespace OpenBabel
41   Rotating points in space can be performed by a vector-matrix
42   multiplication. The matrix3x3 class is designed as a helper to the
43   vector3 class for rotating points in space. The rotation matrix may be
44 < initialised by passing in the array of doubleing point values, by
44 > initialised by passing in the array of floating point values, by
45   passing euler angles, or a rotation vector and angle of rotation about
46   that vector. Once set, the matrix3x3 class can be used to rotate
47   vectors by the overloaded multiplication operator. The following
# Line 102 | Line 102 | void matrix3x3::SetupRotMat(double phi,double theta,do
102    generate the 0-matrix. If the length of the axis is close to
103    zero, but not == 0.0, this method may behave in unexpected
104    ways and return almost random results; details may depend on
105 <  your particular doubleing point implementation. The use of this
105 >  your particular floating point implementation. The use of this
106    method is therefore highly discouraged, unless you are certain
107    that the length is in a reasonable range, away from 0.0
108    (Stefan Kebekus)
# Line 137 | Line 137 | void matrix3x3::PlaneReflection(const vector3 &norm)
137    generate the 0-matrix. If the length of the axis is close to
138    zero, but not == 0.0, this method may behave in unexpected ways
139    and return almost random results; details may depend on your
140 <  particular doubleing point implementation. The use of this method
140 >  particular floating point implementation. The use of this method
141    is therefore highly discouraged, unless you are certain that the
142    length is in a reasonable range, away from 0.0 (Stefan
143    Kebekus)
# Line 289 | Line 289 | vector3 &vector3::operator *= (const matrix3x3 &m)
289          
290    \warning If the determinant is close to zero, but not == 0.0,
291    this method may behave in unexpected ways and return almost
292 <  random results; details may depend on your particular doubleing
292 >  random results; details may depend on your particular floating
293    point implementation. The use of this method is therefore highly
294    discouraged, unless you are certain that the determinant is in a
295    reasonable range, away from 0.0 (Stefan Kebekus)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines