source: mmcs/armadillo_bits/SizeCube_bones.hpp @ 8daa049

matrices
Last change on this file since 8daa049 was 9dd61b1, checked in by rboet <rboet@…>, 9 years ago

Avance del proyecto 60%

  • Property mode set to 100644
File size: 963 bytes
Line 
1// Copyright (C) 2013-2014 Conrad Sanderson
2// Copyright (C) 2013-2014 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//! \addtogroup SizeCube
10//! @{
11
12
13
14class SizeCube
15  {
16  public:
17 
18  const uword n_rows;
19  const uword n_cols;
20  const uword n_slices;
21 
22  inline SizeCube(const uword in_n_rows = 0, const uword in_n_cols = 0, const uword in_n_slices = 0);
23 
24  // inline operator SizeMat () const;
25 
26  inline bool operator==(const SizeCube& s) const;
27  inline bool operator!=(const SizeCube& s) const;
28 
29  inline bool operator==(const SizeMat& s) const;
30  inline bool operator!=(const SizeMat& s) const;
31 
32  inline void print(const std::string extra_text = "") const;
33  inline void print(std::ostream& user_stream, const std::string extra_text = "") const;
34  };
35
36
37
38//! @}
Note: See TracBrowser for help on using the repository browser.