cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cisstVectorEigenAddons.h
Go to the documentation of this file.
1 
2  template<typename OtherT>
3 inline void Assign(const OtherT &other)
4 {
5  *this = other;
6 }
7 
8  template<typename OtherDerived>
9  void
10  ElementwiseMultiply(const PlainObjectBase<OtherDerived> &other)
11 {
12  *this = this->cwiseProduct(other);
13 }
14 
15  template<typename OtherDerived1, typename OtherDerived2>
16  void
17  ElementwiseProductOf(const PlainObjectBase<OtherDerived1> &other1, const PlainObjectBase<OtherDerived2> &other2)
18 {
19  *this = other1.cwiseProduct(other2);
20 }
21 
22  template<typename OtherDerived1, typename OtherDerived2>
23  void
24  SumOf(const PlainObjectBase<OtherDerived1> &other1, const PlainObjectBase<OtherDerived2> &other2)
25 {
26  *this = other1 + other2;
27 }
28 
29 
30 inline std::string ToString() {
31  return std::string("");
32 }
std::string ToString()
Definition: cisstVectorEigenAddons.h:30
void ElementwiseProductOf(const PlainObjectBase< OtherDerived1 > &other1, const PlainObjectBase< OtherDerived2 > &other2)
Definition: cisstVectorEigenAddons.h:17
void Assign(const OtherT &other)
Definition: cisstVectorEigenAddons.h:3
void SumOf(const PlainObjectBase< OtherDerived1 > &other1, const PlainObjectBase< OtherDerived2 > &other2)
Definition: cisstVectorEigenAddons.h:24
void ElementwiseMultiply(const PlainObjectBase< OtherDerived > &other)
Definition: cisstVectorEigenAddons.h:10