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

📄 makereal

📁 bp神经网络,反向传播神经网络!感觉还不错的
💻
字号:
#
# This makefile is designed to make only the bp program AND TO KEEP
# all the .obj files, so you can apply changes to one file without
# recompiling all the others.
#
# Below, where I say 32-bit floating point or 64-bit floating point,
# note that all the programs use some floating point instructions even
# the integer versions, bp and sbp.  In standard UNIX C all floating
# point arithmetic is done as double so using double values actually is
# faster than using float values (because all the conversions take
# time).  To use float rather than double define FLOAT like so:  -DFLOAT
#
# To get the compiler to use 32-bit DOS settings include: -DDOS32
# To get the compiler to use 16-bit DOS settings include: -DDOS16
#
# Below are the settings I've been using for Zortech C 3.1.  The -f flag
# in the Zortech CFLAGS forces hardware floating point instructions to
# be generated. This flag also has the compiler generate code compatible
# with the IEEE standard 754 where checks are make that comparisons
# involving NaNs are handled correctly.  To avoid these checks you can
# use -ff and the code will be around 1.6% faster on a 486/33.  Zortech
# 3.0 does not have the -ff option.  The -o is for optimize, -m is used
# to give the memory model, -4 for a 486, -3 for a 386, -2 for a 286.
#
# use the following line for DOS/ZORTECH (486)
CFLAGS= -mx -4 -f -DFLOAT -DDOS32
# use the following line for DOS/ZORTECH (386)
#CFLAGS= -mx -3 -f -DFLOAT -DDOS32
# use the following line for DOS/ZORTECH (286)
#CFLAGS= -mz -2 -f -DFLOAT -DDOS16
# use the following line for DOS/ZORTECH (8088) large memory model
#CFLAGS= -ml -f -DFLOAT -DDOS16

bp: bp.obj io.obj misc.obj real.obj makereal rbp.h
	ztc $(CFLAGS) bp.obj io.obj misc.obj real.obj -obp.exe

bp.obj: bp.c rbp.h makereal
	ztc $(CFLAGS) bp.c -c

io.obj: io.c rbp.h makereal
	ztc $(CFLAGS) io.c -c -o

misc.obj: misc.c rbp.h makereal
	ztc $(CFLAGS) misc.c -c -o

real.obj: real.c rbp.h makereal
	ztc $(CFLAGS) real.c -c -o

⌨️ 快捷键说明

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