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

            int[] outInteger = new int[endIdx - startIdx + 1];

            RetCode retCode = TACore.MaxIndex(
                startIdx,
                endIdx,
                real,
                timePeriod,
                ref outBegIdx,
                ref outNBElement,
                ref outInteger);

            return(new(retCode, outBegIdx, outNBElement, outInteger));
        }