![]() |
Reference Documentation |
#include <I_Bin.h>
Inheritance diagram for I_Bin:
Definition at line 7 of file I_Bin.h.
Public Types | |
typedef I_Bin | Like_Current |
Public Methods | |
H_IID_IMPLEMENT (I_Bin) | |
Very simple RTTI feature. | |
virtual double | value (Index i=0) const=0 |
Value associated with this bin. | |
virtual double | error (Index i=0) const=0 |
Error associated with this bin. | |
virtual Size | count () const=0 |
Count associated with this bin (number of entries). | |
virtual void | set_value (double other, Index i=0)=0 |
Set the value associated with this bin to other. | |
virtual void | set_error (double other, Index i=0)=0 |
Change/set the error of the bin to other. | |
virtual void | set_count (Size other)=0 |
Change/set the count of the bin to other. | |
virtual double | center (Index=0) const |
Absolute or relative center of this bin on axis i . | |
virtual void | set_center (double) |
Change/set the center of the bin to other (if possible). | |
virtual int | offset (Index=0) const |
Relative or absolute position for the center of the bin. | |
virtual void | reset ()=0 |
Reset bin contents. | |
virtual void | make (const Like_Current &other)=0 |
Make current bin out of other bin. | |
virtual void | add (const Like_Current &other)=0 |
Add other bin to current one. | |
virtual void | sub (const Like_Current &other)=0 |
Subtract other bin from current one. | |
virtual void | mul (const Like_Current &other)=0 |
Multiply current bin by other one. | |
virtual void | div (const Like_Current &other)=0 |
Divide current bin by other one. | |
virtual void | binomial_div (const Like_Current &other)=0 |
Divide binomially current bin by other one. | |
virtual void | add (double x)=0 |
Add scalar to current bin. | |
virtual void | sub (double x)=0 |
Subtract scalar from current bin. | |
virtual void | mul (double x)=0 |
Multiply current bin by scalar. | |
virtual void | div (double x)=0 |
Divide current bin by scalar. | |
Protected Methods | |
I_Bin () | |
Empty constructor. | |
virtual | ~I_Bin () |
Destructor. |
|
Reimplemented in Float_Weighted_Bin, Gravity_Bin_1D, Profile_Bin, and Weighted_Bin. |
|
|
|
|
|
Implemented in Float_Weighted_Bin, Gravity_Bin_1D, Profile_Bin, and Weighted_Bin. |
|
Referenced by binScalarAdd::eval(), binHistoAdd::eval(), and H_2D_Helper::project(). |
|
Referenced by binHistoBinDiv::eval(). |
|
The *real* absolute center can be obtained as follow: partition(i).lower_point(j)*bin(j).offset()+ bin(j).center(i), where j is the index of this bin. Reimplemented in Gravity_Bin_1D. Definition at line 42 of file I_Bin.h. References Index. Referenced by Gravity_Bin_1D::combine_centers(), and Gravity_Bin_1D::make(). |
|
Implemented in Float_Weighted_Bin, Gravity_Bin_1D, Profile_Bin, and Weighted_Bin. Referenced by Weighted_Bin::add(), Profile_Bin::add(), Gravity_Bin_1D::add(), Float_Weighted_Bin::add(), Weighted_Bin::binomial_div(), Gravity_Bin_1D::binomial_div(), Float_Weighted_Bin::binomial_div(), Weighted_Bin::div(), Profile_Bin::div(), Gravity_Bin_1D::div(), Float_Weighted_Bin::div(), Weighted_Bin::make(), Profile_Bin::make(), Gravity_Bin_1D::make(), Float_Weighted_Bin::make(), Weighted_Bin::mul(), Profile_Bin::mul(), Gravity_Bin_1D::mul(), Float_Weighted_Bin::mul(), Weighted_Bin::sub(), Profile_Bin::sub(), Gravity_Bin_1D::sub(), and Float_Weighted_Bin::sub(). |
|
Implemented in Float_Weighted_Bin, Gravity_Bin_1D, Profile_Bin, and Weighted_Bin. |
|
Referenced by binScalarDiv::eval(), and binHistoDiv::eval(). |
|
Implemented in Float_Weighted_Bin, Gravity_Bin_1D, Profile_Bin, and Weighted_Bin. Referenced by Weighted_Bin::add(), Gravity_Bin_1D::add(), Float_Weighted_Bin::add(), Weighted_Bin::binomial_div(), Gravity_Bin_1D::binomial_div(), Float_Weighted_Bin::binomial_div(), Weighted_Bin::div(), Gravity_Bin_1D::div(), Float_Weighted_Bin::div(), Weighted_Bin::make(), Gravity_Bin_1D::make(), Float_Weighted_Bin::make(), Weighted_Bin::mul(), Gravity_Bin_1D::mul(), Float_Weighted_Bin::mul(), Weighted_Bin::sub(), Gravity_Bin_1D::sub(), Float_Weighted_Bin::sub(), and HistoTable1D::write(). |
|
|
|
Referenced by H_2D_Helper::band(). |
|
Implemented in Float_Weighted_Bin, Gravity_Bin_1D, Profile_Bin, and Weighted_Bin. |
|
Referenced by binScalarMul::eval(), and binHistoMul::eval(). |
|
Reimplemented in Gravity_Bin_1D. Definition at line 51 of file I_Bin.h. References Index. |
|
Implemented in Float_Weighted_Bin, Gravity_Bin_1D, Profile_Bin, and Weighted_Bin. |
|
Reimplemented in Gravity_Bin_1D. Definition at line 45 of file I_Bin.h. Referenced by H_2D_Helper::band(), and H_2D_Helper::project(). |
|
Implemented in Float_Weighted_Bin, Gravity_Bin_1D, Profile_Bin, and Weighted_Bin. |
|
Implemented in Float_Weighted_Bin, Gravity_Bin_1D, Profile_Bin, and Weighted_Bin. |
|
Implemented in Float_Weighted_Bin, Gravity_Bin_1D, Profile_Bin, and Weighted_Bin. |
|
Implemented in Float_Weighted_Bin, Gravity_Bin_1D, Profile_Bin, and Weighted_Bin. |
|
Referenced by binScalarSub::eval(), and binHistoSub::eval(). |
|
Anaphe documentation generated by Doxygen (www.doxygen.org) |