jas.hist
Interface ExtendedStatistics
- All Superinterfaces:
- Statistics
- All Known Implementing Classes:
- Fittable1DFunction
public interface ExtendedStatistics
- extends Statistics
An interface that represents a set of Statistics values which
are not limited to simple doubles.
getExtendedStatistic
Object getExtendedStatistic(String name)
- Returns an object corresponding to the named statistic.
In general the statistic will be displayed by calling
its toString method, however if a Format object has been
defined for this class (how?) then it will be used instead.
By default the following formatters are defined
- java.lang.Double
- jas.util.ScientificFormat
- jas.util.DoubleWithError
- jas.util.ScientificFormat
If the method returns null, then the getStatistic() method from
the subclass will be called instead. This simplifies the use of
simple floating point statistics (no need to create a Double
object for each one).
- Parameters:
name
- The name of the statistic to return- See Also:
ScientificFormat
,
DoubleWithError
Copyright © 2000-2009 FreeHEP. All Rights Reserved.