60 #if defined R__TEMPLATE_OVERLOAD_BUG 71 #if defined R__TEMPLATE_OVERLOAD_BUG 77 return buf << (
const TArray*)obj;
82 if (!
BoundsOk(
"TArrayF::At", i))
return 0;
88 if (!
BoundsOk(
"TArrayF::operator[]", i))
95 if (!
BoundsOk(
"TArrayF::operator[]", i))
return 0;
Abstract array base class.
static long int sum(long int i)
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.
const Float_t * GetArray() const
void Adopt(Int_t n, Float_t *array)
Adopt array arr into TArrayF, i.e.
Buffer base class used for serializing objects.
Array of floats (32 bits per element).
virtual ~TArrayF()
Delete TArrayF object.
#define ClassDef(name, id)
Bool_t BoundsOk(const char *where, Int_t at) const
Float_t & operator[](Int_t i)
TArrayF & operator=(const TArrayF &rhs)
TArrayF assignment operator.
void Copy(TArrayF &array) const
static TArray * ReadArray(TBuffer &b, const TClass *clReq)
Read TArray object from buffer.
TBuffer & operator>>(TBuffer &buf, TArrayF *&obj)
friend TBuffer & operator<<(TBuffer &b, const TArray *obj)
Write TArray or derived object to buffer.
void SetAt(Double_t v, Int_t i)
TArrayF()
Default TArrayF ctor.
void Set(Int_t n)
Set size of this array to n floats.
Double_t GetAt(Int_t i) const