Teuchos - Trilinos Tools Package Version of the Day
Loading...
Searching...
No Matches
Teuchos_TableDecl.hpp
1// @HEADER
2// *****************************************************************************
3// Teuchos: Common Tools Package
4//
5// Copyright 2004 NTESS and the Teuchos contributors.
6// SPDX-License-Identifier: BSD-3-Clause
7// *****************************************************************************
8// @HEADER
9
10#ifndef TEUCHOS_TABLE_DECL_HPP
11#define TEUCHOS_TABLE_DECL_HPP
12
13#include <vector>
14
15namespace Teuchos {
16
17template <typename T>
18struct Table {
19 std::vector<T> data;
20 int ncols;
21 typedef typename std::vector<T>::reference Ref;
22 typedef typename std::vector<T>::const_reference ConstRef;
23 Table();
24 Table(int ncols_init, int nrows_reserve);
25};
26
27}
28
29#endif
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...