Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

TMat2 Class Reference

#include <Mat2.h>

List of all members.

Public Members

 TMat2 ()
 TMat2 (TMReal a, TMReal b, TMReal c, TMReal d)
 TMat2 (const TMat2 &m)
 TMat2 (ZeroOrOne k)
 TMat2 (Block k)
Int Rows () const
Int Cols () const
TMVec2& operator[] (Int i)
const TMVec2& operator[] (Int i) const
TMReal* Ref () const
TMat2& operator= (const TMat2 &m)
TMat2& operator= (ZeroOrOne k)
TMat2& operator= (Block k)
TMat2& operator+= (const TMat2 &m)
TMat2& operator-= (const TMat2 &m)
TMat2& operator *= (const TMat2 &m)
TMat2& operator *= (TMReal s)
TMat2& operator/= (TMReal s)
Bool operator== (const TMat2 &m) const
Bool operator!= (const TMat2 &m) const
TMat2 operator+ (const TMat2 &m) const
TMat2 operator- (const TMat2 &m) const
TMat2 operator- () const
TMat2 operator * (const TMat2 &m) const
TMat2 operator * (TMReal s) const
TMat2 operator/ (TMReal s) const
Void MakeZero ()
Void MakeDiag (TMReal k = vl_one)
Void MakeBlock (TMReal k = vl_one)
TMat2& MakeRot (Real theta)
TMat2& MakeScale (const TMVec2 &s)

Protected Members

TMVec2 row [2]


Detailed Description

Definition at line 21 of file Mat2.h.


Constructor & Destructor Documentation

TMat2::TMat2 () [inline]

Definition at line 130 of file Mat2.h.

TMat2::TMat2 (TMReal a, TMReal b, TMReal c, TMReal d) [inline]

Definition at line 134 of file Mat2.h.

TMat2::TMat2 (const TMat2 & m) [inline]

Definition at line 140 of file Mat2.h.

TMat2::TMat2 (ZeroOrOne k) [inline]

Definition at line 165 of file Mat2.h.

TMat2::TMat2 (Block k) [inline]

Definition at line 170 of file Mat2.h.


Member Function Documentation

Int TMat2::Cols () const [inline]

Definition at line 36 of file Mat2.h.

Void TMat2::MakeBlock (TMReal k = vl_one) [inline]

Definition at line 159 of file Mat2.h.

Void TMat2::MakeDiag (TMReal k = vl_one) [inline]

Definition at line 153 of file Mat2.h.

TMat2 & TMat2::MakeRot (Real theta)

Definition at line 111 of file Mat2.cc.

TMat2 & TMat2::MakeScale (const TMVec2 & s)

Definition at line 129 of file Mat2.cc.

Void TMat2::MakeZero () [inline]

Definition at line 147 of file Mat2.h.

TMReal * TMat2::Ref () const [inline]

Definition at line 125 of file Mat2.h.

Int TMat2::Rows () const [inline]

Definition at line 35 of file Mat2.h.

TMat2 TMat2::operator * (TMReal s) const [inline]

Definition at line 287 of file Mat2.h.

TMat2 TMat2::operator * (const TMat2 & m) const [inline]

Definition at line 267 of file Mat2.h.

TMat2 & TMat2::operator *= (TMReal s) [inline]

Definition at line 220 of file Mat2.h.

TMat2 & TMat2::operator *= (const TMat2 & m) [inline]

Definition at line 213 of file Mat2.h.

Bool TMat2::operator!= (const TMat2 & m) const

Definition at line 24 of file Mat2.cc.

TMat2 TMat2::operator+ (const TMat2 & m) const [inline]

Definition at line 237 of file Mat2.h.

TMat2 & TMat2::operator+= (const TMat2 & m) [inline]

Definition at line 197 of file Mat2.h.

TMat2 TMat2::operator- () const [inline]

Definition at line 257 of file Mat2.h.

TMat2 TMat2::operator- (const TMat2 & m) const [inline]

Definition at line 247 of file Mat2.h.

TMat2 & TMat2::operator-= (const TMat2 & m) [inline]

Definition at line 205 of file Mat2.h.

TMat2 TMat2::operator/ (TMReal s) const [inline]

Definition at line 297 of file Mat2.h.

TMat2 & TMat2::operator/= (TMReal s) [inline]

Definition at line 228 of file Mat2.h.

TMat2 & TMat2::operator= (Block k) [inline]

Definition at line 182 of file Mat2.h.

TMat2 & TMat2::operator= (ZeroOrOne k) [inline]

Definition at line 175 of file Mat2.h.

TMat2 & TMat2::operator= (const TMat2 & m) [inline]

Definition at line 189 of file Mat2.h.

Bool TMat2::operator== (const TMat2 & m) const

Definition at line 19 of file Mat2.cc.

const TMVec2 & TMat2::operator[] (Int i) const [inline]

Definition at line 119 of file Mat2.h.

TMVec2 & TMat2::operator[] (Int i) [inline]

Definition at line 113 of file Mat2.h.


Member Data Documentation

TMVec2 TMat2::row[2] [protected]

Definition at line 81 of file Mat2.h.


The documentation for this class was generated from the following files:
Generated at Sat Aug 5 00:16:50 2000 for Class Library by doxygen 1.1.0 written by Dimitri van Heesch, © 1997-2000