Assignments
Assignments
|
#include <algebra.h>
Public Member Functions | |
double | squareNorm (void) const |
double | length (void) const |
Element | unit (void) const |
Static Public Member Functions | |
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 inner-product space methods for the class Element It assumes the following operations are well defined for const Element &e and const Element &f: double dot = e.dot( f );
|
inlinestatic |
This static method returns the L2-distance between two elements
|
inlinestatic |
This static method returns the dot-product of two elements
|
inlinestatic |
This static method returns the L2-norm of an element
|
inline |
This method returns L2-norm of an element
|
inlinestatic |
This static method returns (squared) L2-distance between two elements
|
inlinestatic |
This static method returns the (squared) L2-norm of an element
|
inline |
This method returns the (squared) L2-norm of an element
|
inline |
This method returns the normalized element