Ejemplo n.º 1
0
        public double DiffNormC(int t, BarElement NextBar)
        {
            double normC = Sqrt(Pow(B[0] + NextBar.B[0], 2) + Pow(B[1] + NextBar.B[1], 2) + Pow(B[2] + NextBar.B[2], 2));

            return((-1 + t / 3) * (B[t % 3] + NextBar.B[t % 3]) / normC);
        }