diff options
author | Norbert Preining <norbert@preining.info> | 2021-08-26 03:02:29 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-08-26 03:02:29 +0000 |
commit | 059cab71c68a3fbee36f60e8208d4a47d11c6b60 (patch) | |
tree | c982bcbf00c931a1474d68bf51dfeba5918cf76c /dviware/dvisvgm/src/Matrix.hpp | |
parent | 960421b0bcd1af561be3f2eb9468224969a7bd34 (diff) |
CTAN sync 202108260302
Diffstat (limited to 'dviware/dvisvgm/src/Matrix.hpp')
-rw-r--r-- | dviware/dvisvgm/src/Matrix.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dviware/dvisvgm/src/Matrix.hpp b/dviware/dvisvgm/src/Matrix.hpp index 154ac8a37b..cff7353055 100644 --- a/dviware/dvisvgm/src/Matrix.hpp +++ b/dviware/dvisvgm/src/Matrix.hpp @@ -2,7 +2,7 @@ ** Matrix.hpp ** ** ** ** This file is part of dvisvgm -- a fast DVI to SVG converter ** -** Copyright (C) 2005-2020 Martin Gieseking <martin.gieseking@uos.de> ** +** Copyright (C) 2005-2021 Martin Gieseking <martin.gieseking@uos.de> ** ** ** ** This program is free software; you can redistribute it and/or ** ** modify it under the terms of the GNU General Public License as ** @@ -40,11 +40,12 @@ class Matrix { friend double det (const Matrix &m, int row, int col); public: + Matrix () {set(0);} + Matrix (double d); Matrix (const std::string &cmds, Calculator &calc); - Matrix (double d=0); explicit Matrix (const double *v, unsigned size=9); explicit Matrix (const std::vector<double> &v, int start=0); - Matrix (std::initializer_list<double> initlist); + explicit Matrix (std::initializer_list<double> initlist); Matrix& set (double d); Matrix& set (const double *v, unsigned size); Matrix& set (const std::vector<double> &v, int start=0); |