⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 neuralnetwork.h

📁 函数逼近
💻 H
字号:
/*
 * 
 *	 Copyright 2004-2006 Ghassan OREIBY
 *   
 * 	 This file is part of Neurality.
 *
 *   Neurality is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 *   Neurality is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *   along with Neurality; if not, write to the Free Software
 *   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 *
 * 
 */


#pragma once

#ifndef		__NEURALNETWORK__
#define		__NEURALNETWORK__

#include <iostream>
#include <fstream>
#include <stdio.h>
#include <math.h>
#include <windows.h>
#include <time.h>

#ifdef __cplusplus
//#define EXPORT extern "C" __declspec (dllexport)
#define CLASSEXPORT extern "C"
#else
//#define EXPORT __declspec (dllexport)
#define CLASSEXPORT extern
#endif

//#define EXPORTDLL __declspec (dllexport)

#ifdef NEURALDLL_EXPORTS
   #define CLASS_DECLSPEC    __declspec(dllexport)
#else
   #define CLASS_DECLSPEC    __declspec(dllimport)
#endif


#include "Node.h"
#include "Layer.h"
#include "Network.h"
#include "FileStructure.h"

using namespace std;


#define	LINEARIZE_ARRAY(unLinearizedArray, SamplesNo, VectorSize, LinearizedArray) \
		for(int i = 0; i < SamplesNo; i++) \
		LinearizedArray[i] = unLinearizedArray[i / VectorSize][ i % VectorSize]


#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -