Re: Rotating NxN matrix by arbitrary angle

From: Venkatesh Kaushik <venkat.kaushik_at_cern.ch>
Date: Wed, 15 Dec 2010 15:10:23 -0700


Hi Nevzat,
ROOT has TMatrix class which does matrix operations. You can write a small program to rotate your matrix using it. I am not sure if someone has already written a custom library to do other transformations -- but here is the link to get started:

http://root.cern.ch/root/html526/TMatrixTBase_double_.html

HTH,
Venkat

nguler_at_jlab.org wrote:
> Hello all,
> Is there a tool in root to rotate NxN matrix (where N~4000) by an arbitrary
> angle? I am trying to compare two matrices by rotating one of them with some
> angle. Then I will make this angle a parameter and calculate chi2 and minimize
> it to determine best rotation angle. Thanks for your help.
>
> Good luck to Rene in his new GEANT project with great appreciations and great
> regards and congratulations to Fons for keeping the root going with the rest
> of the root team.
>
> - Nevzat Guler
>
>

-- 
=========================================================
Venkatesh Kaushik
Research Associate

University of Arizona              ATLAS Experiment_at_CERN
Office: PAS 334                    40-1-C11
Tucson, Arizona                    Genève, Switzerland
Tel: +1 520 626 7042               +41 22 76 79137
venkat_at_physics.arizona.edu         venkat.kaushik_at_cern.ch
       http://atlas.physics.arizona.edu/~venkat
========================================================= 
Received on Wed Dec 15 2010 - 23:10:39 CET

This archive was generated by hypermail 2.2.0 : Thu Dec 16 2010 - 05:50:02 CET