AnalysisSystemForRadionucli.../include/armadillo_bits/spglue_times_bones.hpp

41 lines
969 B
C++
Raw Normal View History

2024-06-04 15:25:02 +08:00
// Copyright (C) 2012 National ICT Australia (NICTA)
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
// -------------------------------------------------------------------
//
// Written by Conrad Sanderson - http://conradsanderson.id.au
//! \addtogroup spglue_times
//! @{
class spglue_times
{
public:
template<typename T1, typename T2>
inline static void apply(SpMat<typename T1::elem_type>& out, const SpGlue<T1,T2,spglue_times>& X);
template<typename eT, typename T1, typename T2>
arma_hot inline static void apply_noalias(SpMat<eT>& c, const SpProxy<T1>& pa, const SpProxy<T2>& pb);
};
class spglue_times2
{
public:
template<typename T1, typename T2>
inline static void apply(SpMat<typename T1::elem_type>& out, const SpGlue<T1,T2,spglue_times2>& X);
};
//! @}