TArrayF


class description - source file - inheritance tree

class TArrayF : public TArray


    public:
TArrayF TArrayF(Int_t n) TArrayF TArrayF(Int_t n, Float_t* array) TArrayF TArrayF() TArrayF TArrayF(const TArrayF& array) virtual void ~TArrayF() void AddAt(Float_t c, Int_t i) void Adopt(Int_t n, Float_t* array) Float_t At(Int_t i) TClass* Class() void Copy(TArrayF& array) Float_t* GetArray() const Stat_t GetSum() const virtual TClass* IsA() const TArrayF& operator=(const TArrayF& rhs) Float_t& operator[](Int_t i) void Reset() virtual void Set(Int_t n) void Set(Int_t n, Float_t* array) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

public:
Float_t* fArray Array of fN floats


See also

TH1F

Class Description

                                                                      
 TArrayF                                                              
                                                                      
 Array of floats (32 bits per element).                               
                                                                      


TArrayF()
 Default TArrayF ctor.

TArrayF(Int_t n)
 Create TArrayF object and set array size to n floats.

TArrayF(Int_t n, Float_t *array)
 Create TArrayF object and initialize it with values of array.

TArrayF(const TArrayF &array)
 Copy constructor.

~TArrayF()
 Delete TArrayF object.

void Adopt(Int_t n, Float_t *arr)
 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.

void AddAt(Float_t c, Int_t i)
 Add float c at position i. Check for out of bounds.

void Set(Int_t n)
 Set array size of TArrayF object to n floats.
 If n<0 leave array unchanged.

void Set(Int_t n, Float_t *array)
 Set array size of TArrayF object to n floats and copy array.
 If n<0 leave array unchanged.

void Streamer(TBuffer &b)
 Stream a TArrayF object.



Inline Functions


           TArrayF& operator=(const TArrayF& rhs)
            Float_t At(Int_t i)
               void Copy(TArrayF& array)
           Float_t* GetArray() const
             Stat_t GetSum() const
               void Reset()
           Float_t& operator[](Int_t i)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)


Author: Rene Brun 06/03/95
Last update: 1.03/06 27/10/97 03.23.44 by Fons Rademakers
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.