Site admin: fujis PukiWiki 1.5.4 © 2001-2022 PukiWiki Development Team. Powered by PHP 8.1.29. HTML convert time: 0.007 sec.
ã¾ãã¯CGæ³(Conjugate Gradient Method)ã§é£ç«æ¹ç¨å¼ã解ãç·´ç¿ã CGæ¹ã®ã¢ã«ã´ãªãºã ã¯Wikipediaã«ä»»ãããã¨ã«ãã¦ãCGæ³ã®ããã°ã©ã ã¯ä»¥ä¸ã®ããã«ãªã£ãã /*==================================================*/ // CGæ³ãã¹ãããã°ã©ã /*==================================================*/ #include <stdio.h> #include <stdlib.h> #include <math.h> #define N  10 #define TMAX 100 #define EPS (1.0e-6) typedef double Vector[N];    // ãã¯ãã« typedef double Matrix[N][N
ç·å代æ°ãæ°å¤è§£æ (æ°å¤ç·å½¢ä»£æ°) ã«ããã¦ãè¡åAã®åå¦çè¡åPã¨ã¯ãPâ1AãAããå°ããªæ¡ä»¶æ°ãæã¤è¡åãæãã åå¦çã¯ã大è¦æ¨¡çè¡åãä¿æ°ã¨ããé£ç«ä¸æ¬¡æ¹ç¨å¼ ã解ãããã«å復æ³ãç¨ããå ´åã«æå¹ã§ãããããã¯ãã»ã¨ãã©ã®å復æ³ã§è¡åã®æ¡ä»¶æ°ãå¢å¤§ããã«å¾ã£ã¦åæçãä½ä¸ããããã§ãããå ·ä½çã«ã¯ãå ã®æ¹ç¨å¼ã解ã代ããã«ãå·¦åå¦çãé©ç¨ããæ¹ç¨å¼
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}