close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#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 19 years ago by Christian Paz

Owner: changed from danirus to Christian Paz
Summary: problem with the conjugation complex problem with the conjugation complex

comment:2 Changed 19 years ago by Christian Paz

Resolution: fixed
Status: newclosed

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.

comment:3 Changed 18 years ago by Víctor de Buen Remiro

bug_file_loc: http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000338
Note: See TracTickets for help on using tickets.