/** * Get the standard deviations (sqrt of eigenvalues) of the principal * components. * * @return vector of standard deviations */ public double[] getStandardDeviations() { return getStandardDeviations(eigenvalues.length); }
/** * Compute the standard deviations of the shape components, multiplied by * the given value. * * @param multiplier * the multiplier * @return the multiplied standard deviations */ public double[] getStandardDeviations(double multiplier) { final double[] rngs = pc.getStandardDeviations(); for (int i = 0; i < rngs.length; i++) { rngs[i] = rngs[i] * multiplier; } return rngs; }