Tiny Vector Matrix library using Expression Templates | Sourceforge Project Page |
For the API documentation you will also need doxygen, maybe you want a graphical class hierarchy, class graph etc you need the 'dot' tool of GraphViz to draw the miscellaneous graphs.
NEW Starting with tvmet version 1.5.0 the configuration options has been changed!
--enable-optimize
TVMET_OPTIMIZE
symbol is defined, which uses the gcc's __attribute__((always_inline))
.
--enable-debug
TVMET_DEBUG
symbol is defined. If you compile tvmet from another source directory which defines DEBUG
, then TVMET_DEBUG
will be not defined (This behavior differs from release less than 0.6.0). Please have a look at the Debugging the code section of the FAQ.
--enable-warnings
--enable-docs
--enable-verbose-latex
--disable-cppunit
--with-cxx=compiler
all
docs
check
install
uninstall
Further more inside the examples
directory there is the target:
examples
At this date the example directory contains simple examples for matrix, vector and matrix-vector operations. Further more some sources which shows the use for expression tree printing (expands the expression tree used).
Files will be installed in the following directories:
Executables -> ${prefix}/bin
Docs -> ${prefix}/share/doc/tvmet-${version}
Man pages -> ${prefix}/man
Header file -> ${prefix}/include/tvmet
Default value for prefix is /usr/local
but you may change it with --prefix
option to the configure
script (see above).
Second, tvmet comes with pre-configured files for the windows compiler. Therefore you don't need to follow the configure and build procedure. An exception is the cygwin and MinGW environment since they emulate the unix environment on windows - they follow the unix style process therefore.
Well, simply copy the tvmet source tree complete or only the include directory to a location of your choice and include the path to your compiler environment. Thats all.
To build the regression tests it's on your own to build support for cppunit and create the appropriate sub-project. tvmet does not deliver Microsoft Visual Studio project files.
If of interest the config file for Visual Studio can be found on tvmet/config/config-vc71.h
. There are all compiler quirks and defines needed.
Author: |