~ubuntu-branches/ubuntu/trusty/r-cran-rcpparmadillo/trusty

« back to all changes in this revision

Viewing changes to inst/include/armadillo_bits/glue_max_bones.hpp

  • Committer: Package Import Robot
  • Author(s): Dirk Eddelbuettel
  • Date: 2013-12-09 18:13:21 UTC
  • mfrom: (1.1.9)
  • Revision ID: package-import@ubuntu.com-20131209181321-cc9ycvs53xfiz5ow
Tags: 0.3.930.1-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright (C) 2013 Conrad Sanderson
 
2
// Copyright (C) 2013 NICTA (www.nicta.com.au)
 
3
// 
 
4
// This Source Code Form is subject to the terms of the Mozilla Public
 
5
// License, v. 2.0. If a copy of the MPL was not distributed with this
 
6
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
7
 
 
8
 
 
9
 
 
10
//! \addtogroup glue_max
 
11
//! @{
 
12
 
 
13
 
 
14
 
 
15
class glue_max
 
16
  {
 
17
  public:
 
18
  
 
19
  template<typename eT, typename T1, typename T2> inline static void apply(Mat< eT              >& out, const Proxy<T1>& PA, const Proxy<T2>& PB);
 
20
  
 
21
  template<typename  T, typename T1, typename T2> inline static void apply(Mat< std::complex<T> >& out, const Proxy<T1>& PA, const Proxy<T2>& PB);
 
22
  
 
23
  template<typename T1, typename T2> inline static void apply(Mat<typename T1::elem_type>& out, const Glue<T1,T2,glue_max>& X);
 
24
  };
 
25
 
 
26
 
 
27
 
 
28
//! @}
 
29