You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A linear transformation is a function from one vector space to another that respects the linear structure of each vector space ([Learn more](https://brilliant.org/wiki/linear-transformations/)). For visualizing this we can transform a vector as we can see in the Fig. 1.
<figcaptionstyle="text-align: center;">Fig.1 - Vector transformed with a transformation matrix</figcaption>
13
+
</figure>
14
+
15
+
But it has an obvious problem, because the linear transformation transform the whole space, not just the vector, in other words it transforms the basis vectors thus every vector in the space gets transformed too. That's why i created this app so everyone can see how a transformation matrix change the whole space.
16
+
17
+
## Installation guide
18
+
19
+
### With the executable file
20
+
21
+
1. Install Python from the [python web](https://www.python.org/).
22
+
2. Download the executable file for your OS (Linux or Windows).
23
+
3. Execute the file.
24
+
4. Start using.
25
+
26
+
The executable was created with [PyInstaller](http://www.pyinstaller.org/).
27
+
28
+
### Manual installation
29
+
30
+
1. Install Python from the [python web](https://www.python.org/).
31
+
2. Install pip from the [pip web](https://pip.pypa.io/en/stable/installing/)
32
+
3. Install the dependences using pip.
33
+
- pip install sympy
34
+
- pip install pyqt5
35
+
- pip install numpy
36
+
4. Download the main.py, Plotting.py and Matrix.py files.
37
+
5. In the console go to the files location
38
+
6. Run the main file with <code>python3.8 main.py</code>
[N(matrix[2,0]),N(matrix[2,1]),N(matrix[2,2])]])) # get a transformed grid
93
+
plot.scatter(xyzgrid,colors)
94
+
adjust_plot(plot.axes)
95
+
plot.fig.canvas.draw()
96
+
plot.fig.canvas.flush_events()
97
+
except:
98
+
exceptionDialog('An error has ocurred. Remember that you only can write operations between numbers or trigonometric functions in the matrix boxes. ex. sin(3*pi/2) or sqrt(2)/2+5')
0 commit comments