From 5adfdfa8f9995a74e7779d9976c096d15c4da043 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sat, 13 Jul 2013 18:40:48 +0200 Subject: [PATCH] Extended math lib --- src/modules/mathlib/math/Dcm.cpp | 5 +++++ src/modules/mathlib/math/Dcm.hpp | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/modules/mathlib/math/Dcm.cpp b/src/modules/mathlib/math/Dcm.cpp index f509f7081b..5c15d4d6d9 100644 --- a/src/modules/mathlib/math/Dcm.cpp +++ b/src/modules/mathlib/math/Dcm.cpp @@ -135,6 +135,11 @@ Dcm::Dcm(const Dcm &right) : { } +Dcm::Dcm(const Matrix &right) : + Matrix(right) +{ +} + Dcm::~Dcm() { } diff --git a/src/modules/mathlib/math/Dcm.hpp b/src/modules/mathlib/math/Dcm.hpp index df8970d3aa..38f697c157 100644 --- a/src/modules/mathlib/math/Dcm.hpp +++ b/src/modules/mathlib/math/Dcm.hpp @@ -96,6 +96,11 @@ public: */ Dcm(const Dcm &right); + /** + * copy ctor (deep) + */ + Dcm(const Matrix &right); + /** * dtor */