# include <math.h>
# else
# include <cmath>
+# if !(defined(_MSC_VER) && _MSC_VER <= 1200)
+ using std::sqrt;
+# endif
# endif
using std::ostream;
using std::istream;
using std::cerr;
using std::cout;
using std::endl;
-# if !(defined(_MSC_VER) && _MSC_VER <= 1200)
- using std::sqrt;
-# endif
# endif
using std::string;
#endif
CLASS DOCUMENTATION
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
-/** This class implements a 3 dimensional vector.
+/** This class implements a 3 element column vector.
@author Jon S. Berndt, Tony Peden, et. al.
@version $Id$
*/
@param idx the component index.
Return the value of the matrix entry at the given index.
Indices are counted starting with 1.
- This function is just a shortcut for the @ref double
- operator()(unsigned int idx) const function. It is
+ This function is just a shortcut for the <tt>double
+ operator()(unsigned int idx) const</tt> function. It is
used internally to access the elements in a more convenient way.
Note that the index given in the argument is unchecked. */
double Entry(unsigned int idx) const { return data[idx-1]; }
@param idx the component index.
Return a reference to the vector entry at the given index.
Indices are counted starting with 1.
- This function is just a shortcut for the @ref double&
- operator()(unsigned int idx) function. It is
+ This function is just a shortcut for the <tt>double&
+ operator()(unsigned int idx)</tt> function. It is
used internally to access the elements in a more convenient way.
Note that the index given in the argument is unchecked. */
double& Entry(unsigned int idx) { return data[idx-1]; }
FGColumnVector3 operator/(const double scalar) const;
/** Cross product multiplication.
- @param v vector to multiply with.
+ @param V vector to multiply with.
@return The resulting vector from the cross product multiplication.
Compute and return the cross product of the current vector with
the given argument. */