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

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Dirk Eddelbuettel
  • Date: 2013-08-12 19:10:20 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20130812191020-4i0swxrz8v6i503v
Tags: 0.3.910.0-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright (C) 2008-2012 Conrad Sanderson
1
2
// Copyright (C) 2008-2012 NICTA (www.nicta.com.au)
2
 
// Copyright (C) 2008-2012 Conrad Sanderson
3
3
// Copyright (C) 2012 Ryan Curtin
4
4
// 
5
5
// This Source Code Form is subject to the terms of the Mozilla Public
83
83
typename
84
84
enable_if2
85
85
  <
86
 
  (is_arma_type<T1>::value && is_complex<typename T1::elem_type>::value == false),
 
86
  (is_arma_type<T1>::value && is_cx<typename T1::elem_type>::no),
87
87
  const mtOp<typename std::complex<typename T1::pod_type>, T1, op_cx_scalar_minus_pre>
88
88
  >::result
89
89
operator-
105
105
typename
106
106
enable_if2
107
107
  <
108
 
  (is_arma_type<T1>::value && is_complex<typename T1::elem_type>::value == false),
 
108
  (is_arma_type<T1>::value && is_cx<typename T1::elem_type>::no),
109
109
  const mtOp<typename std::complex<typename T1::pod_type>, T1, op_cx_scalar_minus_post>
110
110
  >::result
111
111
operator-
149
149
typename
150
150
enable_if2
151
151
  <
152
 
  (is_arma_type<T1>::value && is_arma_type<T2>::value && (is_same_type<typename T1::elem_type, typename T2::elem_type>::value == false)),
 
152
  (is_arma_type<T1>::value && is_arma_type<T2>::value && (is_same_type<typename T1::elem_type, typename T2::elem_type>::no)),
153
153
  const mtGlue<typename promote_type<typename T1::elem_type, typename T2::elem_type>::result, T1, T2, glue_mixed_minus>
154
154
  >::result
155
155
operator-