Package net.algart.matrices

Examples of net.algart.matrices.StreamingApertureProcessor.process()


    @Override
    public void percentile(Matrix<? extends UpdatablePArray> dest, Matrix<? extends PArray> src,
        Matrix<? extends PArray> percentileIndexes, Pattern pattern)
    {
        StreamingApertureProcessor percentiler = RankProcessors.getPercentiler(context(), interpolated, bitLevels);
        percentiler.process(dest, src, percentileIndexes, pattern);
    }

    @Override
    public <T extends PArray> Matrix<T> asRank(Class<? extends T> requiredType,
        Matrix<? extends PArray> baseMatrix, Matrix<? extends PArray> rankedMatrix, Pattern pattern)
View Full Code Here


        Matrix<? extends PArray> baseMatrix, Matrix<? extends PArray> rankedMatrix, Pattern pattern)
    {
        StreamingApertureProcessor ranker = RankProcessors.getRanker(context(),
            interpolated && PFloatingArray.class.isAssignableFrom(dest.type()), bitLevels);
        // if dest.type() is not floating-point, interpolation leads to the same ranks
        ranker.process(dest, baseMatrix, rankedMatrix, pattern);
    }

    @Override
    public Matrix<? extends PArray> asMeanBetweenPercentiles(Matrix<? extends PArray> src,
        Matrix<? extends PArray> fromPercentilesIndexes,
View Full Code Here

        Matrix<? extends PArray> toPercentilesIndexes,
        Pattern pattern, double filler)
    {
        StreamingApertureProcessor averager = RankProcessors.getAveragerBetweenPercentiles(context(), filler,
            interpolated, bitLevels);
        averager.process(dest, src, fromPercentilesIndexes, toPercentilesIndexes, pattern);
    }

    @Override
    public Matrix<? extends PArray> asMeanBetweenValues(Matrix<? extends PArray> src,
        Matrix<? extends PArray> minValues,
View Full Code Here

        Matrix<? extends PArray> maxValues,
        Pattern pattern, double filler)
    {
        StreamingApertureProcessor averager = RankProcessors.getAveragerBetweenValues(context(), filler,
            interpolated, bitLevels);
        averager.process(dest, src, minValues, maxValues, pattern);
    }

    @Override
    public Matrix<? extends PArray> asFunctionOfSum(Matrix<? extends PArray> src,
        Pattern pattern, Func processingFunc)
View Full Code Here

    @Override
    public void functionOfSum(Matrix<? extends UpdatablePArray> dest, Matrix<? extends PArray> src,
        Pattern pattern, Func processingFunc)
    {
        StreamingApertureProcessor averager = RankProcessors.getSummator(context(), processingFunc);
        averager.process(dest, src, pattern);
    }

    @Override
    public Matrix<? extends PArray> asFunctionOfPercentilePair(Matrix<? extends PArray> src,
        Matrix<? extends PArray> percentilesIndexes1,
View Full Code Here

        Matrix<? extends PArray> percentilesIndexes2,
        Pattern pattern, Func processingFunc)
    {
        StreamingApertureProcessor contraster = RankProcessors.getPercentilePairProcessor(context(),
            processingFunc, interpolated, bitLevels);
        contraster.process(dest, src, src, percentilesIndexes1, percentilesIndexes2, pattern);
    }

}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.