AnalysisSystemForRadionucli.../include/armadillo_bits/cond_rel_bones.hpp

35 lines
937 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 cond_rel
//! @{
//
// for preventing pedantic compiler warnings
template<const bool do_eval>
class cond_rel
{
public:
template<typename eT> arma_inline static bool lt(const eT A, const eT B);
template<typename eT> arma_inline static bool gt(const eT A, const eT B);
template<typename eT> arma_inline static bool leq(const eT A, const eT B);
template<typename eT> arma_inline static bool geq(const eT A, const eT B);
template<typename eT> arma_inline static eT make_neg(const eT val);
};
//! @}