Chris@49: // Copyright (C) 2012 NICTA (www.nicta.com.au) Chris@49: // Copyright (C) 2012 Conrad Sanderson Chris@49: // Chris@49: // This Source Code Form is subject to the terms of the Mozilla Public Chris@49: // License, v. 2.0. If a copy of the MPL was not distributed with this Chris@49: // file, You can obtain one at http://mozilla.org/MPL/2.0/. Chris@49: Chris@49: Chris@49: Chris@49: template Chris@49: inline Chris@49: const mtOp Chris@49: hist Chris@49: ( Chris@49: const Base& A, Chris@49: const uword n_bins = 10, Chris@49: const arma_empty_class junk1 = arma_empty_class(), Chris@49: const typename arma_not_cx::result* junk2 = 0 Chris@49: ) Chris@49: { Chris@49: arma_extra_debug_sigprint(); Chris@49: arma_ignore(junk1); Chris@49: arma_ignore(junk2); Chris@49: Chris@49: return mtOp( A.get_ref(), n_bins, 0 ); Chris@49: } Chris@49: Chris@49: Chris@49: Chris@49: template Chris@49: inline Chris@49: const mtGlue Chris@49: hist Chris@49: ( Chris@49: const Base& A, Chris@49: const Base& B, Chris@49: const uword dim = 0, Chris@49: const typename arma_not_cx::result* junk = 0 Chris@49: ) Chris@49: { Chris@49: arma_extra_debug_sigprint(); Chris@49: arma_ignore(junk); Chris@49: Chris@49: return mtGlue( A.get_ref(), B.get_ref(), dim ); Chris@49: }