-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathalgorithm.h
More file actions
27 lines (20 loc) · 838 Bytes
/
algorithm.h
File metadata and controls
27 lines (20 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* algorithm.h - Header file for the simple example algorithm function
Copyright (C) 2012-2014 The University of Reading
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. This file is offered as-is,
without any warranty.
*/
#ifndef ALGORITHM_H
#define ALGORITHM_H 1
// This header file defining the interface of the simple demonstration
// function "algorithm". This header file is included by both
// algorithm.cpp, which defines the body of the function, and
// test_adept.cpp, which calls algorithm.
#include "adept.h"
static int H=4;
static int I=2;
// Declare the function
adept::adouble algorithm(const adept::adouble x[2]);
adept::adouble neural_net(const adept::adouble q[17]);
#endif