matrix_utilities.hpp

00001 // This file is part of the imaging2 class library.
00002 //
00003 // University of Innsbruck, Infmath Imaging, 2009.
00004 // http://infmath.uibk.ac.at
00005 //
00006 // All rights reserved.
00007 
00008 
00009 #ifndef CORE_MATRIXUTILITIES_H
00010 #define CORE_MATRIXUTILITIES_H
00011 
00012 #include <core/imaging2.hpp>
00013 
00014 namespace imaging
00015 {
00021   float_t determinant(const ublas::fixed_matrix<float_t, 2, 2> & A);
00022   
00028   ublas::fixed_matrix<float_t, 2, 2> inverse(const ublas::fixed_matrix<float_t, 2, 2> & A);
00029   
00035   float_t determinant(const ublas::fixed_matrix<float_t, 3, 3> & A);
00036   
00042   ublas::fixed_matrix<float_t, 3, 3> inverse(const ublas::fixed_matrix<float_t, 3, 3> & A);
00043 
00049   ublas::fixed_matrix<float_t, 1, 1> inverse(const ublas::fixed_matrix<float_t, 1, 1> & A);
00050   
00051   
00065   ublas::fixed_matrix<float_t, 2, 2> rotation_matrix(float_t alpha);
00066 }
00067 
00068 #endif

Generated on Tue Feb 10 10:01:29 2009 for imaging2 by  doxygen 1.5.5