My Project
gmatrix.h
Go to the documentation of this file.
1 
12 #pragma once
13 
14 #include "gvector.h"
15 
16 using std::vector;
17 
24 class GMatrix
25 {
26 public:
30  GMatrix();
31 
36  GMatrix(const GMatrix& other);
37 
42  GMatrix(GMatrix&& other);
43 
47  ~GMatrix();
48 
54  GMatrix& operator=(GMatrix other);
55 
61  GVector& operator[](const unsigned long index);
62 
68  const GVector& operator[](const unsigned long index) const;
69 
75 
81  GMatrix operator*(const double value);
82 
88  GMatrix operator*(const GMatrix& other);
89 
96  bool inverse();
97 
99 
100 private:
101  vector<GVector> matrix;
102 };
~GMatrix()
Definition: gmatrix.cpp:30
GVector & operator[](const unsigned long index)
Definition: gmatrix.cpp:46
GMatrix operator-()
Definition: gmatrix.cpp:56
Define geometric vector.
Definition: gvector.h:26
GMatrix operator*(const double value)
Definition: gmatrix.cpp:63
GMatrix & operator=(GMatrix other)
Definition: gmatrix.cpp:35
GMatrix()
Definition: gmatrix.cpp:5
bool inverse()
Definition: gmatrix.cpp:96
Define geometric matrix.
Definition: gmatrix.h:24
Define geometric vector.
GMatrix transposition()
Definition: gmatrix.cpp:171