示例#1
0
 public Vector8 Subtract(Vector8 one, Vector8 two)
 {
     Vector8 re_val;
     re_val = new Vector8(one.one - two.one, one.two - two.two, one.three - two.three, one.four - two.four, one.five - two.five, one.six - two.six, one.seven - two.seven, one.eight - two.eight);
     return re_val;
 }
示例#2
0
 public Vector8 Divide(Vector8 one, Vector8 two)
 {
     Vector8 re_val;
     re_val = new Vector8(one.one / two.one, one.two / two.two, one.three / two.three, one.four / two.four, one.five / two.five, one.six / two.six, one.seven / two.seven, one.eight / two.eight);
     return re_val;
 }
示例#3
0
 public Vector8 Multiply(Vector8 one, Vector8 two)
 {
     Vector8 re_val;
     re_val = new Vector8(one.one * two.one, one.two * two.two, one.three * two.three, one.four * two.four, one.five * two.five, one.six * two.six, one.seven * two.seven, one.eight * two.eight);
     return re_val;
 }
示例#4
0
 public Vector8 Add(Vector8 one, Vector8 two)
 {
     Vector8 re_val;
     re_val = new Vector8(one.one + two.one, one.two + two.two, one.three + two.three, one.four + two.four, one.five + two.five, one.six + two.six, one.seven + two.seven, one.eight + two.eight);
     return re_val;
 }