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)
void AddAt(Float_t c, Int_t i)
Add float c at position i. Check for out of bounds.
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)
Float_t & operator[](Int_t i)
Double_t GetAt(Int_t i) const
TArrayF & operator=(const TArrayF &rhs)
TArrayF assignment operator.
void Copy(TArrayF &array) const
Bool_t BoundsOk(const char *where, Int_t at) 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)
Float_t At(Int_t i) const
TArrayF()
Default TArrayF ctor.
const Float_t * GetArray() const
void Set(Int_t n)
Set size of this array to n floats.