+
class ROOT::Math::SVector<float,6>
-
library: libSmatrix
#include "SVector.h"
Display options:
Show inherited
Show non-public

class ROOT::Math::SVector<float,6>


 source:

 type:      source code

 created:   16. Mar 2001

 author:    Thorsten Glebe
            HERA-B Collaboration
            Max-Planck-Institut fuer Kernphysik
            Saupfercheckweg 1
            69117 Heidelberg
            Germany
            E-mail: T.Glebe@mpi-hd.mpg.de

 Description: A fixed size Vector class

 changes:
 16 Mar 2001 (TG) creation
 21 Mar 2001 (TG) SVector::value_type added
 21 Mar 2001 (TG) added operators +=, -=, *=, /=
 26 Mar 2001 (TG) added place_at()
 03 Apr 2001 (TG) Array() added
 06 Apr 2001 (TG) CTORS added
 07 Apr 2001 (TG) CTORS added
 22 Aug 2001 (TG) CTOR(T*,len) added
 04 Sep 2001 (TG) moved inlined functions to .icc file
 14 Jan 2002 (TG) added operator==(), operator!=(), operator>(), operator<()


Function Members (Methods)

public:
~SVector<float,6>()
floatapply(unsigned int i) const
const float*Array() const
float*Array()
const float&At(unsigned int i) const
float&At(unsigned int i)
float*begin()
float*begin() const
static unsigned intDim()
float*end()
float*end() const
booloperator!=(const float& rhs) const
booloperator!=(const ROOT::Math::SVector<float,6>& rhs) const
const float&operator()(unsigned int i) const
float&operator()(unsigned int i)
ROOT::Math::SVector<float,6>&operator*=(const float& rhs)
ROOT::Math::SVector<float,6>&operator+=(const float& rhs)
ROOT::Math::SVector<float,6>&operator+=(const ROOT::Math::SVector<float,6>& rhs)
ROOT::Math::SVector<float,6>&operator-=(const float& rhs)
ROOT::Math::SVector<float,6>&operator-=(const ROOT::Math::SVector<float,6>& rhs)
ROOT::Math::SVector<float,6>&operator/=(const float& rhs)
booloperator<(const float& rhs) const
booloperator<(const ROOT::Math::SVector<float,6>& rhs) const
ROOT::Math::SVector<float,6>&operator=(const float& a1)
ROOT::Math::SVector<float,6>&operator=(const ROOT::Math::SVector<float,6>&)
booloperator==(const float& rhs) const
booloperator==(const ROOT::Math::SVector<float,6>& rhs) const
booloperator>(const float& rhs) const
booloperator>(const ROOT::Math::SVector<float,6>& rhs) const
const float&operator[](unsigned int i) const
float&operator[](unsigned int i)
ostream&Print(ostream& os) const
ROOT::Math::SVector<float,6>SVector<float,6>()
ROOT::Math::SVector<float,6>SVector<float,6>(const ROOT::Math::SVector<float,6>& rhs)
ROOT::Math::SVector<float,6>SVector<float,6>(const float& a1)
ROOT::Math::SVector<float,6>SVector<float,6>(const float* a, unsigned int len)
ROOT::Math::SVector<float,6>SVector<float,6>(const float* begin, const float* end)
ROOT::Math::SVector<float,6>SVector<float,6>(const float& a1, const float& a2)
ROOT::Math::SVector<float,6>SVector<float,6>(const float& a1, const float& a2, const float& a3)
ROOT::Math::SVector<float,6>SVector<float,6>(const float& a1, const float& a2, const float& a3, const float& a4)
ROOT::Math::SVector<float,6>SVector<float,6>(const float& a1, const float& a2, const float& a3, const float& a4, const float& a5)
ROOT::Math::SVector<float,6>SVector<float,6>(const float& a1, const float& a2, const float& a3, const float& a4, const float& a5, const float& a6)
ROOT::Math::SVector<float,6>SVector<float,6>(const float& a1, const float& a2, const float& a3, const float& a4, const float& a5, const float& a6, const float& a7)
ROOT::Math::SVector<float,6>SVector<float,6>(const float& a1, const float& a2, const float& a3, const float& a4, const float& a5, const float& a6, const float& a7, const float& a8)
ROOT::Math::SVector<float,6>SVector<float,6>(const float& a1, const float& a2, const float& a3, const float& a4, const float& a5, const float& a6, const float& a7, const float& a8, const float& a9)
ROOT::Math::SVector<float,6>SVector<float,6>(const float& a1, const float& a2, const float& a3, const float& a4, const float& a5, const float& a6, const float& a7, const float& a8, const float& a9, const float& a10)
ROOT::Math::SVector<float,6>&Unit()

Data Members

public:
enum { kSize
};
private:
floatfArray[6]

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

SVector<T,D>& operator=(const T& a1)
 assignment from a scalar (only for size 1 vector)
 assignment  from Vector Expression
SVector<T,D>& operator=(const VecExpr<A,T,D>& rhs)
unsigned int Dim()
 return dimension $D$
 access the parse tree. Index starts from zero
{ return D; }
T apply(unsigned int i) const
 return read-only pointer to internal array
const T* Array()
 return non-const pointer to internal array
T* Array()
iterator begin()
 @name --- STL-like interface --- 
 STL iterator interface. 
iterator end()
 STL iterator interface. 
const_iterator begin()
 STL const_iterator interface. 
const_iterator end()
 STL const_iterator interface. 
bool operator==(const T& rhs)
 @name --- Operators --- 
 element wise comparison
 element wise comparison
bool operator!=(const T& rhs)
 element wise comparison
bool operator==(const SVector<T,D>& rhs)
 element wise comparison
bool operator!=(const SVector<T,D>& rhs)
 element wise comparison
bool operator>(const T& rhs)
 element wise comparison
 element wise comparison
bool operator<(const T& rhs)
 element wise comparison
bool operator>(const SVector<T,D>& rhs)
 element wise comparison
bool operator<(const SVector<T,D>& rhs)
 element wise comparison
const T& operator[](unsigned int i)
 read-only access of vector elements. Index starts from 0.
 read-only access of vector elements. Index starts from 0.
const T& operator()(unsigned int i)
 read-only access of vector elements with check on index. Index starts from 0.
const T& At(unsigned int i)
 read/write access of vector elements. Index starts from 0.
T& operator[](unsigned int i)
 read/write access of vector elements. Index starts from 0.
T& operator()(unsigned int i)
 read/write access of vector elements with check on index. Index starts from 0.
T& At(unsigned int i)
SVector<T,D>& operator+=(const T& rhs)
 self addition with a scalar
 self subtraction with a scalar
SVector<T,D>& operator-=(const T& rhs)
 self multiplication with a scalar
SVector<T,D>& operator*=(const float& rhs)
 self division with a scalar
SVector<T,D>& operator/=(const float& rhs)
SVector<T,D>& operator+=(const SVector<T,D>& rhs)
 self addition with another vector
 self subtraction with another vector
SVector<T,D>& operator-=(const SVector<T,D>& rhs)
 self addition with a vector expression
SVector<T,D>& Unit()
 @name --- Expert functions --- 
 transform vector into a vector of lenght 1
 place a sub-vector starting from the given position
std::ostream& Print(ostream& os) const
 used by operator<<()

Last update: Mon Jun 25 19:40:59 2007

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.