コード例 #1
0
        public void Subtract()
        {
            double[,] expected = MakeResult(size, size, 10);
            FastMatrix matrix  = MakeMatrix(size, size, 15);
            FastMatrix matrix2 = MakeMatrix(size, size, 5);

            VerifyResults(cpu.Subtract(matrix, matrix2), expected);
        }
コード例 #2
0
        public void Subtract()
        {
            Vector3[,] expected = MakeResult(size, size, fifteen);
            FastMatrix <Vector3> matrix  = MakeMatrix(size, size, twenty);
            FastMatrix <Vector3> matrix2 = MakeMatrix(size, size, five);

            VerifyResults(cpu.Subtract(matrix, matrix2), expected);
        }
コード例 #3
0
        public void Subtract()
        {
            IntWrapper[,] expected = MakeResult(size, size, 10);
            FastMatrix <IntWrapper> matrix  = MakeMatrix(size, size, 15);
            FastMatrix <IntWrapper> matrix2 = MakeMatrix(size, size, 5);

            VerifyResults(cpu.Subtract(matrix, matrix2), expected);
        }