Assignments
Assignments
|
#include <algebra.h>
Additional Inherited Members | |
Public Member Functions inherited from Util::_InnerProductSpace< Element > | |
double | squareNorm (void) const |
double | length (void) const |
Element | unit (void) const |
Static Public Member Functions inherited from Util::_InnerProductSpace< Element > | |
static double | Dot (const Element &e1, const Element &e2) |
static double | SquareNorm (const Element &e) |
static double | Length (const Element &e) |
static double | SquareDistance (const Element &e1, const Element &e2) |
static double | Distance (const Element &e1, const Element &e2) |
This templated class fills in the vector-space and inner-product space methods for the class Element It assumes the following operations are well defined for const Element &e, const Element &f, and double s: Element g = e + f; Element g = e * s; double dot = e.dot( f );