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