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

            double[] outReal = new double[endIdx - startIdx + 1];

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

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