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

« back to all changes in this revision

Viewing changes to inst/include/armadillo_bits/operator_times.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
47
47
typename
48
48
enable_if2
49
49
  <
50
 
  (is_arma_type<T1>::value && is_complex<typename T1::elem_type>::value == false),
 
50
  (is_arma_type<T1>::value && is_cx<typename T1::elem_type>::no),
51
51
  const mtOp<typename std::complex<typename T1::pod_type>, T1, op_cx_scalar_times>
52
52
  >::result
53
53
operator*
69
69
typename
70
70
enable_if2
71
71
  <
72
 
  (is_arma_type<T1>::value && is_complex<typename T1::elem_type>::value == false),
 
72
  (is_arma_type<T1>::value && is_cx<typename T1::elem_type>::no),
73
73
  const mtOp<typename std::complex<typename T1::pod_type>, T1, op_cx_scalar_times>
74
74
  >::result
75
75
operator*
213
213
typename
214
214
enable_if2
215
215
  <
216
 
  (is_arma_type<T1>::value && is_arma_type<T2>::value && (is_same_type<typename T1::elem_type, typename T2::elem_type>::value == false)),
 
216
  (is_arma_type<T1>::value && is_arma_type<T2>::value && (is_same_type<typename T1::elem_type, typename T2::elem_type>::no)),
217
217
  const mtGlue< typename promote_type<typename T1::elem_type, typename T2::elem_type>::result, T1, T2, glue_mixed_times >
218
218
  >::result
219
219
operator*