AnalysisSystemForRadionucli.../include/armadillo_bits/spop_strans_bones.hpp

37 lines
1.0 KiB
C++
Raw Normal View History

2024-06-04 15:25:02 +08:00
// Copyright (C) 2012-2014 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 spop_strans
//! @{
//! simple transpose operation (no complex conjugates) for sparse matrices
class spop_strans
{
public:
template<typename eT>
arma_hot inline static void apply_spmat(SpMat<eT>& out, const SpMat<eT>& X);
template<typename T1>
arma_hot inline static void apply_proxy(SpMat<typename T1::elem_type>& out, const T1& X);
template<typename T1>
arma_hot inline static void apply(SpMat<typename T1::elem_type>& out, const SpOp<T1,spop_strans>& in);
template<typename T1>
arma_hot inline static void apply(SpMat<typename T1::elem_type>& out, const SpOp<T1,spop_htrans>& in);
};
//! @}