diff armadillo-3.900.4/include/armadillo_bits/xvec_htrans_bones.hpp @ 49:1ec0e2823891

Switch to using subrepo copies of qm-dsp, nnls-chroma, vamp-plugin-sdk; update Armadillo version; assume build without external BLAS/LAPACK
author Chris Cannam
date Thu, 13 Jun 2013 10:25:24 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/armadillo-3.900.4/include/armadillo_bits/xvec_htrans_bones.hpp	Thu Jun 13 10:25:24 2013 +0100
@@ -0,0 +1,42 @@
+// Copyright (C) 2013 Conrad Sanderson
+// 
+// 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/.
+
+
+//! \addtogroup xvec_htrans
+//! @{
+
+
+template<typename eT>
+class xvec_htrans : public Base<eT, xvec_htrans<eT> >
+  {
+  public:
+  
+  typedef eT                                       elem_type;
+  typedef typename get_pod_type<elem_type>::result pod_type;
+  
+  static const bool is_row = false;
+  static const bool is_col = false;
+  
+  arma_aligned const eT* const mem;
+  
+  const uword n_rows;
+  const uword n_cols;
+  const uword n_elem;
+  
+  
+  inline explicit xvec_htrans(const eT* const in_mem, const uword in_n_rows, const uword in_n_cols);
+  
+  inline void extract(Mat<eT>& out) const;
+  
+  inline eT operator[](const uword ii) const;
+  inline eT at_alt    (const uword ii) const;
+  
+  inline eT at        (const uword in_row, const uword in_col) const;
+  };
+
+
+
+//! @}