Tk Library Source Code

View Ticket
Login
Ticket UUID: 1393564
Title: erorr in ::math::linearalgebra::angle
Type: Bug Version: None
Submitter: ramsan Created on: 2005-12-30 11:41:51
Subsystem: math Assigned To: arjenmarkus
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2006-01-29 16:13:22
Resolution: Fixed Closed By: andreas_kupries
    Closed on: 2006-01-29 09:13:22
Description:
Hello,

There is an error in:

::math::linearalgebra::angle

instead of:

set n1 [norm_2 $vect1]
set n2 [norm_2 $vect2]

it should be:

set n1 [norm $vect1]
set n2 [norm $vect2]

or also:

set n1 [norm_two $vect1]
set n2 [norm_two $vect2]

Also, there is no cross product fucnction in the
package. It is a VERY common need for 3D vectors.

 Regards,
User Comments: andreas_kupries added on 2006-01-29 16:13:22:
Logged In: YES 
user_id=75003

In other words, this is fixed, right ? Closing the report.

arjenmarkus added on 2006-01-10 16:45:40:
Logged In: YES 
user_id=400048

You are quite right. I have corrected the procedure angle 
and I have added a procedure crossproduct.

Thanks for reporting this.

The new files are in CVS