inputvector.cs

来自「多个感知器分类,属于人工智能的神经网络的」· CS 代码 · 共 31 行

CS
31
字号
using System;
using System.Collections.Generic;
using System.Text;

namespace homework1
{
    class inputVector
    {
        public double x, y;
        public int result;
        public inputVector()
        {
            x = 0;
            y = 0;
            result = 0;
        }
        public inputVector(double a,double b,int lab)
        {
            x = a;
            y = b;
            result = lab;
        }
        public void set(double a,double b,int lab)
        {
            x = a;
            y = b;
            result = lab;
        }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?