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

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

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

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