58#if defined R__TEMPLATE_OVERLOAD_BUG
69#if defined R__TEMPLATE_OVERLOAD_BUG
75 return buf << (
const TArray*)obj;
80 if (!
BoundsOk(
"TArrayF::At", i))
return 0;
86 if (!
BoundsOk(
"TArrayF::operator[]", i))
93 if (!
BoundsOk(
"TArrayF::operator[]", i))
return 0;
#define ClassDef(name, id)
TBuffer & operator<<(TBuffer &buf, const TArrayF *obj)
TBuffer & operator>>(TBuffer &buf, TArrayF *&obj)
Array of floats (32 bits per element).
void Copy(TArrayF &array) const
TArrayF & operator=(const TArrayF &rhs)
TArrayF assignment operator.
void SetAt(Double_t v, Int_t i)
virtual ~TArrayF()
Delete TArrayF object.
Float_t & operator[](Int_t i)
void Adopt(Int_t n, Float_t *array)
Adopt array arr into TArrayF, i.e.
Double_t GetAt(Int_t i) const
const Float_t * GetArray() const
void Set(Int_t n)
Set size of this array to n floats.
Float_t At(Int_t i) const
void AddAt(Float_t c, Int_t i)
Add float c at position i. Check for out of bounds.
TArrayF()
Default TArrayF ctor.
Abstract array base class.
Bool_t BoundsOk(const char *where, Int_t at) const
static TArray * ReadArray(TBuffer &b, const TClass *clReq)
Read TArray object from buffer.
Buffer base class used for serializing objects.
static long int sum(long int i)