亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? cmplx.c

?? gridgen是一款強大的網格生成程序
?? C
字號:
/*							cmplx.c * *	Complex number arithmetic *      This version is for C9X. * * * * SYNOPSIS: * * typedef struct { *      double r;     real part *      double i;     imaginary part *     }cmplx; * * cmplx a, b, c; * * c = cadd( a, b );     c = b + a * c = csub( a, b );     c = b - a * c = cmul( a, b );     c = b * a * c = cdiv( a, b );     c = b / a * c = cneg( a );           c = -a * cmov( b, c );        c = b * * * * DESCRIPTION: * * Addition: *    c.r  =  b.r + a.r *    c.i  =  b.i + a.i * * Subtraction: *    c.r  =  b.r - a.r *    c.i  =  b.i - a.i * * Multiplication: *    c.r  =  b.r * a.r  -  b.i * a.i *    c.i  =  b.r * a.i  +  b.i * a.r * * Division: *    d    =  a.r * a.r  +  a.i * a.i *    c.r  = (b.r * a.r  + b.i * a.i)/d *    c.i  = (b.i * a.r  -  b.r * a.i)/d * ACCURACY: * * In DEC arithmetic, the test (1/z) * z = 1 had peak relative * error 3.1e-17, rms 1.2e-17.  The test (y/z) * (z/y) = 1 had * peak relative error 8.3e-17, rms 2.1e-17. * * Tests in the rectangle {-10,+10}: *                      Relative error: * arithmetic   function  # trials      peak         rms *    DEC        cadd       10000       1.4e-17     3.4e-18 *    IEEE       cadd      100000       1.1e-16     2.7e-17 *    DEC        csub       10000       1.4e-17     4.5e-18 *    IEEE       csub      100000       1.1e-16     3.4e-17 *    DEC        cmul        3000       2.3e-17     8.7e-18 *    IEEE       cmul      100000       2.1e-16     6.9e-17 *    DEC        cdiv       18000       4.9e-17     1.3e-17 *    IEEE       cdiv      100000       3.7e-16     1.1e-16 *//*				cmplx.c * complex number arithmetic *//*Cephes Math Library Release 2.3:  March, 1995Copyright 1984, 1995 by Stephen L. Moshier*/#include "complex.h"#include "mconf.h"#ifndef ANSIPROTdouble fabs(), cabs(), sqrt(), atan2(), cos(), sin();double sqrt(), frexp(), ldexp();#endifint isnan();extern double MAXNUM, MACHEP, PI, PIO2, INFINITY;double complex czero = 0.0;double complex cone = 1.0;/*	c = b + a	*/double complexcadd( a, b )     double complex a, b;{  return (creal (b) + creal (a) + (cimag (b) + cimag (a)) * I);}/*	c = b - a	*/double complexcsub( a, b )     double complex a, b;{  return (creal (b) - creal (a) + (cimag (b) - cimag (a)) * I);}/*	c = b * a */double complexcmul( a, b )     double complex a, b;{  return ((creal (b) * creal (a) - cimag (b) * cimag (a))	  + (creal (b) * cimag (a) + cimag (b) * creal (a)) * I);}/*	c = b / a */double complexcdiv( a, b )     double complex a, b;{  double y, p, q, w;  y = creal (a) * creal (a) + cimag (a) * cimag (a);  p = creal (b) * creal (a) + cimag (b) * cimag (a);  q = cimag (b) * creal (a) - creal (b) * cimag (a);  if( y < 1.0 )    {      w = MAXNUM * y;      if ((fabs(p) > w) || (fabs(q) > w) || (y == 0.0))	{	  mtherr( "cdiv", OVERFLOW );	  return (MAXNUM + MAXNUM * I);	}    }  return (p/y + (q/y) * I);}/*							cabs() * *	Complex absolute value * * * * SYNOPSIS: * * double cabs(); * double complex z; * double a; * * a = cabs( z ); * * * * DESCRIPTION: * * * If z = x + iy * * then * *       a = sqrt( x^2 + y^2 ). *  * Overflow and underflow are avoided by testing the magnitudes * of x and y before squaring.  If either is outside half of * the floating point full scale range, both are rescaled. * * * ACCURACY: * *                      Relative error: * arithmetic   domain     # trials      peak         rms *    DEC       -30,+30     30000       3.2e-17     9.2e-18 *    IEEE      -10,+10    100000       2.7e-16     6.9e-17 *//*Cephes Math Library Release 2.1:  January, 1989Copyright 1984, 1987, 1989 by Stephen L. MoshierDirect inquiries to 30 Frost Street, Cambridge, MA 02140*/#ifdef UNK#define PREC 27#define MAXEXPD 1024#define MINEXPD -1077#endif#ifdef DEC#define PREC 29#define MAXEXPD 128#define MINEXPD -128#endif#ifdef IBMPC#define PREC 27#define MAXEXPD 1024#define MINEXPD -1077#endif#ifdef MIEEE#define PREC 27#define MAXEXPD 1024#define MINEXPD -1077#endif#if 1doublecabs( z )     double complex z;{  double x, y, b, re, im;  int ex, ey, e;#ifdef INFINITIES/* Note, cabs(INFINITY,NAN) = INFINITY. */  if(creal (z) == INFINITY || cimag (z) == INFINITY     || creal (z) == -INFINITY || cimag (z) == -INFINITY )    return( INFINITY );#endif#ifdef NANS  if (isnan(creal(z)))    return (creal(z));  if(isnan(cimag(z)))    return(cimag(z));#endif  re = fabs (creal(z));  im = fabs (cimag(z));  if (re == 0.0)    return (im);  if (im == 0.0)    return (re);  /* Get the exponents of the numbers */  x = frexp( re, &ex );  y = frexp( im, &ey );  /* Check if one number is tiny compared to the other */  e = ex - ey;  if (e > PREC)    return (re);  if (e < -PREC)    return (im);  /* Find approximate exponent e of the geometric mean. */  e = (ex + ey) >> 1;  /* Rescale so mean is about 1 */  x = ldexp( re, -e );  y = ldexp( im, -e );		  /* Hypotenuse of the right triangle */  b = sqrt( x * x  +  y * y );  /* Compute the exponent of the answer. */  y = frexp( b, &ey );  ey = e + ey;  /* Check it for overflow and underflow. */  if (ey > MAXEXPD)    {      mtherr ("cabs", OVERFLOW);      return (INFINITY);    }  if (ey < MINEXPD)    return (0.0);  /* Undo the scaling */  b = ldexp (b, e);  return (b);}#endif /* 1 *//*							csqrt() * *	Complex square root * * * * SYNOPSIS: * * double complex csqrt(); * double complex z, w; * * w = csqrt (z); * * * * DESCRIPTION: * * * If z = x + iy,  r = |z|, then * *                       1/2 * Re w  =  [ (r + x)/2 ]   , * *                       1/2 * Im w  =  [ (r - x)/2 ]   . * * Cancellation error in r-x or r+x is avoided by using the * identity  2 Re w Im w  =  y. * * Note that -w is also a square root of z.  The root chosen * is always in the right half plane and Im w has the same sign as y. * * * * ACCURACY: * *                      Relative error: * arithmetic   domain     # trials      peak         rms *    DEC       -10,+10     25000       3.2e-17     9.6e-18 *    IEEE      -10,+10   1,000,000     2.9e-16     6.1e-17 * */double complexcsqrt (z)     double complex z;{  double complex w;  double x, y, r, t, scale;  x = creal (z);  y = cimag (z);  if (y == 0.0)    {      if (x == 0.0)	{	  w = 0.0 + y * I;	}      else	{	  r = fabs (x);	  r = sqrt (r);	  if (x < 0.0)	    {	      w = 0.0 + r * I;	    }	  else	    {	      w = r + y * I;	    }	}      return (w);    }  if (x == 0.0)    {      r = fabs (y);      r = sqrt (0.5*r);      if (y > 0)	w = r + r * I;      else	w = r - r * I;      return (w);    } /* Rescale to avoid internal overflow or underflow.  */ if ((fabs(x) > 4.0) || (fabs(y) > 4.0))   {     x *= 0.25;     y *= 0.25;     scale = 2.0;   } else   {#if 1     x *= 1.8014398509481984e16;  /* 2^54 */     y *= 1.8014398509481984e16;     scale = 7.450580596923828125e-9; /* 2^-27 */#else     x *= 4.0;     y *= 4.0;     scale = 0.5;#endif   }  w = x + y * I;  r = cabs(w);  if( x > 0 )    {      t = sqrt( 0.5 * r + 0.5 * x );      r = scale * fabs( (0.5 * y) / t );      t *= scale;    }  else    {      r = sqrt( 0.5 * r - 0.5 * x );      t = scale * fabs( (0.5 * y) / r );      r *= scale;    }  if (y < 0)    w = t - r * I;  else    w = t + r * I;  return (w);}doublehypot( x, y )     double x, y;{  double complex z;  z = x + y * I;return (cabs(z));}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品sm在线观看| 蜜桃免费网站一区二区三区| 国内成人精品2018免费看| 色综合久久综合网欧美综合网| 欧美精品1区2区| 一区二区三区免费观看| 国产精品一色哟哟哟| 欧美日韩一区精品| 国产精品国产三级国产| 看片的网站亚洲| 欧美在线视频不卡| 亚洲免费观看视频| 国产成人aaa| 国产婷婷一区二区| 国产一区视频在线看| 这里只有精品免费| 亚洲国产精品一区二区尤物区| 97久久精品人人做人人爽50路| 久久久久久久综合日本| 麻豆91在线播放免费| 91精品黄色片免费大全| 午夜国产不卡在线观看视频| 在线免费观看不卡av| 亚洲视频中文字幕| 91丨九色丨黑人外教| 中文字幕亚洲综合久久菠萝蜜| 国产精品亚洲综合一区在线观看| 精品99一区二区| 激情亚洲综合在线| 国产亚洲成aⅴ人片在线观看| 精一区二区三区| 久久影院电视剧免费观看| 麻豆精品在线看| 久久久亚洲精华液精华液精华液| 狠狠色丁香九九婷婷综合五月| 日韩精品一区二区在线观看| 美女脱光内衣内裤视频久久网站| 日韩一区二区中文字幕| 蜜臀国产一区二区三区在线播放 | 成人av在线看| 国产精品久久久久久一区二区三区| 国产91高潮流白浆在线麻豆 | 欧美激情一区二区三区蜜桃视频| 国产九色sp调教91| 中文字幕色av一区二区三区| 91激情在线视频| 亚洲国产aⅴ天堂久久| 91精品黄色片免费大全| 久久国产精品免费| 国产精品久久久久影视| 99re66热这里只有精品3直播 | 制服丝袜中文字幕亚洲| 六月丁香婷婷久久| 欧美激情综合五月色丁香| 一本一道久久a久久精品| 丝袜亚洲另类欧美| 2023国产精品视频| 一本大道久久a久久精二百 | 久久精品一区八戒影视| 成人av在线播放网站| 亚洲国产精品嫩草影院| 欧美一级精品在线| 成人国产在线观看| 亚洲国产精品一区二区久久恐怖片| 日韩欧美国产一区二区三区| 成人爱爱电影网址| 日日夜夜一区二区| 中文字幕二三区不卡| 欧美日韩国产一区二区三区地区| 国产一区二区三区免费观看| 亚洲人亚洲人成电影网站色| 日韩三级在线观看| 色噜噜夜夜夜综合网| 黑人巨大精品欧美黑白配亚洲| 亚洲免费观看高清完整版在线观看 | 国产成人综合在线| 亚洲色图一区二区三区| 欧美成人免费网站| 成人av免费在线播放| 视频一区免费在线观看| 国产精品美女视频| 日韩精品中午字幕| 欧美色图天堂网| 高清免费成人av| 美腿丝袜亚洲综合| 一区二区理论电影在线观看| 久久免费视频一区| 日韩区在线观看| 欧美专区亚洲专区| 99麻豆久久久国产精品免费 | 国产蜜臀97一区二区三区| 欧美精品 日韩| 91九色最新地址| 成人三级在线视频| 国产精品自拍网站| 久久99国产精品久久99 | 成人做爰69片免费看网站| 蜜臀av亚洲一区中文字幕| 亚洲国产wwwccc36天堂| 中文字幕亚洲综合久久菠萝蜜| 久久先锋影音av| 亚洲精品一区在线观看| 国产精品色在线观看| 久久影院午夜片一区| 精品国产凹凸成av人导航| 91精品国产全国免费观看| 在线观看国产91| 91亚洲精品乱码久久久久久蜜桃| 粉嫩av一区二区三区| 国产精品一区在线观看你懂的| 国产一区二区在线电影| 精品系列免费在线观看| 九色porny丨国产精品| 精品在线你懂的| 国产一区二区不卡| 国产美女精品在线| 国产资源在线一区| 国产成人在线影院 | 日韩一区中文字幕| 亚洲欧美一区二区三区国产精品 | 精品一区二区精品| 免费亚洲电影在线| 激情综合色播五月| 风间由美一区二区av101| 99免费精品视频| 欧美亚洲一区二区在线| 欧美日韩在线播放三区四区| 欧美三级一区二区| 日韩美女在线视频| 久久嫩草精品久久久精品| 欧美国产日韩a欧美在线观看| 日韩一区在线看| 亚洲一区二区三区国产| 日韩国产欧美三级| 国产一区二区美女诱惑| www.亚洲色图.com| 欧美裸体一区二区三区| 精品嫩草影院久久| 亚洲视频一二三区| 日韩vs国产vs欧美| 国产乱子伦一区二区三区国色天香| 国产成人h网站| 在线观看中文字幕不卡| 日韩视频一区二区| 国产精品久久三| 日韩精品一区第一页| 成人av集中营| 6080日韩午夜伦伦午夜伦| 国产喷白浆一区二区三区| 亚洲风情在线资源站| 国产精品 日产精品 欧美精品| 91在线观看地址| 日韩精品一区二区三区三区免费| 国产欧美1区2区3区| 亚洲成人av一区二区三区| 91性感美女视频| 欧美成人伊人久久综合网| 国产精品欧美精品| 日韩中文字幕区一区有砖一区| 国产suv精品一区二区883| 欧美日韩一区在线| 国产精品国产三级国产aⅴ中文| 天天综合天天综合色| 丁香另类激情小说| 欧美日本乱大交xxxxx| 国产欧美一区二区三区在线老狼 | 东方欧美亚洲色图在线| 69堂成人精品免费视频| 国产精品不卡在线观看| 久久精品久久精品| 欧美自拍丝袜亚洲| 国产精品区一区二区三区| 日本少妇一区二区| 色偷偷久久一区二区三区| 久久久久久日产精品| 男女男精品网站| 欧美日韩一区二区欧美激情| 国产精品国产三级国产三级人妇| 久久精品国产一区二区三| 在线视频你懂得一区| 国产精品国产三级国产a| 久久成人免费网站| 欧美精品在线观看一区二区| 亚洲精品写真福利| 国产精品白丝av| 亚洲精品一区二区三区蜜桃下载 | 成a人片亚洲日本久久| 久久男人中文字幕资源站| 日本不卡不码高清免费观看| 欧美色图在线观看| 亚洲成a人片在线观看中文| 99re热视频精品| 国产精品家庭影院| 粉嫩av一区二区三区在线播放 | 日韩一区二区电影网| 香蕉乱码成人久久天堂爱免费| 色系网站成人免费| 一级中文字幕一区二区| av激情综合网| 亚洲人成精品久久久久久|