NRVec from std::list
This commit is contained in:
4
vec.h
4
vec.h
@@ -21,6 +21,7 @@
|
||||
#define _LA_VEC_H_
|
||||
|
||||
#include "la_traits.h"
|
||||
#include <list>
|
||||
|
||||
namespace LA {
|
||||
|
||||
@@ -140,6 +141,9 @@ public:
|
||||
//! inlined copy constructor
|
||||
inline NRVec(const NRVec &rhs);
|
||||
|
||||
//! constructor from std::list
|
||||
NRVec(const std::list<T> l);
|
||||
|
||||
//! complexifying constructor
|
||||
NRVec(const typename LA_traits_complex<T>::NRVec_Noncomplex_type &rhs, bool imagpart=false);//construct complex from real
|
||||
|
||||
|
||||
Reference in New Issue
Block a user