// Copyright (C) 2012-2015 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 fn_hist //! @{ template arma_inline typename enable_if2 < (is_arma_type::value) && (is_not_complex::value), const mtOp >::result hist(const T1& A, const uword n_bins = 10) { arma_extra_debug_sigprint(); return mtOp(A, n_bins, 0); } template arma_inline typename enable_if2 < (is_arma_type::value) && (is_arma_type::value) && (is_not_complex::value) && (is_same_type::value), const mtGlue >::result hist(const T1& X, const T2& Y) { arma_extra_debug_sigprint(); return mtGlue(X, Y); } template arma_inline typename enable_if2 < (is_arma_type::value) && (is_arma_type::value) && (is_not_complex::value) && (is_same_type::value), const mtGlue >::result hist(const T1& X, const T2& Y, const uword dim) { arma_extra_debug_sigprint(); return mtGlue(X, Y, dim); } //! @}