Commit Graph

30 Commits

Author SHA1 Message Date
Jan Möbius
7c5363916d Updated license header 2022-01-18 09:50:04 +01:00
Martin Heistermann
29959d8cf5 VectorT: Implement .cross() and .dot() methods.
Aliases for operators % and | for better compatibility with Eigen3.
2020-03-30 19:04:26 +02:00
Max Lyon
2237321c1c fix non-member min and max functions 2019-11-08 09:49:42 +01:00
Max Lyon
eae634fe94 add method to move construct vector from array 2019-11-06 14:16:25 +01:00
Max Lyon
da233b391e fix return type of non-member min and max functions 2019-10-07 14:57:24 +02:00
Max Lyon
592c13ab5c add non-member versions of min and max for vector class 2019-10-07 13:05:49 +02:00
Christian Mattes
377562d11a Fixed last occurences of non-free-function usage (at least as far as covered by the tests). 2018-04-12 15:16:50 +02:00
Christian Mattes
57e2e07432 Implemented necessary free functions for OpenMesh Vectors 2018-04-12 11:30:12 +02:00
Janis Born
0f42d48cfb make Vector11T converting ctor only accept at least 2 arguments
(hence making all single-argument ctors explicit)
2017-02-10 15:55:29 +01:00
Jan Möbius
f846b75202 Typo 2016-11-08 12:27:32 +01:00
Janis Born
12ad76fccf attempt to quench 'Checked Iterator' warnings in VS2015 2016-11-08 11:27:18 +01:00
Max Limper
6433ed2ae3 gcc 4.7 compile fix 2016-09-13 18:52:39 +02:00
Martin Schultz
4b8f1bf667 fixes MSVC Community 2015 ICE
The default constructors are now used as template specializations by
postponing them below the template definition
2016-05-24 15:06:32 +02:00
Janis Born
f4046e4d58 fix some uses of const begin and end iterators 2015-12-17 14:36:23 +01:00
Janis Born
e36051d571 brace style 2015-11-25 11:21:38 +01:00
Janis Born
d5e6d413f3 implement member and non-member swap for VectorT 2015-11-25 11:19:53 +01:00
Janis Born
cf54f40e3e implement VectorT in-place arithmetic operators based on Scalar in-place arithmetic operators 2015-11-23 12:25:07 +01:00
Janis Born
37fc29b59b add begin / end iterators for Vector11T component access 2015-11-23 09:37:08 +01:00
Hans-Christian Ebke
fe3dfade13 C++11: Made VectorT::size_ constexpr. 2015-11-19 22:58:42 +01:00
Hans-Christian Ebke
61fe9dabef C++11: Making sure VectorT construction from iterator is only instantiated for actual iterators. 2015-11-19 17:59:37 +01:00
Hans-Christian Ebke
cdfd266cab C++11: Using std::inner_product for VectorT::operator|. 2015-11-19 17:32:11 +01:00
Hans-Christian Ebke
14dffb83ce C++11: Made VectorT's constructor from array more general. 2015-11-19 17:31:54 +01:00
Hans-Christian Ebke
580e5526d8 C++11: VectorT now also accepts non-arithmetic types as Scalar. 2015-11-19 15:20:41 +01:00
Hans-Christian Ebke
07fa145057 C++11: Fixed VectorT::normalize_cond() implementation. 2015-11-19 14:09:03 +01:00
Hans-Christian Ebke
784adb9744 C++11: Made VectorT::size() and VectorT::dim() constexpr. 2015-11-19 14:08:42 +01:00
Hans-Christian Ebke
687da4e08f C++11: Added static_asserts to component-wise constructor. 2015-11-19 11:10:28 +01:00
Hans-Christian Ebke
21cc0acab5 C++11: Explicitly defined default copy/move c'tor and operator=. 2015-11-19 11:09:53 +01:00
Hans-Christian Ebke
9bac315198 C++11: Fixed VectorT so it compiles with clang as well. 2015-11-19 10:26:45 +01:00
Hans-Christian Ebke
b0f7f8b0f3 Fixed VectorT::operator| and operator>>. 2015-11-18 15:52:20 +01:00
Hans-Christian Ebke
287da20912 C++11: Reimplemented VectorT without macros. 2015-11-18 15:11:48 +01:00