src/utils/matrix/MMatrix.java
public Matrix standardDeviation(Matrix meanMatrix, Matrix result) throws MatrixException, DynamicParamException {
        if (!hasProcedureFactory()) variance(meanMatrix).multiply(matrices.size()).divide(matrices.size() - 1).apply(result, UnaryFunctionType.SQRT);
        else {
            double expressionLock = procedureFactory.startExpression(this);
            variance(meanMatrix).multiply(matrices.size()).divide(matrices.size() - 1).apply(result, UnaryFunctionType.SQRT);
            result.setProcedureFactory(procedureFactory);
            procedureFactory.createStandardDeviationExpression(expressionLock, this, result);
        }
        return result;
    }
/**
     * Calculates standard deviation.
     *
     * @param meanMatrix matrix containing mean values for variance calculation.
     * @param result result matrix.
     * @return resulting variance
     * @throws MatrixException throws exception if matrices are incorrectly provided.
     * @throws DynamicParamException throws exception if parameter (params) setting fails.
     */
Calculates standard deviation.
@param meanMatrix matrix containing mean values for variance calculation.
@param result result matrix.
@return resulting variance
@throws MatrixException throws exception if matrices are incorrectly provided.
@throws DynamicParamException throws exception if parameter (params) setting fails.
Calculates standard deviation . @param meanMatrix matrix containing mean values for variance calculation . @param result result matrix . @return resulting variance @throws MatrixException throws exception if matrices are incorrectly provided . @throws DynamicParamException throws exception if parameter ( params ) setting fails .
public Matrix standardDeviation(Matrix meanMatrix, Matrix result) throws MatrixException, DynamicParamException {
        if (!hasProcedureFactory()) variance(meanMatrix).multiply(matrices.size()).divide(matrices.size() - 1).apply(result, UnaryFunctionType.SQRT);
        else {
            double expressionLock = procedureFactory.startExpression(this);
            variance(meanMatrix).multiply(matrices.size()).divide(matrices.size() - 1).apply(result, UnaryFunctionType.SQRT);
            result.setProcedureFactory(procedureFactory);
            procedureFactory.createStandardDeviationExpression(expressionLock, this, result);
        }
        return result;
    }
public Matrix standardDeviation ( Matrix meanMatrix , Matrix result ) throws MatrixException , DynamicParamException { if ( ! hasProcedureFactory ( ) ) variance ( meanMatrix ) . multiply ( matrices . size ( ) ) . divide ( matrices . size ( ) - 1 ) . apply ( result , UnaryFunctionType . SQRT ) ; else { double expressionLock = procedureFactory . startExpression ( this ) ; variance ( meanMatrix ) . multiply ( matrices . size ( ) ) . divide ( matrices . size ( ) - 1 ) . apply ( result , UnaryFunctionType . SQRT ) ; result . setProcedureFactory ( procedureFactory ) ; procedureFactory . createStandardDeviationExpression ( expressionLock , this , result ) ; } return result ; }
Calculates standard deviation.
Calculates standard deviation .