2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-19 14:52:17 +00:00

FIX added diagonal_matrix array_type constructor

- Thanks Vardan


[SVN r30034]
This commit is contained in:
Michael Stevens
2005-07-13 06:16:25 +00:00
parent ff8350272c
commit 86789786d9

View File

@@ -972,6 +972,9 @@ namespace boost { namespace numeric { namespace ublas {
diagonal_matrix (size_type size):
matrix_type (size, size) {}
BOOST_UBLAS_INLINE
diagonal_matrix (size_type size, const array_type& data):
matrix_type (size, size, 0, 0, data) {}
BOOST_UBLAS_INLINE
diagonal_matrix (size_type size1, size_type size2):
matrix_type (size1, size2) {}
template<class AE>