public abstract class AbstractStemTaperEstimate extends Estimate<Distribution> implements CentralMomentsSettable
Estimate.EstimatorType
estimatorType, rowIndex
Constructor and Description |
---|
AbstractStemTaperEstimate(java.util.List<java.lang.Double> computedHeights)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Double> |
getCrossSectionHeights()
This method returns the heights of the cross sections for which the square diameters were predicted.
|
protected abstract double |
getScalingFactor() |
protected abstract Matrix |
getSquaredDiameters(Matrix predictedDiameters) |
protected abstract Matrix |
getVarianceOfSquaredDiameter(Matrix variancePredictedDiameters) |
Estimate<?> |
getVolumeEstimate()
This method returns a volume estimate from the integrated taper all along the heights contained
in the heights member.
|
Estimate<?> |
getVolumeEstimate(StemTaperSegmentList segments)
This method returns a volume estimate from the integrated taper all along the selected segments.
|
void |
setMean(Matrix mean)
This method sets the mean vector of the random variable.
|
void |
setVariance(Matrix variance)
This method sets the variance-covariance matrix of the random variable.
|
getConfidenceIntervalBounds, getDifferenceEstimate, getEstimatorType, getProductEstimate, getProductEstimate, getProductOfManyEstimates, getRandomDeviate, getRowIndex, getSumEstimate, isMergeableEstimate, setRowIndex
getDistribution, getMean, getVariance
public AbstractStemTaperEstimate(java.util.List<java.lang.Double> computedHeights)
computedHeights
- a List instance containing the heights (m) of the cross sectionspublic Estimate<?> getVolumeEstimate()
public Estimate<?> getVolumeEstimate(StemTaperSegmentList segments)
segments
- a StemTaperSegmentList that represents the selected taper (can be null, in such case the integration is carried out
all along the heights, by default)public java.util.List<java.lang.Double> getCrossSectionHeights()
protected abstract Matrix getVarianceOfSquaredDiameter(Matrix variancePredictedDiameters)
protected abstract double getScalingFactor()
public void setMean(Matrix mean)
CentralMomentsSettable
setMean
in interface CentralMomentsSettable
mean
- a Matrix instancepublic void setVariance(Matrix variance)
CentralMomentsSettable
setVariance
in interface CentralMomentsSettable
variance
- a Matrix instance