ARTS 2.5.9 (git: 825fa5f2)
tessem.h
Go to the documentation of this file.
1/* Copyright (C) 2016
2 Oliver Lemke <olemke@core-dump.info>
3
4 This program is free software; you can redistribute it and/or modify it
5 under the terms of the GNU General Public License as published by the
6 Free Software Foundation; either version 2, or (at your option) any
7 later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
17 USA.
18*/
19
27#ifndef tessem_h
28#define tessem_h
29
30#include <fstream>
31#include "matpackI.h"
32
33struct TessemNN {
45
46 friend std::ostream& operator<<(std::ostream& os, const TessemNN&) {return os;}
47};
48
49void tessem_read_ascii(std::ifstream& is, TessemNN& net);
50
51void tessem_prop_nn(VectorView& ny, const TessemNN& net, ConstVectorView nx);
52
53#endif /* tessem_h */
A constant view of a Vector.
Definition: matpackI.h:521
The Matrix class.
Definition: matpackI.h:1285
The VectorView class.
Definition: matpackI.h:674
The Vector class.
Definition: matpackI.h:910
Implementation of Matrix, Vector, and such stuff.
INDEX Index
The type to use for all integer numbers and indices.
Definition: matpack.h:39
Vector x_max
Definition: tessem.h:42
Matrix w1
Definition: tessem.h:39
Matrix w2
Definition: tessem.h:40
Index nb_outputs
Definition: tessem.h:35
Vector b2
Definition: tessem.h:38
friend std::ostream & operator<<(std::ostream &os, const TessemNN &)
Definition: tessem.h:46
Vector y_max
Definition: tessem.h:44
Index nb_inputs
Definition: tessem.h:34
Index nb_cache
Definition: tessem.h:36
Vector y_min
Definition: tessem.h:43
Vector b1
Definition: tessem.h:37
Vector x_min
Definition: tessem.h:41
void tessem_prop_nn(VectorView &ny, const TessemNN &net, ConstVectorView nx)
Definition: tessem.cc:87
void tessem_read_ascii(std::ifstream &is, TessemNN &net)
Definition: tessem.cc:41