SpectMorph
smblockutils.hh
1 // Licensed GNU LGPL v3 or later: http://www.gnu.org/licenses/lgpl.html
2 
3 #ifndef SPECTMORPH_BLOCK_UTILS_HH
4 #define SPECTMORPH_BLOCK_UTILS_HH
5 
6 #include <glib.h>
7 
8 namespace SpectMorph
9 {
10 
11 /* Block utils */
12 
13 class Block
14 {
15 public:
16  static void mul (guint n_values,
17  float *ovalues,
18  const float *ivalues);
19  static void add (guint n_values,
20  float *ovalues,
21  const float *ivalues);
22  static void range (guint n_values,
23  const float *ivalues,
24  float& min_value,
25  float& max_value);
26 };
27 
28 }
29 
30 #endif /* SPECTMORPH_BLOCK_UTILS_HH */
Definition: smadsrenvelope.hh:8
Definition: smblockutils.hh:13