|
ROOT
Reference Guide |
|
Go to the documentation of this file.
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;
void Copy(TArrayF &array) const
void SetAt(Double_t v, Int_t i)
void AddAt(Float_t c, Int_t i)
Add float c at position i. Check for out of bounds.
TArrayF & operator=(const TArrayF &rhs)
TArrayF assignment operator.
const Float_t * GetArray() const
static uint64_t sum(uint64_t i)
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).
Float_t At(Int_t i) const
TArrayF()
Default TArrayF ctor.
Float_t & operator[](Int_t i)
static TArray * ReadArray(TBuffer &b, const TClass *clReq)
Read TArray object from buffer.
Abstract array base class.
TBuffer & operator>>(TBuffer &buf, TArrayF *&obj)
Bool_t BoundsOk(const char *where, Int_t at) const
#define ClassDef(name, id)
Double_t GetAt(Int_t i) const
TBuffer & operator<<(TBuffer &buf, const TArrayF *obj)
virtual ~TArrayF()
Delete TArrayF object.
void Set(Int_t n)
Set size of this array to n floats.