Public Member Functions | |
TArrayF () | |
Default TArrayF ctor. | |
TArrayF (const TArrayF &array) | |
Copy constructor. | |
TArrayF (Int_t n) | |
Create TArrayF object and set array size to n floats. | |
TArrayF (Int_t n, const Float_t *array) | |
Create TArrayF object and initialize it with values of array. | |
virtual | ~TArrayF () |
Delete TArrayF object. | |
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. | |
Float_t | At (Int_t i) const |
void | Copy (TArrayF &array) const |
Float_t * | GetArray () |
const Float_t * | GetArray () const |
Double_t | GetAt (Int_t i) const override |
Stat_t | GetSum () const |
TClass * | IsA () const override |
TArrayF & | operator= (const TArrayF &rhs) |
TArrayF assignment operator. | |
Float_t & | operator[] (Int_t i) |
Float_t | operator[] (Int_t i) const |
void | Reset () |
void | Reset (Float_t val) |
void | Set (Int_t n) override |
Set size of this array to n floats. | |
void | Set (Int_t n, const Float_t *array) |
Set size of this array to n floats and set the contents. | |
void | SetAt (Double_t v, Int_t i) override |
void | Streamer (TBuffer &) override |
Stream a TArrayF object. | |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
![]() | |
TArray () | |
TArray (const TArray &a) | |
TArray (Int_t n) | |
virtual | ~TArray () |
Int_t | GetSize () const |
TArray & | operator= (const TArray &rhs) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
![]() | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
static TArray * | ReadArray (TBuffer &b, const TClass *clReq) |
Read TArray object from buffer. | |
static void | WriteArray (TBuffer &b, const TArray *a) |
Write TArray object to buffer. | |
Public Attributes | |
Float_t * | fArray |
![]() | |
Int_t | fN |
Additional Inherited Members | |
![]() | |
Bool_t | BoundsOk (const char *where, Int_t at) const |
Bool_t | OutOfBoundsError (const char *where, Int_t i) const |
Generate an out-of-bounds error. Always returns false. | |
#include <TArrayF.h>
TArrayF::TArrayF | ( | ) |
Default TArrayF ctor.
Definition at line 25 of file TArrayF.cxx.
TArrayF::TArrayF | ( | Int_t | n | ) |
Create TArrayF object and set array size to n floats.
Definition at line 33 of file TArrayF.cxx.
Create TArrayF object and initialize it with values of array.
Definition at line 42 of file TArrayF.cxx.
Copy constructor.
Definition at line 51 of file TArrayF.cxx.
|
virtual |
Delete TArrayF object.
Definition at line 70 of file TArrayF.cxx.
Add float c at position i. Check for out of bounds.
Definition at line 92 of file TArrayF.cxx.
Adopt array arr into TArrayF, i.e.
don't copy arr but use it directly in TArrayF. User may not delete arr, TArrayF dtor will do it.
Definition at line 80 of file TArrayF.cxx.
|
inlineoverridevirtual |
TArrayF assignment operator.
Definition at line 60 of file TArrayF.cxx.
|
overridevirtual |
Set size of this array to n floats.
A new array is created, the old contents copied to the new array, then the old array is deleted. This function should not be called if the array was declared via Adopt.
Implements TArray.
Definition at line 104 of file TArrayF.cxx.
Set size of this array to n floats and set the contents.
This function should not be called if the array was declared via Adopt.
Definition at line 131 of file TArrayF.cxx.
|
overridevirtual |
|
inline |