°ïæ°ÑÏÂÃæ¸öcº¯Êýת³Éc#µÄ
const int num=100
float neiji(float [num]b, float [num]c)
{
int p;
float nj = 0;
for (p = 1; p < num; p++) nj += c[p] * b[p];
return nj;
}
C# code:
const int num=100
public float neiji(float[] b, float[] c)
{
float nj = 0;
for (int p = 1; p < b.Length; p++) nj += c[p] * b[p];
return nj;
}
ßÀ,ÕâÑùµÄ»°b.lengthÊDz»ÊǵÈÓÚ100Ó´?
const int num=100;
private float neiji( float []b, float []c)
{
int p;
float nj = 0;
for (p = 1; p < num; p++)
&nbs
Ïà¹ØÎÊ´ð£º
ÎÒÏÖÔÚÏ뽫ÕâËĸöÎļþ´Ó·þÎñÆ÷\\10.2.95.88\tempĿ¼ÏµÄËĸöÎı¾Îļþ£º1.txt ,2.txt ,3.txt , 4.txt´Ó·þÎñÆ÷ÏÂÔØµ½±¾µØ»úµÄC:\tempĿ¼Ï£¿
ÉÏÊöµÄ¹¦ÄÜÎÒÏëÓô¿CÓ¦¸ÃÈçºÎʵÏÖ£¿
ÓÃftpÐÒé¾Í¿ÉÒÔÁË
ÒýÓÃ ......
ÇëÎÊÏÂC/SµÄÎïÀí½á¹¹£¬ÊDz»ÊÇÕâÑùµÄ£º
һ̨·þÎñÆ÷£¬ÉÏÃæÖ»ÔËÐÐÒ»¸öÊý¾Ý¿â£¬È»ºóÊǶà¸ö¿Í»§¶Ë»ú£¬Ã¿¸ö»ú×ÓÉϰ²×°Ò»¸ö¿Í»§¶ËÈí¼þ£¬ÔÙ°ÑÊý¾Ý¿âÁ¬½ÓÓû§ÃûÃÜÂë¸øÃ¿¸ö¿Í»§¶Ë£¬Õâ¸öÃÜÂëÓÉÈí¼þ¼ÓÃÜ·ÅÔÚ¿Í»§¶Ë£¬Óû§µ ......
QQȺ 29152388
ÓÑÇéUP
°ï¶¥
up
°ïup
up Ö§³Ö£¡
up jf
...ÄѵÀÓзÖ..?
up up up
Ï£ÍûÓеüӷ֣¬¹þ¹þ¡£
Ö§³Ö£¬ÎÒ¼ÓÁË£¬Ï£ÍûÂ¥Ö÷ÄܼÓÎÒ£¬¹²Í¬Ñ§Ï°¹þ
¼ÓÁË¡£
¶¥ÉÏ£¬Ã¿ÌìÊÕ»ñÒ»µã£¬Ö§³Ö ......
´òÓ¡Ò»¸öN*NµÄ·½Õó£¬NΪÿ±ß×Ö·ûµÄ¸öÊý£¨ 3¡´N¡´20 £©£¬ÒªÇó×îÍâ²ãΪ"X"£¬µÚ¶þ²ãΪ"Y"£¬´ÓµÚÈý²ãÆðÿ²ãÒÀ´Î´òÓ¡Êý×Ö0£¬1£¬2£¬3£¬...
Àý×Ó£ºµ±N =5£¬´òÓ¡³öÏÂÃæµÄͼÐΣº
X X X X X
X ......