示例#1
0
 public static void test3(Graphique G)
 {
     G.ClearBlack();
     float[,] W = new float[3, 3]
     {
         { 1, 0, 0 },
         { -1, 0, 1.5f },
         { 0, 1, 0 }
     };
     OneLayer.DrawScore(W);
     OneLayer.LevelSet(W, 0.5f);
     G.DrawAxis();
 }
示例#2
0
        public static void test4(Graphique G)
        {
            G.ClearBlack();

            float[,] W = new float[3, 3]
            {
                { 1, 0, 0 },
                { -1, 0, 0 },
                { 1f, 1f, 0 }
            };

            /*float[,] W = new float[3, 3]
             * {
             *  {  1, 0f, 0f },
             *  { -1, 0f, 0f },
             *  {  1f, 0.8f, 0f }
             * };*/
            OneLayer.DrawScore(W);
            OneLayer.LevelSet(W, 0.4f);
            G.DrawAxis();
        }
示例#3
0
 private void button11_Click(object sender, EventArgs e)
 {
     OneLayer.Final(G);
     pictureBox1.Invalidate();
 }