Skip to content
TooN - Tom's Object Oriented Numerics library
C++ Other
Latest commit 32cb582 Edward Rosten Declare TooN vectors with named elements.
Code example:

 #include <TooN/TooN.h>
 #include <TooN/named_elements.h>

 TOON_MAKE_NAMED_ELEMENT_VECTOR(CMYK, c, m, y, k);
 TOON_MAKE_NAMED_ELEMENT_VECTOR(RGB, r, g, b);

 ...

 RGB<> color  = Ones;
 CMYK<int> other_color;

 //Meaningless calculation demonstrating that they're vectors:
 color * project(other_color);
Failed to load latest commit information.
benchmark Generaton of symmetric solvers.
doc Declare TooN vectors with named elements.
functions Change license to 2 clause BSD
internal Switch to C++14 and replace TOON_DEPRECATED with [[deprecated]]
m4 Switch to C++14 and replace TOON_DEPRECATED with [[deprecated]]
optimization Change license to 2 clause BSD
regressions Make std::swap work
test Add some test code.
.gitignore Update gitignore
COPYING Change license to 2 clause BSD
Cholesky.h Change license to 2 clause BSD
Doxyfile Version bump
GR_SVD.h Change license to 2 clause BSD
LU.h Change license to 2 clause BSD
Lapack_Cholesky.h Change license to 2 clause BSD
Makefile.in Make std::swap work
QR.h Change license to 2 clause BSD
QR_Lapack.h Change license to 2 clause BSD
README.md Change to markdown
SVD.h Change license to 2 clause BSD
SymEigen.h Added missing(?) using directive.
TODO .diagonal_slice()
TooN.h Switch to C++14 and replace TOON_DEPRECATED with [[deprecated]]
TooN.pc Update documentation.
TooN.pc.in Added missing file.
configure Switch to C++14 and replace TOON_DEPRECATED with [[deprecated]]
configure.ac Switch to C++14 and replace TOON_DEPRECATED with [[deprecated]]
determinant.h Change license to 2 clause BSD
gauss_jordan.h Change license to 2 clause BSD
gaussian_elimination.h Change license to 2 clause BSD
generated.h Removed externally generated code for Cholesky.
helpers.h Update some comments.
irls.h Change license to 2 clause BSD
lapack.h Change license to 2 clause BSD
make_data_functions.awk Fill matrices from data in a less objectionable way.
make_make_vector.awk namespace TooN included
make_typeof.awk Update operators to use results of expressions as the return type.
named_elements.h Declare TooN vectors with named elements.
numdiff.awk Remove POSIX character classes in make test.
se2.h Change license to 2 clause BSD
se3.h Change license to 2 clause BSD
sim2.h Change license to 2 clause BSD
sim3.h Change license to 2 clause BSD
sl.h Change license to 2 clause BSD
so2.h Construct SO(2) from Identity
so3.h Fix intermediate rotations in SO3 constructor
wls.h Change license to 2 clause BSD

README.md

TooN

Compiling and installing

To install on a unix system:

./configure && make && sudo make install

To verify that everything works, you can optioinally run

make test

If you use any LAPACK based features (SVD.h, LU.h, QR_Lapack.h, SymEigen.h, Lapack_Cholesky.h) you will need to link against LAPACK, probably using -llapack and perhaps -lblas.

System compatibility

The code is ready to go and should work on any system (unix or non-unix) without configuring or compiling.

Documentation

For further details, make the documentation with Doxygen, or go to http://www.edwardrosten.com/cvd/toon/html-user/index.html

Status of unit tests

Build Status

Something went wrong with that request. Please try again.