Ejemplo n.º 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));
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 3
0
 /**
  * Adds the adder sample values to this sample
  */
 public void add(ComplexSample adder)
 {
     mLeft  += adder.left();
     mRight += adder.right();
 }
Ejemplo n.º 4
0
 /**
  * Adds the adder sample values to this sample
  */
 public void add(ComplexSample adder)
 {
     mLeft += adder.left();
     mRight += adder.right();
 }