/** * Multiplies the float components of another complex with this one. * * @param x The x (real) component of the complex to multiply with * @param y The y (imaginary) component of the complex to multiply with * @return A new complex, which is the product of both */ public Complexd mul(float x, float y) { return mul((double) x, (double) y); }
/** * Multiplies the float components of another complex with this one. * * @param x The x (real) component of the complex to multiply with * @param y The y (imaginary) component of the complex to multiply with * @return A new complex, which is the product of both */ public Complexd mul(float x, float y) { return mul((double) x, (double) y); }
/** * Multiplies the components of this complex by a float scalar. * * @param a The multiplication scalar * @return A new complex, which has each component multiplied by the scalar */ public Complexd mul(float a) { return mul((double) a); }
/** * Multiplies another complex with this one. * * @param c The complex to multiply with * @return A new complex, which is the product of both */ public Complexd mul(Complexd c) { return mul(c.x, c.y); }
/** * Multiplies the components of this complex by a float scalar. * * @param a The multiplication scalar * @return A new complex, which has each component multiplied by the scalar */ public Complexd mul(float a) { return mul((double) a); }
/** * Multiplies another complex with this one. * * @param c The complex to multiply with * @return A new complex, which is the product of both */ public Complexd mul(Complexd c) { return mul(c.x, c.y); }