Editing
Linear Algebra
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== <span style="color: #FFFFFF;">Applying</span> == '''Modeling 'Image Transformations' (Scaling and Rotating):''' <syntaxhighlight lang="python"> import numpy as np def transform_point(x, y, scale_factor, rotation_deg): """ Shows how a Matrix 'moves' a point. """ theta = np.radians(rotation_deg) # The Rotation Matrix R = np.array([ [np.cos(theta), -np.sin(theta)], [np.sin(theta), np.cos(theta)] ]) # The Scale Matrix S = np.array([ [scale_factor, 0], [0, scale_factor] ]) point = np.array([x, y]) # Apply Scale then Rotation new_point = R @ S @ point return new_point # Move point [1, 0] by scaling 2x and rotating 90 deg print(f"New Position: {transform_point(1, 0, 2, 90)}") # This is how GPUs render 3D games and movies. </syntaxhighlight> ; Linear Algebra in Tech : '''Data Compression (SVD)''' β Breaking a giant matrix (like an image) into smaller ones to save space without losing detail. : '''Principal Component Analysis (PCA)''' β Finding the most important "directions" in a massive dataset to simplify it. : '''Deep Learning''' β Every layer of a neural network is just a "Matrix Multiplication" followed by a small non-linear tweak. : '''Cryptography''' β Using matrix operations that are easy to do but "hard to undo" without a key (Lattice-based crypto). </div> <div style="background-color: #8B4500; color: #FFFFFF; padding: 20px; border-radius: 8px; margin-bottom: 15px;">
Summary:
Please note that all contributions to BloomWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BloomWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information