23.07.2013 Views

Bilag 1: Helikopterens fysiske egenskaber - SmartData

Bilag 1: Helikopterens fysiske egenskaber - SmartData

Bilag 1: Helikopterens fysiske egenskaber - SmartData

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Template based Vector/Matrix library<br />

Detailed Description<br />

MatrixMxN.h M by N matrix template<br />

Note: : Based on original by Peter Ørbæk.<br />

Todo:<br />

2<br />

<strong>Bilag</strong> 12: Anvendte C++ programmer<br />

extraction of eigenvalues & vectors, computation of matrix rank<br />

Add #ifdefs for disabling use of exceptions<br />

Remarks:<br />

All angles are in Radians<br />

Quaternion.h Routines for using 4-element vectors as quaternions<br />

VectorN.h Vector implementation. Based on original by Peter Ørbæk.<br />

Classes<br />

Typedefs<br />

class Matrix<br />

class Vector<br />

typedef Vector< 4, double > Quatd<br />

typedef Vector< 4, float > Quatf<br />

Enumerations<br />

enum QElements { Q_W, Q_X, Q_Y, Q_Z }<br />

enum Axes { X, Y, Z, W }<br />

Generated on Fri Dec 5 17:09:09 2003 for Autostabilisering af en modelhelikopter by<br />

1.3.4

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!