|
template<std::size_t D> |
Vector | kjb::operator* (const Matrix &m, const Vector_d< D > v) |
| multiply by static vector More...
|
|
Vector | kjb::multiply_matrix_and_vector_d_dispatch_ (const Matrix &m, const double *v, size_t size) |
| dispatch for operator*(Matrix, Vector_d). This deals with a circular dependency between matrix.h and vector_d.h by moving template code into a cpp file. DO NOT CALL DIRECTLY! More...
|
|
template<std::size_t D> |
Vector_d< D > | kjb::operator- (const Vector_d< D > &first, const Vector_d< D > &second) |
|
template<std::size_t D> |
Vector_d< D > | kjb::operator- (const Vector_d< D > &first, double second) |
|
template<std::size_t D> |
Vector_d< D > | kjb::operator- (double first, const Vector_d< D > &second) |
|
template<std::size_t D> |
Vector_d< D > | kjb::operator- (const Vector_d< D > &first) |
|
template<std::size_t D> |
Vector_d< D > | kjb::operator+ (const Vector_d< D > &first, const Vector_d< D > &second) |
|
template<std::size_t D> |
Vector_d< D > | kjb::operator+ (const Vector_d< D > &first, double second) |
|
template<std::size_t D> |
Vector_d< D > | kjb::operator+ (double first, const Vector_d< D > &second) |
|
template<std::size_t D> |
Vector_d< D > | kjb::operator* (const Vector_d< D > &v, double s) |
|
template<std::size_t D> |
Vector_d< D > | kjb::operator* (double s, const Vector_d< D > &v) |
|
template<std::size_t D> |
Vector_d< D > | kjb::operator/ (const Vector_d< D > &v, double s) |
|
template<std::size_t N> |
void | kjb::swap (Vector_d< N > &first, Vector_d< N > &second) |
|
template<std::size_t N> |
bool | kjb::operator== (const Vector_d< N > &first, const Vector_d< N > &second) |
|
template<std::size_t N> |
bool | kjb::operator!= (const Vector_d< N > &first, const Vector_d< N > &second) |
|
template<std::size_t N> |
bool | kjb::operator< (const Vector_d< N > &first, const Vector_d< N > &second) |
|
template<std::size_t N> |
bool | kjb::operator> (const Vector_d< N > &first, const Vector_d< N > &second) |
|
template<std::size_t N> |
bool | kjb::operator<= (const Vector_d< N > &first, const Vector_d< N > &second) |
|
template<std::size_t N> |
bool | kjb::operator>= (const Vector_d< N > &first, const Vector_d< N > &second) |
|
template<size_t D> |
double | kjb::norm1 (const kjb::Vector_d< D > &v) |
|
template<size_t D> |
double | kjb::norm2 (const kjb::Vector_d< D > &v) |
|
template<size_t D> |
Vector_d< D > | kjb::create_random_vector () |
|
template<size_t D> |
Vector_d< D > | kjb::create_gauss_random_vector () |
|
template<size_t D> |
Vector_d< D > | kjb::create_unit_vector (size_t d) |
|
template<std::size_t D> |
std::ostream & | kjb::operator<< (std::ostream &out, const Vector_d< D > &v) |
|
template<std::size_t D> |
std::istream & | kjb::operator>> (std::istream &ist, Vector_d< D > &v) |
|
template<std::size_t D> |
double | kjb::dot (const Vector_d< D > &op1, const Vector_d< D > &op2) |
|
template<std::size_t D> |
double | kjb::vector_distance (const Vector_d< D > &op1, const Vector_d< D > &op2) |
| Compute the Euclidian distance between two vectors. More...
|
|
template<std::size_t D> |
double | kjb::vector_distance_squared (const Vector_d< D > &op1, const Vector_d< D > &op2) |
| Compute the Euclidian distance between two vectors. More...
|
|