#338 closed defect (fixed)
problem with the conjugation complex
| Reported by: | jcolombo | Owned by: | Christian Paz |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Math | Version: | 1.1.3 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
the conjugation function is not working in the correct way.
See example:
Complex aa = (3)+i*(4);
Complex conjugado = ~(aa);
the correct answer is (3)+i*(-4)
but the tol answer is (3.000000)+i*(4.000000).
Beyond that, is not possible implement the functions: imaginary part, real part
and the norm of a complex number.
considerately, Jones Colombo
Change History (3)
comment:1 Changed 20 years ago by
| Owner: | changed from danirus to Christian Paz |
|---|---|
| Summary: | problem with the conjugation complex → problem with the conjugation complex |
comment:2 Changed 20 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:3 Changed 19 years ago by
| bug_file_loc: | → http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000338 |
|---|
Note: See
TracTickets for help on using
tickets.

The parser was modified to recognize ~ as a valid symbol and as a monary
operator.
The ~ C++ operator was eliminated since it is not recommended because possible
confusion with destructor operator of class.
We expect to implement the suggested functions as soon as posible.