Mercurial > hg > tipic
annotate src/Types.h @ 60:1ea2aed23d4a tip
Fix version
| author | Chris Cannam |
|---|---|
| date | Thu, 13 Feb 2020 13:37:36 +0000 |
| parents | 00b6ae41efbe |
| children |
| rev | line source |
|---|---|
| Chris@19 | 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ |
| Chris@19 | 2 |
| Chris@42 | 3 /* |
| Chris@42 | 4 Tipic |
| Chris@42 | 5 |
| Chris@42 | 6 Centre for Digital Music, Queen Mary, University of London. |
| Chris@42 | 7 |
| Chris@42 | 8 This program is free software; you can redistribute it and/or |
| Chris@42 | 9 modify it under the terms of the GNU General Public License as |
| Chris@42 | 10 published by the Free Software Foundation; either version 2 of the |
| Chris@42 | 11 License, or (at your option) any later version. See the file |
| Chris@42 | 12 COPYING included with this distribution for more information. |
| Chris@42 | 13 */ |
| Chris@42 | 14 |
| Chris@19 | 15 #ifndef TIPIC_TYPES_H |
| Chris@19 | 16 #define TIPIC_TYPES_H |
| Chris@19 | 17 |
| Chris@19 | 18 #include <vector> |
| Chris@19 | 19 |
| Chris@19 | 20 /// A series of real-valued samples ordered in time. |
| Chris@19 | 21 typedef std::vector<double> RealSequence; |
| Chris@19 | 22 |
| Chris@19 | 23 /// A series of real-valued samples ordered by bin (frequency or similar). |
| Chris@19 | 24 typedef std::vector<double> RealColumn; |
| Chris@19 | 25 |
| Chris@19 | 26 /// A matrix of real-valued samples, indexed by time then bin number. |
| Chris@19 | 27 typedef std::vector<RealColumn> RealBlock; |
| Chris@19 | 28 |
| Chris@19 | 29 #endif |
| Chris@19 | 30 |
