public abstract class AbstractStemTaperEstimate extends Estimate<Distribution> implements CentralMomentsSettable
Estimate.EstimatorTypeestimatorType, 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, setRowIndexgetDistribution, getMean, getVariancepublic 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)
CentralMomentsSettablesetMean in interface CentralMomentsSettablemean - a Matrix instancepublic void setVariance(Matrix variance)
CentralMomentsSettablesetVariance in interface CentralMomentsSettablevariance - a Matrix instance