R2 Class Reference

#include <Rn.h>

Public Member Functions

R2 operator* (R c) const
 
R2 operator*= (R c)
 
R2 operator+ () const
 
R2 operator+ (R2 P) const
 
R2 operator+= (R2 P)
 
operator, (R2 P) const
 
R2 operator- () const
 
R2 operator- (R2 P) const
 
R2 operator-= (R2 P)
 
R2 operator/ (R c) const
 
R2 operator/= (R c)
 
R & operator[] (int i)
 
operator^ (R2 P) const
 
R2 orthogonal ()
 
 R2 ()
 
 R2 (R a, R b)
 
 R2 (R2 A, R2 B)
 

Public Attributes

x
 
y
 

Friends

R2 operator* (R c, R2 P)
 
std::ostream & operator<< (std::ostream &f, const R2 &P)
 
std::ostream & operator<< (std::ostream &f, const R2 *P)
 
std::istream & operator>> (std::istream &f, R2 &P)
 
std::istream & operator>> (std::istream &f, R2 *P)
 

Constructor & Destructor Documentation

◆ R2() [1/3]

R2::R2 ( )

◆ R2() [2/3]

R2::R2 ( a,
b 
)

◆ R2() [3/3]

R2::R2 ( R2  A,
R2  B 
)

Member Function Documentation

◆ operator*()

R2 R2::operator* ( c) const

References R2().

◆ operator*=()

R2 R2::operator*= ( c)

◆ operator+() [1/2]

R2 R2::operator+ ( ) const

◆ operator+() [2/2]

R2 R2::operator+ ( R2  P) const

References R2(), x, and y.

◆ operator+=()

R2 R2::operator+= ( R2  P)

References x, and y.

◆ operator,()

R R2::operator, ( R2  P) const

References x, and y.

◆ operator-() [1/2]

R2 R2::operator- ( ) const

References R2().

◆ operator-() [2/2]

R2 R2::operator- ( R2  P) const

References R2(), x, and y.

◆ operator-=()

R2 R2::operator-= ( R2  P)

References x, and y.

◆ operator/()

R2 R2::operator/ ( c) const

References R2().

◆ operator/=()

R2 R2::operator/= ( c)

◆ operator[]()

R & R2::operator[] ( int  i)

◆ operator^()

R R2::operator^ ( R2  P) const

References x, and y.

◆ orthogonal()

R2 R2::orthogonal ( )

References R2().

Friends And Related Function Documentation

◆ operator*

R2 operator* ( c,
R2  P 
)
friend

◆ operator<< [1/2]

std::ostream & operator<< ( std::ostream &  f,
const R2 P 
)
friend

◆ operator<< [2/2]

std::ostream & operator<< ( std::ostream &  f,
const R2 P 
)
friend

◆ operator>> [1/2]

std::istream & operator>> ( std::istream &  f,
R2 P 
)
friend

◆ operator>> [2/2]

std::istream & operator>> ( std::istream &  f,
R2 P 
)
friend

Member Data Documentation

◆ x

◆ y


The documentation for this class was generated from the following file: