コード例 #1
0
        public double[,] GetNextPoint2()
        {
            var buffer = MathOps.MultiplyMatrixByScalar(sNext, _lambda2);

            x[0, 0] = x[0, 0] + buffer[0, 0];
            x[1, 0] = x[1, 0] + buffer[1, 0];
            return(x);
        }
コード例 #2
0
 public double[,] GetSNext()
 {
     sNext = MathOps.AddMatrices(MathOps.MatriXNegativeOne(gNext), MathOps.MultiplyMatrixByScalar(s, GetBuffer())); //the buffer here was returning zero
     return(sNext);                                                                                                 //the value of s here is not what it should be
 }