SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Sponsored Links

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

SOFTWARE DESCRIPTION

CwMtx is a template library written in C++ that provides the matrix and vector operations that are used extensively in engineering and science problems. This library also implements block matrices by allowing sub-matrices to be mapped into a larger matrix.

A special feature of this library is the Quaternion class which implements quaternion math. Quaternions are very useful for attitude determination in 3D space because they do not suffer from singularities. Furthermore, successive rotations and transformations of vectors can be accomplished by simple quaternion multiplication. Attitude dynamics can be expressed in a very compact form using quaternions.

For more information on quaternions and their applications, see: "Spacecraft attitude determination and control", Edited by James Wertz, D. Reidel Publishing Company, Dordrecht: Holland, Boston: U.S.A., London: England.

INSTALLATION

Extract the tar-file in a suitable directory:

> cd where/you/want/it
> tar xzf cwmtx-x.y.z.tar.gz
or
> gunzip -c cwmtx-x.y.z.tar.gz | tar xf - or
> gzip -cd cwmtx-x.y.z.tar.gz | tar xf -

Change into the new directory cwmtx-x.y.z:

> cd cwmtx-x.y.z

The header files can be installed were you want, but you have to edit the Makefile first. Find the line that reads:

INSTALL_DIR=/home/hkuiper/include/cwmtx

and change the path into the location where you want the headers to be installed. (Probably /usr/local/include is a logical place)

To do the install type:

> make install

Local Variables:
mode: text
fill-column: 78
End:


Sponsored Links

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.