#include "iostream.h" #include "iomanip.h" #define N 20 //學(xué)習(xí)樣本個(gè)數(shù) #define IN 1 //輸入層神經(jīng)元數(shù)目 #define HN 8 //隱層神經(jīng)元數(shù)目 #define ON 1 //輸出層神經(jīng)元數(shù)目 double P[IN] //單個(gè)樣本輸入數(shù)據(jù) double T[ON] //單個(gè)樣本教師數(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
上傳時(shí)間: 2014-01-01
上傳用戶(hù):凌云御清風(fēng)
復(fù)接入,B/W雙用戶(hù)使用直接擴(kuò)頻序列 % >>>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)簽:
上傳時(shí)間: 2014-11-22
上傳用戶(hù):zl5712176
求質(zhì)數(shù)法 判斷n是否為質(zhì)數(shù) 判斷n是否為質(zhì)數(shù)時(shí),將n除以n以下的整數(shù)直至2為止,以觀(guān)察n能 除盡,這時(shí)如有被除盡的數(shù),便被視為非質(zhì)數(shù)而脫離出回圈。到了最後如無(wú)除盡的數(shù),則此數(shù)即為質(zhì)數(shù)。
標(biāo)簽:
上傳時(shí)間: 2013-12-27
上傳用戶(hù):xcy122677
無(wú)意間在網(wǎng)上找到這本書(shū),已經(jīng)絕版了也很難找到所以放上來(lái)分享給大家,提供大家學(xué)習(xí) 本書(shū)對(duì)SCSI的介紹偏重於軟件開(kāi)發(fā)方面。在介紹了SCSI的基本概念後,介紹了SCSI編程的程序化方法,並在DOS和Windows下研究了ASPI(高級(jí)SCSI編程接口),在Windows和Windows NT下研究了ASPI32的擴(kuò)展,在介紹SCSI在UNIX平臺(tái)的應(yīng)用時(shí),把重點(diǎn)放在了Linux平臺(tái)上
上傳時(shí)間: 2014-01-07
上傳用戶(hù):qunquan
//初始化 initscr() //獲得屏幕尺寸 getmaxyx(stdscr, h, w) //畫(huà)背景 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
上傳時(shí)間: 2014-08-30
上傳用戶(hù):龍飛艇
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
上傳時(shí)間: 2017-07-06
上傳用戶(hù):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編程語(yǔ)言的較新版本之一。a w k出自創(chuàng)建者姓的首字母。a w k語(yǔ)言(在其所有的版本中)是一種具有很強(qiáng)能力的模式匹配和過(guò)程語(yǔ)言。a w k獲取一個(gè)文件(或多個(gè)文件)來(lái)查找匹配特定模式的記錄。當(dāng)查到匹配后,即執(zhí)行所指定的動(dòng)作。作為一個(gè)程序員,你不必操心通過(guò)文件打開(kāi)、循環(huán)讀每個(gè)記錄,控制文件的結(jié)束,或執(zhí)行完后關(guān)閉文件。
上傳時(shí)間: 2014-01-02
上傳用戶(hù):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ề )
上傳時(shí)間: 2017-07-29
上傳用戶(hù):壞壞的華仔
由文件input.txt提供輸入數(shù)據(jù)。輸入文件第1 行有2個(gè)正整數(shù)n和m(1<=n,m<=100), 表示倉(cāng)庫(kù)是n×m個(gè)格子的矩形陣列。接下來(lái)有n行,每行有m個(gè)字符,表示格子的狀態(tài)。 S 表示格子上放了不可移動(dòng)的沉重貨物; w 表示格子空閑; M 表示倉(cāng)庫(kù)管理員的初始位置; P 表示箱子的初始位置; K 表示箱子的目標(biāo)位置。
上傳時(shí)間: 2017-08-05
上傳用戶(hù):cainaifa
有N件物品和一個(gè)容量為V的背包。第i件物品的費(fèi)用是c,價(jià)值是w。求解將哪些物品裝入背包可使這些物品的費(fèi)用總和不超過(guò)背包容量,且價(jià)值總和最大。
標(biāo)簽: 容量
上傳時(shí)間: 2014-01-19
上傳用戶(hù):小儒尼尼奧
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1