void norm_frobenius_cpu(matrix_base<T> const & A, T & result) { typedef typename matrix_base<T>::handle_type HandleType; viennacl::vector_base<T> temp(const_cast<HandleType &>(A.handle()), A.internal_size(), 0, 1); norm_2_cpu(temp, result); }
bool op_aliasing(matrix_base<NumericT> const & lhs, matrix_base<NumericT> const & b) { return lhs.handle() == b.handle(); }