public phasor(phasor p) { this.mX_cord = p.x; this.mY_cord = p.y; this.mRadius = p.mag; this.mAngle = p.angle_deg; this.number_dec_places = p.num_places; this.mult = Math.Pow(10, this.number_dec_places); }
public void comp_conj(phasor p) { this.mX_cord = p.x; this.mY_cord = -1 * p.y; update_on_cord(); }