示例#1
0
        public static MinMaxResult MinMax(int startIdx, int endIdx, double[] real, int timePeriod)
        {
            int outBegIdx    = default;
            int outNBElement = default;

            double[] outMin = new double[endIdx - startIdx + 1];
            double[] outMax = new double[endIdx - startIdx + 1];

            RetCode retCode = TACore.MinMax(
                startIdx,
                endIdx,
                real,
                timePeriod,
                ref outBegIdx,
                ref outNBElement,
                ref outMin,
                ref outMax);

            return(new(retCode, outBegIdx, outNBElement, outMin, outMax));
        }