Index

C++ Code Documentation

template <class A> math::Matrix2

Derived from: math::matrixX

File: BASE/math/Matrix2.H

2-by-2 matrices with R^2 functionality.

public:
  • Matrix2();
    void constructor
  • Matrix2( Matrix2 const &a );
    copy constructor
  • Matrix2( A const *a );
    constructor
  • ~Matrix2();
    destructor
  • Matrix2 & operator=( Matrix2<A> const & );
    assignment operators
  • Matrix2 & operator=( A const *a );
  • int rotation( Vector2<A> const &axis, A angle );
    sets *this to a rotation matrix with axis "axis", and rotation angle "angle"
  • int reflection( Vector2<A> const &normal );
  • void inversion();
  • friend class Vector2<A>;
protected:
private:


template <class A> math::Matrix2 GANG