#include <Rn.h>
Public Member Functions | |
| R2 () | |
| R2 (R a, R b) | |
| R2 (R2 A, R2 B) | |
| R2 | operator+ (R2 P) const |
| R2 | operator+= (R2 P) |
| R2 | operator- (R2 P) const |
| R2 | operator-= (R2 P) |
| R2 | operator- () const |
| R2 | operator+ () const |
| R | operator, (R2 P) const |
| R | operator^ (R2 P) const |
| R2 | operator* (R c) const |
| R2 | operator*= (R c) |
| R2 | operator/ (R c) const |
| R2 | operator/= (R c) |
| R & | operator[] (int i) |
| R2 | orthogonal () |
Data Fields | |
| R | x |
| R | y |
Friends | |
| std::ostream & | operator<< (std::ostream &f, const R2 &P) |
| std::istream & | operator>> (std::istream &f, R2 &P) |
| std::ostream & | operator<< (std::ostream &f, const R2 *P) |
| std::istream & | operator>> (std::istream &f, R2 *P) |
| R2 | operator* (R c, R2 P) |
| R2::R2 | ( | ) |
Referenced by operator*(), operator+(), operator-(), operator/(), and orthogonal().
| R2 R2::operator+ | ( | ) | const |
|
friend |
|
friend |
|
friend |
|
friend |
| R R2::x |