1#ifndef __JMATH__JVECTORND__
2#define __JMATH__JVECTORND__
14namespace JPP {
using namespace JMATH; }
38 std::vector<double>(size, 0.0)
47 for (iterator i = this->begin(); i != this->end(); ++i) {
63 const double* p = this-> data();
64 const double* q = vector.data();
66 for (
size_t i = this->size(); i != 0; --i, ++p, ++q) {
87 for (JVectorND::const_iterator i =
object.begin(); i !=
object.end(); ++i) {
88 out << format << *i <<
' ';
JFormat_t & getFormat()
Get format for given type.
Auxiliary classes and methods for mathematical operations.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
JVectorND()
Default constructor.
friend std::ostream & operator<<(std::ostream &out, const JVectorND &object)
Print ASCII formatted output.
double getDot(const JVectorND &vector) const
Get dot product.
JVectorND(size_t size)
Constructor.