#include "iostream.h" #include "iomanip.h" #define N 20 //學(xué)習(xí)樣本個數(shù) #define IN 1 //輸入層神經(jīng)元數(shù)目 #define HN 8 //隱層神經(jīng)元數(shù)目 #define ON 1 //輸出層神經(jīng)元數(shù)目 double P[IN] //單個樣本輸入數(shù)據(jù) double T[ON] //單個樣本教師數(shù)據(jù) double W[HN][IN] //輸入層至隱層權(quán)值 double V[ON][HN] //隱層至輸出層權(quán)值 double X[HN] //隱層的輸入 double Y[ON] //輸出層的輸入 double H[HN] //隱層的輸出
標(biāo)簽: define include iostream iomanip
上傳時間: 2014-01-01
上傳用戶:凌云御清風(fēng)
復(fù)接入,B/W雙用戶使用直接擴頻序列 % >>>multiple access b/w 2 users using DS CDMA % >>>format is : cdmamodem(user1,user2,snr_in_dbs) % >>>user1 and user2 are vectors and they should be of equal length % >>>e.g. user1=[1 0 1 0 1 0 1] , user2=[1 1 0 0 0 1 1],snr_in_dbs=-50 % >>>or snr_in_dbs=50 just any number wud do % Waqas Mansoor % NUST , Pakistan
標(biāo)簽:
上傳時間: 2014-11-22
上傳用戶:zl5712176
求質(zhì)數(shù)法 判斷n是否為質(zhì)數(shù) 判斷n是否為質(zhì)數(shù)時,將n除以n以下的整數(shù)直至2為止,以觀察n能 除盡,這時如有被除盡的數(shù),便被視為非質(zhì)數(shù)而脫離出回圈。到了最後如無除盡的數(shù),則此數(shù)即為質(zhì)數(shù)。
標(biāo)簽:
上傳時間: 2013-12-27
上傳用戶:xcy122677
無意間在網(wǎng)上找到這本書,已經(jīng)絕版了也很難找到所以放上來分享給大家,提供大家學(xué)習(xí) 本書對SCSI的介紹偏重於軟件開發(fā)方面。在介紹了SCSI的基本概念後,介紹了SCSI編程的程序化方法,並在DOS和Windows下研究了ASPI(高級SCSI編程接口),在Windows和Windows NT下研究了ASPI32的擴展,在介紹SCSI在UNIX平臺的應(yīng)用時,把重點放在了Linux平臺上
上傳時間: 2014-01-07
上傳用戶:qunquan
//初始化 initscr() //獲得屏幕尺寸 getmaxyx(stdscr, h, w) //畫背景 for(i=0 i<h i++) for(j=0 j<w j++){ mvaddch(i, j, ACS_CKBOARD) } refresh() //建立窗口 pad = newpad(80, 128) for(i=0 i<80 i++){ char line[128] sprintf(line, "This line in pad is numbered d\n", i) mvwprintw(pad, i, 0, line) } //刷新屏幕 refresh() prefresh(pad, 0, 1, 5, 10, 20, 45) for(i=0 i<50 i++){ prefresh(pad, i+1, 1, 5, 10, 20, 45) usleep(30000) } //等待按鍵 getch()
標(biāo)簽: getmaxyx initscr stdscr for
上傳時間: 2014-08-30
上傳用戶:龍飛艇
Cisco E-DI supports perl scripting through the CLI. This feature automates many of the server and network administration tasks. This section explains how to enable and disable the perl scripting service, and how to use Cisco E-DI Perl API for daily tasks. When a perl script is implemented by an administrator or a user, the script automatically inherits the user s security privileges and the user s operational context (either server or network). Each invocation of a
標(biāo)簽: automates scripting the supports
上傳時間: 2017-07-06
上傳用戶:a673761058
g a w k或GNU awk是由Alfred V. A h o,Peter J.We i n b e rg e r和Brian W. K e r n i g h a n于1 9 7 7年為U N I X創(chuàng)建的a w k編程語言的較新版本之一。a w k出自創(chuàng)建者姓的首字母。a w k語言(在其所有的版本中)是一種具有很強能力的模式匹配和過程語言。a w k獲取一個文件(或多個文件)來查找匹配特定模式的記錄。當(dāng)查到匹配后,即執(zhí)行所指定的動作。作為一個程序員,你不必操心通過文件打開、循環(huán)讀每個記錄,控制文件的結(jié)束,或執(zhí)行完后關(guān)閉文件。
上傳時間: 2014-01-02
上傳用戶:hwl453472107
c++ Ngô n ngữ C cho vi đ iề u khiể n Các tài liệ u tham khả o, ebook. Programming Microcontrollers in C (Ted Van Sickle) C Programming for Microcontrollers (Joe Pardue SmileyMicros.com ) Programming 16-Bit PIC Microcontrollers in C (Jucio di jasio ) C Programming for AVR Programming embedded system I,II (Michael J . Pont ) ( các tài liệ u này đ ã down load về )
上傳時間: 2017-07-29
上傳用戶:壞壞的華仔
由文件input.txt提供輸入數(shù)據(jù)。輸入文件第1 行有2個正整數(shù)n和m(1<=n,m<=100), 表示倉庫是n×m個格子的矩形陣列。接下來有n行,每行有m個字符,表示格子的狀態(tài)。 S 表示格子上放了不可移動的沉重貨物; w 表示格子空閑; M 表示倉庫管理員的初始位置; P 表示箱子的初始位置; K 表示箱子的目標(biāo)位置。
上傳時間: 2017-08-05
上傳用戶:cainaifa
有N件物品和一個容量為V的背包。第i件物品的費用是c,價值是w。求解將哪些物品裝入背包可使這些物品的費用總和不超過背包容量,且價值總和最大。
標(biāo)簽: 容量
上傳時間: 2014-01-19
上傳用戶:小儒尼尼奧
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1