This commit is contained in:
conrad
2024-06-14 11:21:54 +10:00
parent 031e790ec3
commit 39a8ff7c31
2 changed files with 0 additions and 45 deletions
-3
View File
@@ -142,9 +142,6 @@ class SpMat : public SpBase< eT, SpMat<eT> >
template<typename T1> inline SpMat& operator/=(const Op<T1, op_diagmat>& expr);
template<typename T1> inline SpMat& operator%=(const Op<T1, op_diagmat>& expr);
// template<typename T1, typename op_type> inline SpMat(const SpToDOp< T1, op_type>& expr);
// template<typename T1, typename op_type> inline SpMat(const mtSpToDOp<eT, T1, op_type>& expr);
//! construction of complex matrix out of two non-complex matrices
template<typename T1, typename T2>
inline explicit SpMat(const SpBase<pod_type, T1>& A, const SpBase<pod_type, T2>& B);
-42
View File
@@ -787,48 +787,6 @@ SpMat<eT>::operator/=(const SpMat<eT>& x)
// template<typename eT>
// template<typename T1, typename op_type>
// inline
// SpMat<eT>::SpMat(const SpToDOp<T1, op_type>& expr)
// : n_rows(0)
// , n_cols(0)
// , n_elem(0)
// , n_nonzero(0)
// , vec_state(0)
// , values(nullptr)
// , row_indices(nullptr)
// , col_ptrs(nullptr)
// {
// arma_debug_sigprint_this(this);
//
// arma_type_check(( is_same_type< eT, typename T1::elem_type >::no ));
//
// (*this) = Mat<eT>(expr);
// }
// template<typename eT>
// template<typename T1, typename op_type>
// inline
// SpMat<eT>::SpMat(const mtSpToDOp<eT, T1, op_type>& expr)
// : n_rows(0)
// , n_cols(0)
// , n_elem(0)
// , n_nonzero(0)
// , vec_state(0)
// , values(nullptr)
// , row_indices(nullptr)
// , col_ptrs(nullptr)
// {
// arma_debug_sigprint_this(this);
//
// (*this) = Mat<eT>(expr);
// }
// Construct a complex matrix out of two non-complex matrices
template<typename eT>
template<typename T1, typename T2>