SlideShare une entreprise Scribd logo
1  sur  23
Télécharger pour lire hors ligne
Geometric Algebra




Vitor Fernando Pamplona
Cross Product in nD?
• Why not?
  – V1 = (1.0, 2.0, 3.0, 4.0)
  – V2 = (-2.0, -3.0, -4.0, -5.0)


                               V1×V2=? ?


                  I       J      K       Q
                1,00    2,00   3,00    4,00    =   ???
               -2,00   -3,00   -4,00   -5,00
A language for geometry

               Geometric      Algebraic
               Concepts       Language



• Magnitude - size
                              3D       4,20
• Direction -orientation
• Sense - negative/positive
                                      35º
• Grade - dimension             CCW
                                            x
What we need?
• n-dimensional geometric language

• Represent the object grade

• Operate across different dimensions

• Geometrically intuitive

• Without limits

• Coordinate free

• Efficient

• Unify other algebras
Product of Vectors ?

                       vv = ?

                   v   vv = 3 e1  2 e2 ∗ 3 e1  2 e2 
                       vv = 9 e1 e1  6 e1 e2  6 e2 e1  4 e2 e2

   e2
        e1                   e1 e1 = ?
                             e1 e2 = ?
    v =3, 2                e2 e1 = ?
    v =3 e12 e2             e2 e2 = ?
