Shinya Kitaoka 810553
#pragma once
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#ifndef TLIN_VECTOR_H
Toshihiro Shimizu 890ddd
#define TLIN_VECTOR_H
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
//----------------------------------------------------------------------------
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
/*!
Toshihiro Shimizu 890ddd
  The Vector class represents a vector in tlin-compatible algorithms.
Toshihiro Shimizu 890ddd
*/
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
template <typename t=""></typename>
Shinya Kitaoka 120a6e
class vector {
Toshihiro Shimizu 890ddd
public:
Shinya Kitaoka 120a6e
  vector(int size);
Shinya Kitaoka 120a6e
  ~vector();
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
  vector(const vector &);
Shinya Kitaoka 120a6e
  vector &operator=(const vector &);
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
  int size() const;
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
  T &operator[](int i);
Shinya Kitaoka 120a6e
  const T &operator[](int i) const;
Toshihiro Shimizu 890ddd
};
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
#endif  // TLIN_MATRIX_H