61 #if defined R__TEMPLATE_OVERLOAD_BUG 72 #if defined R__TEMPLATE_OVERLOAD_BUG 78 return buf << (
const TArray*)obj;
83 if (!
BoundsOk(
"TArrayD::At", i))
return 0;
89 if (!
BoundsOk(
"TArrayD::operator[]", i))
96 if (!
BoundsOk(
"TArrayD::operator[]", i))
return 0;
TArrayD()
Default TArrayD ctor.
Abstract array base class.
static long int sum(long int i)
void SetAt(Double_t v, Int_t i)
const Double_t * GetArray() const
TArrayD & operator=(const TArrayD &rhs)
TArrayD assignment operator.
Buffer base class used for serializing objects.
#define ClassDef(name, id)
Bool_t BoundsOk(const char *where, Int_t at) const
TBuffer & operator>>(TBuffer &buf, TArrayD *&obj)
static TArray * ReadArray(TBuffer &b, const TClass *clReq)
Read TArray object from buffer.
void Adopt(Int_t n, Double_t *array)
Adopt array arr into TArrayD, i.e.
Double_t At(Int_t i) const
virtual ~TArrayD()
Delete TArrayD object.
friend TBuffer & operator<<(TBuffer &b, const TArray *obj)
Write TArray or derived object to buffer.
Array of doubles (64 bits per element).
void AddAt(Double_t c, Int_t i)
Add double c at position i. Check for out of bounds.
Double_t GetAt(Int_t i) const
void Set(Int_t n)
Set size of this array to n doubles.
void Copy(TArrayD &array) const
Double_t & operator[](Int_t i)