Gibbs (Vector Algebra)
                       vv = 9 e1 e1  6 e1 e2  6 e2 e1  4 e2 e2



                   v
                                    {   ei⋅e j = 1      i = j
                                    ei⋅e j = e j⋅ei = 0  i ≠ j 

   e2
        e1
                       vv = 9  4 = 13
    v =3, 2
                       v ⋅v = 3,2 ∗ 3,2
    v =3 e12 e2       v⋅ v = 3 ∗ 3  2 ∗ 2        dot product

                       v ⋅ v = 13
Clifford (Geometric Algebra)
                       vv = 9 e1 e1  6 e1 e2  6 e2 e1  4 e2 e2



                   v
                                  {    ei ⋅e j = 1     i = j
                                   ei⋅e j  e j⋅ei = 0  i ≠ j 

   e2
        e1                   ei ⋅e j = −e j⋅e i      Anticomutivity

    v =3, 2
                       vv = 9 e1 e1  6 e1 e2 − 6 e1 e2  4 e2 e2
    v =3 e12 e2
                       vv = 9  4 = 13

                         Inner product
The Goal: Outer Product
• What's e1e2 ?
                                         e2
   – It isn't a scalar
   – It isn't a vector
                                         O               e1
                                              e1 ∧ e 2
                                                         2D
• It's a plane, a vector space (blade)                   CCW
                                         e2
• Called Bivector or 2-vector

                                         O               e1
• Outer products span                         e2 ∧ e 1
Inner product (dot)
• Outer product spans

                 1 e1 ∧  2 e2 =  1 ∗  2 e1 e2

                v
                        vv = 9 e1 e1  6 e1 e2 − 6 e1 e2  4 e2 e2

  e2
                        vv = 9  4 = 13
       e1


• Inner product projects
                     12 e1 e2 ⋅ e2 = 12 e1
Geometric Product
                     v
                               vv = 9 e 1 e 1  6 e 1 e 2 − 6 e 1 e 2  4 e 2 e 2

    e2
                               vv = 9  4 = 13
         e1


{      e i ⋅e j = 1      i = j 
 e i ⋅e j  e j ⋅e i = 0  i ≠ j 
                                                   v ∥u
                                                  v ⊥u
                                                            
                                                            
                                                                 v ∧ u = 0
                                                                 v ⋅ u = 0

                                vu = v ⋅u  v ∧ u


                         Inner product           Outer product
Contraction Inner Product
• Generalizes inner product to Blades
• Complement of the orthogonal projection

                                        a


               a B=
                               a B

                                            B

• Generalizing geometric product

                      vu = v    uv ∧ u
History of Geometric Algebra
                               Synthetic Geometry
300 BC                               Euclid

         Analitic Geometric
1637        Descartes

1798     Complex Álgebra                            1844
          Wessel, Gauss        1843                   Exterior Algebra
                                Quaternions              Grassman
                                 Hamilton
1854     Matrix Álgebra
            Cayley               1881                         1878
1878     Determinants             Vector Algebra     Clifford Algebra
           Sylvester                  Gibbs               Clifford

                  1890 Tensor Algebra                          1923
                                                                 Differential Forms
                              Ricci
1928     Spin Algebra                                                 E. Cartan
         Pauli, Dirac
                                          Geometric Algebra
Multivector
• Unique structure


      v ℜ3=                                  Scalar
              e 1   e2   e 3            Vectors
              e 1 e2   e1 e 3   e2 e3   2-Blades
              e 1 e2 e3                     3-Blades




• Outer product spans
• Inner product projects
Operations on Multivectors
• Graduated Involution

                  v k = −1k ∗ v k
                  

• Reverse
                  v k = −1k k − 1/ 2 ∗ v k
                                                   vu = uv
                                                     


• Conjugation
                        
                        
                  v k =v =v

• Inverse
                             v
                  v −1 =
                           ∣v ∣ ²
Operations on Multivectors (cont)
• Angle between vectors
                                     v ⋅u
                          cos  =
                                    ∣ ∣∣ ∣
                                     v u

• Pseudoscalar
   – Dimensional limit

                         ps ℜ 3=1∗e 1∧e 2 ∧e 3


• Dual
                            A= Ã k∗ ps
Operations on Multivectors (cont 2)
• Meet
             C =A∩B

• Join
             C =A∪B

• Sum and difference

             C =AB        C = A− B

• Nabla = Symmetric difference

             v 1 ∇ v 2=majorGrade v 1∗v 2 
Future Readings              [Dorst, 02a] [Vaz, 97]


• Projection of blades and Rejection

• Reflection

• Rotors

• Models
  – Homogeneous model / Plücker coordinates
  – Conformal model

• Quaternions
GA Frameworks
• GAViewer: Geometric algebra computations and visualize

• GAP: Geometric Algebra Package [Zaharia, 03]

• GAIGEN: Code generator to Geometric Algebra [Fontijne]

• GluCat: template classes to Clifford algebras

• GAGL: Geometric Algebra to OpenGL

• GEOMA: C++ Template Classes for Geometric Algebras
Multivector Implementations
• GAGL
                                          scalar , e 1 , e 2 , e 3 ,
   – Vector[8]                         e 1 ∧e 2 , e 1∧e 3 , e 2 ∧e 3 ,
   – Only in 3D.                                 e 1∧e 2 ∧e 3

• GEOMA
   – Matrix [2k][2k] where k = grade

• GluCat: ??

• GAP     scalar , e 1 , e 2 , e 3 , e 1 ∧e 2 , e 1∧e 3 , e 2 ∧e 3 , e 1∧e 2 ∧e 3
                                    EBLADE              EBLADE       EBLADE

                        HMV                    HMV                       HMV
Clean Multivector Implementation
• Think OO with low memory usage

• Two Classes
   – GAMultivector
   – GASpace

• Inside GAMultivector
   – double[length]: where length is a compile time method

                                 n
                      length=1∑ C n , k
                                k =1
Performance Aspects
• Raytracer benchmark
                                             (Fontijne, D. & Dorst,2003)

           Model Implem. Full Rend Time (s) Memory (MB)
           3DLA Standard        1,00           6,2
           3DGA Gaigen          2,56           6,7
           4DLA Standard        1,05           6,4
           4DGA Gaigen          2,97           7,7
           5DGA Gaigen          5,71           9,9
                                           FAST
•    3DLA: Linear Algebra
•    3DGA: Geometric Algebra
                                     ELEGANCE
•    4DLA: Homogeneous coordinates
•    4DGA: Homogeneous model
•    5DGA: Conformal model
So...


“... that it provides a single, simple mathematical framework
    which eliminates the plethora of diverse mathematical
               descriptions and techniques...”


                                   [McRobie and Lasenby, 1999]
References
•   Dorst, L. & Mann, S. Geometric algebra: a computational framework for geometrical
    applications (part II: aplications) IEEE Computer Graphics and Applications, 2002, 1
•   Dorst, L. & Mann, S. Geometric algebra: a computational framework for geometrical
    applications (part I: algebra) IEEE Computer Graphics and Applications, 2002, 1, 24-31
•   Fontijne, D. & Dorst, L. Modeling 3D Euclidean Geometry IEEE Computer Graphics and
    Applications, 2003
•   Macdonald, A. A Survey of Geometric Algebra and Geometric Calculus, 2005
•   Vaz, J.J. A álgebra geométrica do espaço euclidiano e a teoria de Pauli Revista
    Brasileira de Ensino de Física, 1997, 19, 234-259
•   Zaharia, M.D. & Dorst, L. The Interface Spec. and Implementation Internals of a
    Program Module for Geometric Algebra University of Amsterdam, 2003

Contenu connexe

Tendances

Linear transformations and matrices
Linear transformations and matricesLinear transformations and matrices
Linear transformations and matricesEasyStudy3
 
Vector Spaces,subspaces,Span,Basis
Vector Spaces,subspaces,Span,BasisVector Spaces,subspaces,Span,Basis
Vector Spaces,subspaces,Span,BasisRavi Gelani
 
2 linear independence
2 linear independence2 linear independence
2 linear independenceAmanSaeed11
 
Trace of Matrix - Linear Algebra
Trace of Matrix - Linear AlgebraTrace of Matrix - Linear Algebra
Trace of Matrix - Linear AlgebraSiddhantDixit6
 
Maths Symbols
Maths SymbolsMaths Symbols
Maths Symbolsjanobearn
 
8.3 Vectors
8.3 Vectors8.3 Vectors
8.3 Vectorssmiller5
 
THREE DIMENSIONAL GEOMETRY
THREE DIMENSIONAL GEOMETRYTHREE DIMENSIONAL GEOMETRY
THREE DIMENSIONAL GEOMETRYUrmila Bhardwaj
 
Euler's polyhedron theorem
Euler's polyhedron theoremEuler's polyhedron theorem
Euler's polyhedron theoremPranay Dutta
 
sets and venn diagrams
sets and venn diagramssets and venn diagrams
sets and venn diagramsShahmir Ali
 
Parabola
ParabolaParabola
Parabolaitutor
 
Chapter 4: Vector Spaces - Part 1/Slides By Pearson
Chapter 4: Vector Spaces - Part 1/Slides By PearsonChapter 4: Vector Spaces - Part 1/Slides By Pearson
Chapter 4: Vector Spaces - Part 1/Slides By PearsonChaimae Baroudi
 
linear transfermation.pptx
linear transfermation.pptxlinear transfermation.pptx
linear transfermation.pptxUmme habiba
 
Linear algebra-Basis & Dimension
Linear algebra-Basis & DimensionLinear algebra-Basis & Dimension
Linear algebra-Basis & DimensionManikanta satyala
 
Presentation on laplace transforms
Presentation on laplace transformsPresentation on laplace transforms
Presentation on laplace transformsHimel Himo
 

Tendances (20)

Linear transformations and matrices
Linear transformations and matricesLinear transformations and matrices
Linear transformations and matrices
 
Vector Spaces,subspaces,Span,Basis
Vector Spaces,subspaces,Span,BasisVector Spaces,subspaces,Span,Basis
Vector Spaces,subspaces,Span,Basis
 
2 linear independence
2 linear independence2 linear independence
2 linear independence
 
Trace of Matrix - Linear Algebra
Trace of Matrix - Linear AlgebraTrace of Matrix - Linear Algebra
Trace of Matrix - Linear Algebra
 
Maths Symbols
Maths SymbolsMaths Symbols
Maths Symbols
 
Vector space
Vector spaceVector space
Vector space
 
8.3 Vectors
8.3 Vectors8.3 Vectors
8.3 Vectors
 
THREE DIMENSIONAL GEOMETRY
THREE DIMENSIONAL GEOMETRYTHREE DIMENSIONAL GEOMETRY
THREE DIMENSIONAL GEOMETRY
 
Graph theory
Graph  theoryGraph  theory
Graph theory
 
Vector calculus
Vector calculusVector calculus
Vector calculus
 
Number Theory - Lesson 1 - Introduction to Number Theory
Number Theory - Lesson 1 - Introduction to Number TheoryNumber Theory - Lesson 1 - Introduction to Number Theory
Number Theory - Lesson 1 - Introduction to Number Theory
 
Euler's polyhedron theorem
Euler's polyhedron theoremEuler's polyhedron theorem
Euler's polyhedron theorem
 
sets and venn diagrams
sets and venn diagramssets and venn diagrams
sets and venn diagrams
 
Parabola
ParabolaParabola
Parabola
 
Straight lines
Straight linesStraight lines
Straight lines
 
Chapter 4: Vector Spaces - Part 1/Slides By Pearson
Chapter 4: Vector Spaces - Part 1/Slides By PearsonChapter 4: Vector Spaces - Part 1/Slides By Pearson
Chapter 4: Vector Spaces - Part 1/Slides By Pearson
 
linear transfermation.pptx
linear transfermation.pptxlinear transfermation.pptx
linear transfermation.pptx
 
Laplace transform
Laplace transformLaplace transform
Laplace transform
 
Linear algebra-Basis & Dimension
Linear algebra-Basis & DimensionLinear algebra-Basis & Dimension
Linear algebra-Basis & Dimension
 
Presentation on laplace transforms
Presentation on laplace transformsPresentation on laplace transforms
Presentation on laplace transforms
 

Similaire à Introduction about Geometric Algebra

Understand Of Linear Algebra
Understand Of Linear AlgebraUnderstand Of Linear Algebra
Understand Of Linear AlgebraEdward Yoon
 
Lesson03 Dot Product And Matrix Multiplication Slides Notes
Lesson03    Dot  Product And  Matrix  Multiplication Slides NotesLesson03    Dot  Product And  Matrix  Multiplication Slides Notes
Lesson03 Dot Product And Matrix Multiplication Slides NotesMatthew Leingang
 
Lesson 12: Linear Independence
Lesson 12: Linear IndependenceLesson 12: Linear Independence
Lesson 12: Linear IndependenceMatthew Leingang
 
X2 T08 03 inequalities & graphs
X2 T08 03 inequalities & graphsX2 T08 03 inequalities & graphs
X2 T08 03 inequalities & graphsNigel Simmons
 
Lesson32 Second Order Difference Equations Slides
Lesson32   Second Order Difference Equations SlidesLesson32   Second Order Difference Equations Slides
Lesson32 Second Order Difference Equations SlidesMatthew Leingang
 
Eigenvalues in a Nutshell
Eigenvalues in a NutshellEigenvalues in a Nutshell
Eigenvalues in a Nutshellguest9006ab
 
3.1 Quadratic Functions and Models
3.1 Quadratic Functions and Models3.1 Quadratic Functions and Models
3.1 Quadratic Functions and Modelssmiller5
 
Lesson 26: Optimization II: Data Fitting
Lesson 26: Optimization II: Data FittingLesson 26: Optimization II: Data Fitting
Lesson 26: Optimization II: Data FittingMatthew Leingang
 
General Math Lesson 3
General Math Lesson 3General Math Lesson 3
General Math Lesson 3alicelagajino
 
Jawapan modul ulangkaji berfokus online
Jawapan modul ulangkaji berfokus onlineJawapan modul ulangkaji berfokus online
Jawapan modul ulangkaji berfokus onlineNasrul Zairi
 
Arc lengthparametrization
Arc lengthparametrizationArc lengthparametrization
Arc lengthparametrizationDivya Anand
 
Geometric Algebra 2: Applications
Geometric Algebra 2: ApplicationsGeometric Algebra 2: Applications
Geometric Algebra 2: ApplicationsVitor Pamplona
 
Lesson 9: Gaussian Elimination
Lesson 9: Gaussian EliminationLesson 9: Gaussian Elimination
Lesson 9: Gaussian EliminationMatthew Leingang
 
2.8 Function Operations and Composition
2.8 Function Operations and Composition2.8 Function Operations and Composition
2.8 Function Operations and Compositionsmiller5
 
Do Wide and Deep Networks Learn the Same Things: Uncovering How Neural Networ...
Do Wide and Deep Networks Learn the Same Things: Uncovering How Neural Networ...Do Wide and Deep Networks Learn the Same Things: Uncovering How Neural Networ...
Do Wide and Deep Networks Learn the Same Things: Uncovering How Neural Networ...Sungchul Kim
 
Lesson 22: Optimization I (Section 10 Version)
Lesson 22: Optimization I (Section 10 Version)Lesson 22: Optimization I (Section 10 Version)
Lesson 22: Optimization I (Section 10 Version)Matthew Leingang
 

Similaire à Introduction about Geometric Algebra (20)

Midterm I Review
Midterm I ReviewMidterm I Review
Midterm I Review
 
Understand Of Linear Algebra
Understand Of Linear AlgebraUnderstand Of Linear Algebra
Understand Of Linear Algebra
 
Lesson03 Dot Product And Matrix Multiplication Slides Notes
Lesson03    Dot  Product And  Matrix  Multiplication Slides NotesLesson03    Dot  Product And  Matrix  Multiplication Slides Notes
Lesson03 Dot Product And Matrix Multiplication Slides Notes
 
Lesson 12: Linear Independence
Lesson 12: Linear IndependenceLesson 12: Linear Independence
Lesson 12: Linear Independence
 
X2 T08 03 inequalities & graphs
X2 T08 03 inequalities & graphsX2 T08 03 inequalities & graphs
X2 T08 03 inequalities & graphs
 
Lesson32 Second Order Difference Equations Slides
Lesson32   Second Order Difference Equations SlidesLesson32   Second Order Difference Equations Slides
Lesson32 Second Order Difference Equations Slides
 
Eigenvalues in a Nutshell
Eigenvalues in a NutshellEigenvalues in a Nutshell
Eigenvalues in a Nutshell
 
3.1 Quadratic Functions and Models
3.1 Quadratic Functions and Models3.1 Quadratic Functions and Models
3.1 Quadratic Functions and Models
 
Lesson 26: Optimization II: Data Fitting
Lesson 26: Optimization II: Data FittingLesson 26: Optimization II: Data Fitting
Lesson 26: Optimization II: Data Fitting
 
General Math Lesson 3
General Math Lesson 3General Math Lesson 3
General Math Lesson 3
 
Jawapan modul ulangkaji berfokus online
Jawapan modul ulangkaji berfokus onlineJawapan modul ulangkaji berfokus online
Jawapan modul ulangkaji berfokus online
 
Arc lengthparametrization
Arc lengthparametrizationArc lengthparametrization
Arc lengthparametrization
 
Geometric Algebra 2: Applications
Geometric Algebra 2: ApplicationsGeometric Algebra 2: Applications
Geometric Algebra 2: Applications
 
Lesson 9: Gaussian Elimination
Lesson 9: Gaussian EliminationLesson 9: Gaussian Elimination
Lesson 9: Gaussian Elimination
 
2.8 Function Operations and Composition
2.8 Function Operations and Composition2.8 Function Operations and Composition
2.8 Function Operations and Composition
 
Proj Stat
Proj StatProj Stat
Proj Stat
 
Do Wide and Deep Networks Learn the Same Things: Uncovering How Neural Networ...
Do Wide and Deep Networks Learn the Same Things: Uncovering How Neural Networ...Do Wide and Deep Networks Learn the Same Things: Uncovering How Neural Networ...
Do Wide and Deep Networks Learn the Same Things: Uncovering How Neural Networ...
 
Lesson 22: Optimization I (Section 10 Version)
Lesson 22: Optimization I (Section 10 Version)Lesson 22: Optimization I (Section 10 Version)
Lesson 22: Optimization I (Section 10 Version)
 
Quantum Logic
Quantum LogicQuantum Logic
Quantum Logic
 
Do you know the line
Do you know the lineDo you know the line
Do you know the line
 

Plus de Vitor Pamplona

Tailored Displays to Compensate for Visual Aberrations - SIGGRAPH Presentation
Tailored Displays to Compensate for Visual Aberrations - SIGGRAPH PresentationTailored Displays to Compensate for Visual Aberrations - SIGGRAPH Presentation
Tailored Displays to Compensate for Visual Aberrations - SIGGRAPH PresentationVitor Pamplona
 
CATRA: Interactive Measuring and Modelling of Cataracts
CATRA: Interactive Measuring and Modelling of CataractsCATRA: Interactive Measuring and Modelling of Cataracts
CATRA: Interactive Measuring and Modelling of CataractsVitor Pamplona
 
Netra at Mobile Health Expo NYC
Netra at Mobile Health Expo NYCNetra at Mobile Health Expo NYC
Netra at Mobile Health Expo NYCVitor Pamplona
 
Unusual apps: NETRA and CATRA
Unusual apps: NETRA and CATRAUnusual apps: NETRA and CATRA
Unusual apps: NETRA and CATRAVitor Pamplona
 
Photorealistic Models for Pupil Light Reflex and Iridal Pattern Deformation
Photorealistic Models for Pupil Light Reflex and Iridal Pattern DeformationPhotorealistic Models for Pupil Light Reflex and Iridal Pattern Deformation
Photorealistic Models for Pupil Light Reflex and Iridal Pattern DeformationVitor Pamplona
 
NETRA on SIGGRAPH 2010
NETRA on SIGGRAPH 2010NETRA on SIGGRAPH 2010
NETRA on SIGGRAPH 2010Vitor Pamplona
 
Modelos Foto-realistas para reflexo pupilar à luz e deformação dos padrões da...
Modelos Foto-realistas para reflexo pupilar à luz e deformação dos padrões da...Modelos Foto-realistas para reflexo pupilar à luz e deformação dos padrões da...
Modelos Foto-realistas para reflexo pupilar à luz e deformação dos padrões da...Vitor Pamplona
 
Introdução ao Algoritmo Photon Mapping
Introdução ao Algoritmo Photon MappingIntrodução ao Algoritmo Photon Mapping
Introdução ao Algoritmo Photon MappingVitor Pamplona
 
Algoritmo de Photon Mapping
Algoritmo de Photon MappingAlgoritmo de Photon Mapping
Algoritmo de Photon MappingVitor Pamplona
 
Performance Analysis: C vs CUDA
Performance Analysis: C vs CUDAPerformance Analysis: C vs CUDA
Performance Analysis: C vs CUDAVitor Pamplona
 
Propagação de Incerteza em Medições
Propagação de Incerteza em MediçõesPropagação de Incerteza em Medições
Propagação de Incerteza em MediçõesVitor Pamplona
 
Turbinando sua Carreira: mestrado, devo encarar essa?
Turbinando sua Carreira: mestrado, devo encarar essa?Turbinando sua Carreira: mestrado, devo encarar essa?
Turbinando sua Carreira: mestrado, devo encarar essa?Vitor Pamplona
 
Criando Projetos Open Source
Criando Projetos Open SourceCriando Projetos Open Source
Criando Projetos Open SourceVitor Pamplona
 

Plus de Vitor Pamplona (20)

SciBr foundation 2017
SciBr foundation 2017SciBr foundation 2017
SciBr foundation 2017
 
SciBr foundation 2018
SciBr foundation 2018SciBr foundation 2018
SciBr foundation 2018
 
Defesa de Tese
Defesa de TeseDefesa de Tese
Defesa de Tese
 
Tailored Displays to Compensate for Visual Aberrations - SIGGRAPH Presentation
Tailored Displays to Compensate for Visual Aberrations - SIGGRAPH PresentationTailored Displays to Compensate for Visual Aberrations - SIGGRAPH Presentation
Tailored Displays to Compensate for Visual Aberrations - SIGGRAPH Presentation
 
CATRA: Interactive Measuring and Modelling of Cataracts
CATRA: Interactive Measuring and Modelling of CataractsCATRA: Interactive Measuring and Modelling of Cataracts
CATRA: Interactive Measuring and Modelling of Cataracts
 
Netra at Mobile Health Expo NYC
Netra at Mobile Health Expo NYCNetra at Mobile Health Expo NYC
Netra at Mobile Health Expo NYC
 
Unusual apps: NETRA and CATRA
Unusual apps: NETRA and CATRAUnusual apps: NETRA and CATRA
Unusual apps: NETRA and CATRA
 
Free software basics
Free software basicsFree software basics
Free software basics
 
Photorealistic Models for Pupil Light Reflex and Iridal Pattern Deformation
Photorealistic Models for Pupil Light Reflex and Iridal Pattern DeformationPhotorealistic Models for Pupil Light Reflex and Iridal Pattern Deformation
Photorealistic Models for Pupil Light Reflex and Iridal Pattern Deformation
 
NETRA on SIGGRAPH 2010
NETRA on SIGGRAPH 2010NETRA on SIGGRAPH 2010
NETRA on SIGGRAPH 2010
 
Modelos Foto-realistas para reflexo pupilar à luz e deformação dos padrões da...
Modelos Foto-realistas para reflexo pupilar à luz e deformação dos padrões da...Modelos Foto-realistas para reflexo pupilar à luz e deformação dos padrões da...
Modelos Foto-realistas para reflexo pupilar à luz e deformação dos padrões da...
 
Introdução ao Algoritmo Photon Mapping
Introdução ao Algoritmo Photon MappingIntrodução ao Algoritmo Photon Mapping
Introdução ao Algoritmo Photon Mapping
 
Algoritmo de Photon Mapping
Algoritmo de Photon MappingAlgoritmo de Photon Mapping
Algoritmo de Photon Mapping
 
Performance Analysis: C vs CUDA
Performance Analysis: C vs CUDAPerformance Analysis: C vs CUDA
Performance Analysis: C vs CUDA
 
Anotação de Imagens
Anotação de ImagensAnotação de Imagens
Anotação de Imagens
 
Propagação de Incerteza em Medições
Propagação de Incerteza em MediçõesPropagação de Incerteza em Medições
Propagação de Incerteza em Medições
 
Turbinando sua Carreira: mestrado, devo encarar essa?
Turbinando sua Carreira: mestrado, devo encarar essa?Turbinando sua Carreira: mestrado, devo encarar essa?
Turbinando sua Carreira: mestrado, devo encarar essa?
 
Criando Projetos Open Source
Criando Projetos Open SourceCriando Projetos Open Source
Criando Projetos Open Source
 
O Mundo Open Source
O Mundo Open SourceO Mundo Open Source
O Mundo Open Source
 
Mobile 3D Game Engine
Mobile 3D Game EngineMobile 3D Game Engine
Mobile 3D Game Engine
 

Dernier

Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 

Dernier (20)

Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 

Introduction about Geometric Algebra

  • 2. Cross Product in nD? • Why not? – V1 = (1.0, 2.0, 3.0, 4.0) – V2 = (-2.0, -3.0, -4.0, -5.0) V1×V2=? ? I J K Q 1,00 2,00 3,00 4,00 = ??? -2,00 -3,00 -4,00 -5,00
  • 3. A language for geometry Geometric Algebraic Concepts Language • Magnitude - size 3D 4,20 • Direction -orientation • Sense - negative/positive 35º • Grade - dimension CCW x
  • 4. What we need? • n-dimensional geometric language • Represent the object grade • Operate across different dimensions • Geometrically intuitive • Without limits • Coordinate free • Efficient • Unify other algebras
  • 5. Product of Vectors ? vv = ? v vv = 3 e1  2 e2 ∗ 3 e1  2 e2  vv = 9 e1 e1  6 e1 e2  6 e2 e1  4 e2 e2 e2 e1 e1 e1 = ? e1 e2 = ? v =3, 2 e2 e1 = ? v =3 e12 e2 e2 e2 = ?
  • 6. Gibbs (Vector Algebra) vv = 9 e1 e1  6 e1 e2  6 e2 e1  4 e2 e2 v { ei⋅e j = 1 i = j ei⋅e j = e j⋅ei = 0  i ≠ j  e2 e1 vv = 9  4 = 13 v =3, 2 v ⋅v = 3,2 ∗ 3,2 v =3 e12 e2 v⋅ v = 3 ∗ 3  2 ∗ 2 dot product v ⋅ v = 13
  • 7. Clifford (Geometric Algebra) vv = 9 e1 e1  6 e1 e2  6 e2 e1  4 e2 e2 v { ei ⋅e j = 1 i = j ei⋅e j  e j⋅ei = 0  i ≠ j  e2 e1 ei ⋅e j = −e j⋅e i Anticomutivity v =3, 2 vv = 9 e1 e1  6 e1 e2 − 6 e1 e2  4 e2 e2 v =3 e12 e2 vv = 9  4 = 13 Inner product
  • 8. The Goal: Outer Product • What's e1e2 ? e2 – It isn't a scalar – It isn't a vector O e1 e1 ∧ e 2 2D • It's a plane, a vector space (blade) CCW e2 • Called Bivector or 2-vector O e1 • Outer products span e2 ∧ e 1
  • 9. Inner product (dot) • Outer product spans  1 e1 ∧  2 e2 =  1 ∗  2 e1 e2 v vv = 9 e1 e1  6 e1 e2 − 6 e1 e2  4 e2 e2 e2 vv = 9  4 = 13 e1 • Inner product projects  12 e1 e2 ⋅ e2 = 12 e1
  • 10. Geometric Product v vv = 9 e 1 e 1  6 e 1 e 2 − 6 e 1 e 2  4 e 2 e 2 e2 vv = 9  4 = 13 e1 { e i ⋅e j = 1 i = j  e i ⋅e j  e j ⋅e i = 0  i ≠ j  v ∥u v ⊥u   v ∧ u = 0 v ⋅ u = 0 vu = v ⋅u  v ∧ u Inner product Outer product
  • 11. Contraction Inner Product • Generalizes inner product to Blades • Complement of the orthogonal projection a a B= a B B • Generalizing geometric product vu = v uv ∧ u
  • 12. History of Geometric Algebra Synthetic Geometry 300 BC Euclid Analitic Geometric 1637 Descartes 1798 Complex Álgebra 1844 Wessel, Gauss 1843 Exterior Algebra Quaternions Grassman Hamilton 1854 Matrix Álgebra Cayley 1881 1878 1878 Determinants Vector Algebra Clifford Algebra Sylvester Gibbs Clifford 1890 Tensor Algebra 1923 Differential Forms Ricci 1928 Spin Algebra E. Cartan Pauli, Dirac Geometric Algebra
  • 13. Multivector • Unique structure v ℜ3=  Scalar   e 1   e2   e 3 Vectors   e 1 e2   e1 e 3   e2 e3 2-Blades   e 1 e2 e3 3-Blades • Outer product spans • Inner product projects
  • 14. Operations on Multivectors • Graduated Involution v k = −1k ∗ v k  • Reverse v k = −1k k − 1/ 2 ∗ v k   vu = uv  • Conjugation     v k =v =v • Inverse v v −1 = ∣v ∣ ²
  • 15. Operations on Multivectors (cont) • Angle between vectors v ⋅u cos  = ∣ ∣∣ ∣ v u • Pseudoscalar – Dimensional limit ps ℜ 3=1∗e 1∧e 2 ∧e 3 • Dual A= Ã k∗ ps
  • 16. Operations on Multivectors (cont 2) • Meet C =A∩B • Join C =A∪B • Sum and difference C =AB C = A− B • Nabla = Symmetric difference v 1 ∇ v 2=majorGrade v 1∗v 2 
  • 17. Future Readings [Dorst, 02a] [Vaz, 97] • Projection of blades and Rejection • Reflection • Rotors • Models – Homogeneous model / Plücker coordinates – Conformal model • Quaternions
  • 18. GA Frameworks • GAViewer: Geometric algebra computations and visualize • GAP: Geometric Algebra Package [Zaharia, 03] • GAIGEN: Code generator to Geometric Algebra [Fontijne] • GluCat: template classes to Clifford algebras • GAGL: Geometric Algebra to OpenGL • GEOMA: C++ Template Classes for Geometric Algebras
  • 19. Multivector Implementations • GAGL scalar , e 1 , e 2 , e 3 , – Vector[8] e 1 ∧e 2 , e 1∧e 3 , e 2 ∧e 3 , – Only in 3D. e 1∧e 2 ∧e 3 • GEOMA – Matrix [2k][2k] where k = grade • GluCat: ?? • GAP scalar , e 1 , e 2 , e 3 , e 1 ∧e 2 , e 1∧e 3 , e 2 ∧e 3 , e 1∧e 2 ∧e 3 EBLADE EBLADE EBLADE HMV HMV HMV
  • 20. Clean Multivector Implementation • Think OO with low memory usage • Two Classes – GAMultivector – GASpace • Inside GAMultivector – double[length]: where length is a compile time method n length=1∑ C n , k k =1
  • 21. Performance Aspects • Raytracer benchmark (Fontijne, D. & Dorst,2003) Model Implem. Full Rend Time (s) Memory (MB) 3DLA Standard 1,00 6,2 3DGA Gaigen 2,56 6,7 4DLA Standard 1,05 6,4 4DGA Gaigen 2,97 7,7 5DGA Gaigen 5,71 9,9 FAST • 3DLA: Linear Algebra • 3DGA: Geometric Algebra ELEGANCE • 4DLA: Homogeneous coordinates • 4DGA: Homogeneous model • 5DGA: Conformal model
  • 22. So... “... that it provides a single, simple mathematical framework which eliminates the plethora of diverse mathematical descriptions and techniques...” [McRobie and Lasenby, 1999]
  • 23. References • Dorst, L. & Mann, S. Geometric algebra: a computational framework for geometrical applications (part II: aplications) IEEE Computer Graphics and Applications, 2002, 1 • Dorst, L. & Mann, S. Geometric algebra: a computational framework for geometrical applications (part I: algebra) IEEE Computer Graphics and Applications, 2002, 1, 24-31 • Fontijne, D. & Dorst, L. Modeling 3D Euclidean Geometry IEEE Computer Graphics and Applications, 2003 • Macdonald, A. A Survey of Geometric Algebra and Geometric Calculus, 2005 • Vaz, J.J. A álgebra geométrica do espaço euclidiano e a teoria de Pauli Revista Brasileira de Ensino de Física, 1997, 19, 234-259 • Zaharia, M.D. & Dorst, L. The Interface Spec. and Implementation Internals of a Program Module for Geometric Algebra University of Amsterdam, 2003