Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

# Tools/Math/Matrix2x2.cpp

Go to the documentation of this file.

    00001 /**
    00002  * @file Matrix2x2.cpp
    00003  * For future implementation of a RotationMatrix2x2
    00004  *
    00005  * @author <a href=mailto:Kai_Engel@gmx.de>Kai Engel</a>
    00006  */
    00007
    00008 #include "Matrix2x2.h"
    00009
    00010 template <class V> In& operator>>(In& stream, Matrix2x2<V>& matrix2x2)
    00011 {
    00012   stream >> matrix2x2.c[0];
    00013   stream >> matrix2x2.c[1];
    00014   return stream;
    00015 }
    00016
    00017 template <class V> Out& operator<<(Out& stream, const Matrix2x2<V>& matrix2x2)
    00018 {
    00019   stream << matrix2x2.c[0];
    00020   stream << matrix2x2.c[1];
    00021   return stream;
    00022 }