#include <cassert>
#include <iostream>
#include <vector>
#include "wonton/support/Vector.h"
#include "wonton/support/wonton.h"
Go to the source code of this file.
|
| Wonton |
| Factorize a number N into D equal (or nearly equal) factors.
|
|
|
template<int D> |
std::ostream & | Wonton::operator<< (std::ostream &os, const Point< D > &p) |
|
template<int D> |
WONTON_INLINE Point< D > | Wonton::operator+ (const Point< D > &p, const Vector< D > &v) |
|
template<int D> |
WONTON_INLINE Point< D > | Wonton::operator+ (const Point< D > &p1, const Point< D > &p2) |
|
template<int D> |
WONTON_INLINE Vector< D > | Wonton::operator- (const Point< D > &p1, const Point< D > &p2) |
|
template<int D> |
WONTON_INLINE Point< D > | Wonton::operator* (const Point< D > &p, double s) |
|
template<int D> |
WONTON_INLINE Point< D > | Wonton::operator* (double s, const Point< D > &p) |
|
template<int D> |
WONTON_INLINE Point< D > | Wonton::operator/ (const Point< D > &p, double s) |
|
template<int D> |
WONTON_INLINE bool | Wonton::operator== (const Point< D > &p1, const Point< D > &p2) |
|
template<int D> |
WONTON_INLINE bool | Wonton::approxEq (const Point< D > &p1, const Point< D > &p2, double tol=1.0e-8) |
|
template<int D> |
WONTON_INLINE bool | Wonton::operator< (const Point< D > &p1, const Point< D > &p2) |
|
WONTON_INLINE Point2 | Wonton::ToCylindrical (const Point3 &p) |
|
WONTON_INLINE Point3 | Wonton::createP3 (double x, double y, double z) |
|
WONTON_INLINE Point2 | Wonton::createP2 (double x, double y) |
|
WONTON_INLINE Point1 | Wonton::createP1 (double x) |
|