示例#1
0
        public static ComplexSample multiply(ComplexSample sample, float left, float right)
        {
            float l = (sample.left() * left) - (sample.right() * right);
            float r = (sample.right() * left) + (sample.left() * right);

            return(new ComplexSample(l, r));
        }
示例#2
0
        public static ComplexSample multiply(ComplexSample sample, float left, float right)
        {
            float l = (sample.left() * left) - (sample.right() * right);
            float r = (sample.right() * left) + (sample.left() * right);

            return new ComplexSample(l, r);
        }
示例#3
0
 /**
  * Adds the adder sample values to this sample
  */
 public void add(ComplexSample adder)
 {
     mLeft  += adder.left();
     mRight += adder.right();
 }
示例#4
0
 /**
  * Adds the adder sample values to this sample
  */
 public void add(ComplexSample adder)
 {
     mLeft += adder.left();
     mRight += adder.right();
 }