コード例 #1
0
 // subtract specified complex number from current complex number
 public void Subtract(ComplexNumber other)
 {
     // ** COMPLETE ** -- Requires use of GetRe(), GetIm()
 }
コード例 #2
0
 // initialise a new complex number to be equal to
 // specified complex number
 public ComplexNumber(ComplexNumber other)
 {
     this.re = other.GetRe();
     this.im = other.GetIm();
 }