Skip to content

2D visualization of householder reflector and givens rotation of a given vector.

License

Notifications You must be signed in to change notification settings

lucianodainic/householder-givens

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

householder-givens

Let $x \in \mathbb{R}^2$ be a random vector then its rotation by $ \theta $ degrees is computed by Givens rotation method: $ \vec{x'} = \begin{pmatrix} c & -s\ s & c \end{pmatrix} \vec{x}$ , where $ c = \cos{\theta} $ and $s = \sin{\theta} $ and its reflection over a subspace orthogonal to a given unit vector $ v \in \mathbb{R}^2 $ is $ \vec{x''} = \vec{x}-2[(\vec{x} \cdot \vec{v}) \vec{v}] $.

Prerequisites

To run the application you need to have installed the python packages from requirements.txt.

Application

Application starts by running the app.py script.

housholder screenshot givens screenshot

  • 🔵 : x
  • 🟢 : x' / x'' (rotation/ reflection)
  • 🔴 : orthogonal subspace

About

2D visualization of householder reflector and givens rotation of a given vector.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages