39
CS232

CS232

Embed Size (px)

DESCRIPTION

CS232. Schedule. 1. Introduction 2. Points vs vector (distance, balls, sphere) Chapter 1 3. Divide and Conquer: Algorithms for Near Neighbor Problem Handout (section). 4. Hyperplanes Chapter 2. Ray intersections Lines By linear equations By two points - PowerPoint PPT Presentation

Citation preview

Page 1: CS232

CS232

Page 2: CS232

Schedule

• 1. Introduction

• 2. Points vs vector (distance, balls, sphere)– Chapter 1

• 3. Divide and Conquer: Algorithms for Near Neighbor Problem– Handout (section)

Page 3: CS232

4. HyperplanesChapter 2

• Ray intersections• Lines

– By linear equations– By two points– When does a line passing the origin– Intersection of two lines – Matrix and algebraic approach (two variables

and two equations)

Page 4: CS232

3D

• Ray and mirrors

• Planes in three dimensions– By linear equations– By three points– When does a plane passing the origin

Page 5: CS232

Hyperplanes

– Intersection of three planes

– Matrix and algebraic approach (three variables and equations)

• Hypereplanes in n-dimensions– By linear equations

– By n points

– When does a hyperplane passing through the origin

– Intersection of n hyperplanes in n dimensions

Page 6: CS232

Matrix Form

• What is a matrix?

• Matrix vector multiplication– (inner product after all)

• Matrix form of intersection of n hyperplanes --- system of linear equations?

Page 7: CS232

Column Picture: combination of vectors

• Find proper linear combinations of vectors

• Visualize hyperplane is hard, so you might eventually like the column pictures.

Page 8: CS232

Repeated the questions

• Row pictures: n hyperplanes meets at a single points

• Column pictures: combines n vectors to produce another vector

Page 9: CS232

Gaussian Elimination

• Gaussian Elimination in 2 dimensions– example

• Pictures

• Pivots

• Multipliers

• Upper triangular matrix

• Back substitution

Page 10: CS232

Two dimensions

• Unique solution

• No solution

• Infinitely many solutions

• What if the pivot is 0!!!

Page 11: CS232

3D

• Gaussian Elimination in 3 dimensions– example

• Pictures• Pivots• Multipliers• Upper triangular matrix• Back substitution

• Can be extended to any dimensions

Page 12: CS232

5. Gaussian Elimination(General form)

• Matrix Algebra– Matrix addition– Scalar times a matrix– Matrix multiplication

• (dimensions have to agree)

– Associative law– Non commutative law

Page 13: CS232

Gaussian Elimination(General form)

• Identity matrix

• Elimination matrix

Page 14: CS232

Permutation Matrix

Page 15: CS232

Matrix algebra(General form)

• All the laws (page 58 – 59)

Page 16: CS232

Complexity of Matrix Multiplication

• cube

Page 17: CS232

Block Multiplication

Page 18: CS232

Strassen’s Fast Matrix Mulplication

• Divide and conquer

Page 19: CS232

6. Inverse Matrix7 Quiz 1

8 LU factorization • Rest of chapter 2

Page 20: CS232

9. Two dimensional convex Hull

• From the handout

• Convex combination

Page 21: CS232

10. Algorithms for Null space

• 3.1 – 3.3

Page 22: CS232

11. Complete Linear Solver

• 3.4 – 3.6

Page 23: CS232

12. No class13 Geometric Projection

• 4.1 – 4.2

Page 24: CS232

14. Midterm15 Least Square Algorithm

Page 25: CS232

16. QR Decomposition

Page 26: CS232

17-18 no classes spring break

Page 27: CS232

19. Hubs and AuthorityTheory for Webs

Hand out• Understanding webs

• How Google works

Page 28: CS232

20. Simplex and its Volume

• Chapter 5

Page 29: CS232

21. Determinants: Matrix Representation of volume

Page 30: CS232

22. Eivenvalue problem and Spectral Geometry

Page 31: CS232

23. Quiz 2

Page 32: CS232

24. Diagonalization

Page 33: CS232

25. Quadratic Shapes

• Positive Definite matrices

Page 34: CS232

26. Dimensional Reduction

• Singular value Decomposition

Page 35: CS232

27. Application: Computer Graphics

Page 36: CS232

28. Spherical Geometry

• Points on sphere

• Caps

• Stereographic Transformation

Page 37: CS232

29. Geometric Transformation

• Chapter 7

Page 38: CS232

30 Geometric Transformation

Page 39: CS232

31. Triangulations and Voronoi Diagram