add IsElementOf + ColumnVector
This commit is contained in:
@@ -79,6 +79,9 @@ class Matrix {
|
||||
*/
|
||||
Matrix SubMatrix(std::size_t raw_origin, std::size_t column_origin, std::size_t raw, std::size_t column) const;
|
||||
|
||||
Matrix operator+(const Matrix& other) const;
|
||||
Matrix operator-(const Matrix& other) const;
|
||||
|
||||
bool operator==(const Matrix& other) const;
|
||||
|
||||
/**
|
||||
@@ -105,6 +108,16 @@ class Matrix {
|
||||
* \param size La taille de la matrice carrée
|
||||
*/
|
||||
static Matrix Identity(std::size_t size);
|
||||
|
||||
/**
|
||||
* \brief Construit une matrice colonne à partir de données existantes.\n
|
||||
* Exemple :
|
||||
* \code
|
||||
* Matrix::ColumnVector({1, 2, 3, 4});
|
||||
* \endcode
|
||||
* construit une matrice de 4 lignes et 1 colonne de coordonnées (1, 2, 3, 4)
|
||||
*/
|
||||
static Matrix ColumnVector(std::initializer_list<Element>&&);
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
|
||||
Reference in New Issue
Block a user