{"id":328,"date":"2016-09-09T12:35:39","date_gmt":"2016-09-09T03:35:39","guid":{"rendered":"http:\/\/cs-tklab.na-inet.jp\/?p=328"},"modified":"2023-01-10T15:40:54","modified_gmt":"2023-01-10T06:40:54","slug":"%e6%a8%a1%e6%93%ac%e8%ac%9b%e7%be%a9%e3%80%8c%e6%95%b0%e5%ad%a6%e3%81%a8%e8%a8%88%e7%ae%97%e3%80%80%ef%bd%9e%e7%90%86%e8%ab%96%e3%81%a8%e5%ae%9f%e8%b7%b5%ef%bd%9e%e3%80%8d","status":"publish","type":"post","link":"https:\/\/kd-tklab.na-inet.jp\/?p=328","title":{"rendered":"\u6a21\u64ec\u8b1b\u7fa9\u300c\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306f\u3069\u3046\u3084\u3063\u3066\u8a08\u7b97\u3057\u3066\u3044\u308b\u306e\u304b\uff1f\u300d\uff08\u6539\u984c\u300c\u6570\u5b66\u3068\u8a08\u7b97\u3000\uff5e\u7406\u8ad6\u3068\u5b9f\u8df5\uff5e\u300d\uff09"},"content":{"rendered":"<p><br \/>\n<strong>\u6982\u8981<\/strong><\/p>\n<blockquote><p>\u3000\u6570\u5b66\uff08\uff1d\u7406\u8ad6\uff09\u3068\u8a08\u7b97\uff08\uff1d\u5b9f\u8df5\uff09\u306f\u5168\u304f\u6027\u8cea\u306e\u7570\u306a\u308b\u3082\u306e\u3067\uff0c\u8a08\u7b97\u306e\u52b9\u7387\u6027\u3084\u6b63\u78ba\u6027\u3092\u8ffd\u53ca\u3059\u308b\u3068\u6570\u5b66\u3068\u306f\u5225\u306e\u65b9\u6cd5\u8ad6\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u8b1b\u7fa9\u3067\u306f\uff12\u6b21\u65b9\u7a0b\u5f0f\u3084\u5e73\u5747\u306e\u8a08\u7b97\u3092\u4f8b\u306b\uff0c\u300c\u9ad8\u6027\u80fd\u306a\u8a08\u7b97\u300d\u3092\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u4e0a\u3067\u884c\u3046\u624b\u6cd5\u3092\u8003\u3048\u3066\u3044\u304d\u307e\u3059\u3002<\/p><\/blockquote>\n<p><strong>\uff11\uff0e\u6570\u5b66\uff1d\u7406\u8ad6\uff0c\u8a08\u7b97\uff1d\u5b9f\u8df5<\/strong><\/p>\n<p>\u3000\u79c1\u306e\u5c02\u9580\u306f\u300c\u9ad8\u6027\u80fd\u8a08\u7b97(High Performance Computing)\u300d\u3067\u3059\u3002\u8aad\u3093\u3067\u5b57\u306e\u3054\u3068\u304f\uff0c\u300c\u9ad8\u6027\u80fd\u300d\u306a\u300c\u8a08\u7b97\u6cd5\u300d\u3092\u8ffd\u6c42\u3059\u308b\u5b66\u554f\u306e\u4e00\u5206\u91ce\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u307e\u3060\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u304c\u958b\u767a\u3055\u308c\u308b\u524d\uff0c20\u4e16\u7d00\u307e\u3067\u306f\u4eba\u9593\u304c\u3042\u3089\u3086\u308b\u8a08\u7b97\u3092\u884c\u3063\u3066\u3044\u307e\u3057\u305f\u304c\uff0c21\u4e16\u7d00\u306e\u73fe\u5728\uff0c\u8a08\u7b97\u306e\u3046\u3061\u5358\u7d14\u306a\u3082\u306e\u306f\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u304c\u62c5\u3046\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u5f93\u3063\u3066\uff0c\u300c\u9ad8\u6027\u80fd\u8a08\u7b97\u300d\u3082\u300c\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u306b\u3068\u3063\u3066\u300d\u597d\u90fd\u5408\u306a\u3088\u3046\u306b\u8a08\u7b97\u65b9\u6cd5\u3092\u5de5\u592b\u3059\u308b\u3082\u306e\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u6a21\u64ec\u8b1b\u7fa9\u3067\u306f\u73fe\u5728\u306e\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u304c\u3069\u306e\u3088\u3046\u306a\u5de5\u592b\u306e\u3082\u3068\u306b\u300c\u9ad8\u6027\u80fd\u8a08\u7b97\u300d\u3092\u5b9f\u73fe\u3057\u3066\u3044\u308b\u304b\u3092\u5177\u4f53\u7684\u306a\u4f8b\u3092\u6319\u3052\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<p>\u3000\u3055\u3066\uff0c\u7686\u3055\u3093\u304c\u601d\u3044\u6d6e\u304b\u3079\u308b\u300c\u8a08\u7b97\u300d\u3068\u306f\u3069\u306e\u3088\u3046\u306a\u3082\u306e\u3067\u3057\u3087\u3046\uff1f\u3000\u300c\u8a08\u7b97\u9ad8\u3044\u5974\u300d\u3068\u8a00\u3046\u3068\uff0c\u305a\u308b\u304c\u3057\u3053\u304f\u7acb\u3061\u632f\u308b\u821e\u3046\u3068\u3044\u3046\u610f\u5473\u306b\u306a\u308a\u307e\u3059\u304c\uff0c\u3053\u3053\u3067\u53d6\u308a\u6271\u3046\u8a08\u7b97\u3068\u306f\u300c\u3054\u304f\u5358\u7d14\u306a\u6570\u306e\u64cd\u4f5c\u300d\u3068\u3057\u307e\u3059\u3002\u4e00\u756a\u7c21\u5358\u306a\u300c\u6570\u306e\u64cd\u4f5c\u300d\u306f\uff0c\u5c0f\u5b66\u6821\u3067\u7fd2\u3046\u56db\u5247\u6f14\u7b97\uff08\u52a0\u6e1b\u4e57\u9664\uff09\u3067\u3059\u306d\u3002\u3053\u3053\u3067\\(a\\), \\(b\\)\u306f\u5b9f\u6570\u3068\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u305f\u3057\u7b97\uff08\u52a0\u7b97\uff09\u30fb\u30fb\u30fb\\(a + b\\)<\/li>\n<li>\u3072\u304d\u7b97\uff08\u6e1b\u7b97\uff09\u30fb\u30fb\u30fb\\(a &#8211; b\\)<\/li>\n<li>\u304b\u3051\u7b97\uff08\u4e57\u7b97\uff09\u30fb\u30fb\u30fb\\(a \\times b = ab\\)<\/li>\n<li>\u308f\u308a\u7b97\uff08\u9664\u7b97\uff09\u30fb\u30fb\u30fb\\(a \/ b\\)<\/li>\n<\/ul>\n<p>\u3000\u56db\u5247\u6f14\u7b97\u3060\u3051\u3067\u5b9f\u884c\u3067\u304d\u308b\u8a08\u7b97\u3068\u3044\u3048\u3070\uff0c\u5e73\u5747\u5024\u306e\u8a08\u7b97\u304c\u3042\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\\(n\\)\u500b\u306e\u5b9f\u6570\\(c_1, c_2, &#8230;, c_n\\)\u306e\u5e73\u5747\u5024\\(\\mu\\)\u306f\uff0c\\(n-1\\)\u306e\u52a0\u7b97\u30681\u56de\u306e\u9664\u7b97\u3092\u7d44\u307f\u5408\u308f\u305b\u3066<br \/>\n\\[ \\mu = \\frac{1}{n}\\sum^n_{i=1} c_i = \\frac{c_1 + c_2 + \\cdots + c_n}{n} \\]<br \/>\n\u3068\u8a08\u7b97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3000\u3082\u3046\u5c11\u3057\u8907\u96d1\u306a\u8a08\u7b97\u306b\u306a\u308b\u3068\uff0c\u5e73\u65b9\u6839\uff08\\(\\sqrt{a}\\)\uff09\uff0c\u4e09\u89d2\u95a2\u6570\uff08\\(\\sin a, \\cos a, \\tan a \\)\uff09\uff0c\u6307\u6570\u95a2\u6570\uff08\\(\\exp(x) = e^x\\)\uff09\uff0c\u5bfe\u6570\u95a2\u6570\uff08\\(\\log a\\)\uff09\u306a\u3069\u3082\u4f7f\u3046\u5fc5\u8981\u304c\u51fa\u3066\u304d\u307e\u3059\u3002\u5e73\u65b9\u6839\u3092\u4f7f\u3046\u8a08\u7b97\u3067\u306f\uff0c\u4f8b\u3048\u30702\u6b21\u65b9\u7a0b\u5f0f<br \/>\n\\[ ax^2 + bx + c = 0 \\]<br \/>\n\u306e\u4e8c\u3064\u306e\u89e3\\(x_1\\), \\(x_2\\)\u306f<br \/>\n\\[ x_1 = \\frac{-b + \\sqrt{b^2 &#8211; 4ac}}{2a}, x_2 = \\frac{-b &#8211; \\sqrt{b^2 &#8211; 4ac}}{2a} \\]<br \/>\n\u3068\u3057\u3066\u8a08\u7b97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u3000\u3053\u3046\u3044\u3046\u8a08\u7b97\u306f\u4eca\u3067\u306f\u666e\u901a\u306b\u96fb\u5353\u3084\u30d1\u30bd\u30b3\u30f3\u30bd\u30d5\u30c8(\u96fb\u5353\u30bd\u30d5\u30c8\u3084\u8868\u8a08\u7b97)\u3067\u7c21\u5358\u306b\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3000\u3068\u3053\u308d\u3067\uff0c\u3053\u3046\u3044\u3046\u8a08\u7b97\u306f\u3069\u3046\u3057\u3066\u3053\u3046\u3044\u3046\u5f0f\u3068\u3057\u3066\u8868\u308f\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u306e\u3067\u3057\u3087\u3046\u304b\uff1f\u3000\u300c\u5e73\u5747\u5024\u300d\u306e\u8a08\u7b97\u306f\u3069\u3046\u3057\u3066\u5168\u3066\u306e\u6570\u3092\u8db3\u3057\u3066\u305d\u306e\u500b\u6570\u3067\u5272\u308b\u306e\u3067\u3057\u3087\u3046\u304b\uff1f\u30002\u6b21\u65b9\u7a0b\u5f0f\u306e\u89e3\u306f\u3069\u3046\u3057\u3066\u3053\u306e\u3088\u3046\u306a\u5f62\u306b\u306a\u308b\u306e\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n<p>\u3000\u305d\u306e\u3088\u3046\u306a\u7591\u554f\u306b\u7b54\u3048\u308b\u305f\u3081\u306e\u5b66\u554f\u4f53\u7cfb\u304c\u300c\u6570\u5b66(Mathematics)\u300d\u3067\u3059\u3002<\/p>\n<p>\u3000\u4f8b\u3048\u3070\u5e73\u5747\u5024\u3002\u89e3\u91c8\u306e\u4ed5\u65b9\u306f\u3044\u308d\u3044\u308d\u8003\u3048\u3089\u308c\u307e\u3059\u304c\uff0c\u4f8b\u3048\u3070\u3053\u3046\u8003\u3048\u3066\u306f\u3069\u3046\u3067\u3057\u3087\u3046\u304b\uff1f\u3000\u3044\u307e\uff0c\u80cc\u4e08\u306e\u9055\u3046\u4e8c\u4eba\u306e\u4eba\u304c\u3044\u308b\u3068\u3057\u307e\u3059\u3002\u305d\u306e\u3046\u3061\u80cc\u306e\u9ad8\u3044\u65b9\u304b\u3089\u4f4e\u3044\u65b9\u3078\u80cc\u4e08\u3092\u5206\u3051\u3066\u540c\u3058\u8eab\u9577\u306b\u306a\u3089\u3057\u305f\u3068\u3059\u308c\u3070\uff0c\u305d\u308c\u304c\u3053\u306e\u4e8c\u4eba\u306e\u300c\u8eab\u9577\u306e\u5e73\u5747\u5024\u300d\u3092\u610f\u5473\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u304c3\u4eba\u3067\u30824\u4eba\u3067\u30825\u4eba\u3067\u3082\u30fb\u30fb\u30fb\\(n\\)\u4eba\u3067\u3082\uff0c\u5927\u304d\u3044\u4eba\u304b\u3089\u5c0f\u3055\u3044\u4eba\u3078\u80cc\u4e08\u3068\u5206\u3051\u3066\u540c\u3058\u8eab\u9577\u306b\u5747\u3057\u305f\u6642\u306e\u80cc\u4e08\u304c\u300c\\(n\\)\u4eba\u306e\u8eab\u9577\u306e\u5e73\u5747\u5024\u300d\u3067\u3042\u308b\u3068\u8a00\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30002\u6b21\u65b9\u7a0b\u5f0f\u306e\u89e3\u306f\u3069\u3046\u3067\u3057\u3087\u3046\uff1f\u3000\u6559\u79d1\u66f8\u306b\u306f\u3069\u3046\u3057\u3066\u3053\u3046\u3044\u3046\u89e3\u306e\u516c\u5f0f\u304c\u51fa\u3066\u304f\u308b\u306e\u304b\uff0c\u3061\u3083\u3093\u3068\u89e3\u8aac\u304c\u66f8\u3044\u3066\u3042\u3063\u305f\u306f\u305a\u3067\u3059\u304c\u7686\u3055\u3093\u899a\u3048\u3066\u3044\u307e\u3059\u304b\uff1f<\/p>\n<p>\u30002\u6b21\u65b9\u7a0b\u5f0f\u306e\u4e21\u8fba\u3092\u6574\u7406\u3057\u3066\uff0c\u5de6\u5074\u306b\\(x\\)\u3092\u542b\u30801\u6b21\u5f0f\u306e2\u4e57\u304c\u6765\u308b\u3088\u3046\u306b\u3059\u308b\u3068<br \/>\n\\[ \\left(x + \\frac{b}{2a}\\right)^2 = \\frac{b^2 &#8211; 4ac}{4a^2} \\]<br \/>\n\u3068\u306a\u308a\u307e\u3059\u306e\u3067\uff0c<br \/>\n\\[ x + \\frac{b}{2a} = \\pm \\frac{\\sqrt{b^2 &#8211; 4ac}}{2a} \\]<br \/>\n\u304b\u3089<br \/>\n\\[ x = \\frac{-b \\pm \\sqrt{b^2 &#8211; 4ac}}{2a} \\]<br \/>\n\u3068\u306a\u308b\u8a33\u3067\u3059\u3002<\/p>\n<p>\u3000\u3053\u3046\u3044\u3046\uff0c\u300c\u5e73\u5747\u5024\u306e\u89e3\u91c8\u300d\u3084\u300c2\u6b21\u65b9\u7a0b\u5f0f\u306e\u89e3\u306e\u5c0e\u51fa\u6cd5\u300d\u3082\u300c\u6570\u5b66\u300d\u306e\u4e00\u90e8\u3067\u3059\u3002\u3082\u3061\u308d\u3093\u300c\u5e73\u5747\u5024\u306e\u8a08\u7b97\u300d\u3084\u300c2\u6b21\u65b9\u7a0b\u5f0f\u306e\u89e3\u306e\u8a08\u7b97\u300d\u3082\u300c\u6570\u5b66\u300d\u306e\u4e00\u90e8\u3067\u3059\u304c\uff0c\u3053\u308c\u3089\u306e\u8a08\u7b97\u306f\u300c\u89e3\u91c8\u300d\u306f\u300c\u5c0e\u51fa\u300d\u306e\u7d50\u679c\u5f97\u3089\u308c\u308b\u300c\u624b\u7d9a\u304d\u300d\u306b\u904e\u304e\u307e\u305b\u3093\u3002\u8a08\u7b97\u306e\u4ed5\u65b9\u304c\u5206\u304b\u3063\u305f\u3068\u3057\u3066\u3082\uff0c\u3069\u3046\u3044\u3046\u7406\u7531\u3067\u305d\u306e\u3088\u3046\u306a\u8a08\u7b97\u5f0f\u306b\u306a\u3063\u305f\u306e\u304b\uff0c\u3069\u3046\u3044\u3046\u7406\u5c48\u3067\u8a08\u7b97\u5f0f\u304c\u5c0e\u304b\u308c\u305f\u306e\u304b\u306f\u5225\u306b\u8003\u3048\u308b\u5fc5\u8981\u304c\u3042\u308b\u8a33\u3067\u3059\u3002<\/p>\n<p>\u3000\u73fe\u5728\uff0c\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u304c\u62c5\u3063\u3066\u3044\u308b\u300c\u8a08\u7b97\u300d\u306f\u6570\u5b66\u7684\u306b\u5c0e\u304b\u308c\u305f\u89e3\u91c8\u3084\u5c0e\u51fa\u6cd5\u304b\u3089\u5f97\u3089\u308c\u308b\u5358\u7d14\u51e6\u7406\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3057\u304b\u3057\u3053\u306e\u5148\u306b\u3082\u3046\u4e00\u3064\u96e3\u3057\u3044\u554f\u984c\u304c\u6b8b\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u3002<\/p>\n<p>\u3000\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u306f\u3042\u3089\u304b\u3058\u3081\u6c7a\u3081\u3089\u308c\u305f\u624b\u7d9a\u304d\u3092\u6559\u3048\u3066\u3082\u3089\u308f\u306a\u3051\u308c\u3070\u4f55\u3082\u5b9f\u884c\u3057\u307e\u305b\u3093\u3002\u624b\u7d9a\u304d\u3092\u8a18\u8ff0\u3057\u305f\u6587\u66f8\u306f\u30d7\u30ed\u30b0\u30e9\u30e0\uff08\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\uff09\u3068\u3057\u3066\u4eba\u9593\u304c\u66f8\u3044\u3066\u3084\u3089\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\u5e73\u5747\u5024\u306e\u8a08\u7b97\u30842\u6b21\u65b9\u7a0b\u5f0f\u306e\u89e3\u306e\u8a08\u7b97\u3082\uff0c\u5f0f\u306b\u57fa\u3065\u3044\u3066\u3069\u3046\u3044\u3046\u624b\u9806\u3067\u8a08\u7b97\u3059\u308b\u306e\u304b\u3092\uff0c\u56db\u5247\u6f14\u7b97\u3084\u95a2\u6570\u306e\u7d44\u307f\u5408\u308f\u305b\u65b9\u6cd5\u307e\u3067\u6307\u793a\u3057\u306a\u3044\u3068\uff0c\u52b9\u7387\u7684\u306a\u8a08\u7b97\u304c\u3067\u304d\u306a\u3044\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306a\u624b\u7d9a\u304d\u3092\u300c\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0(algorithm)\u300d\u3068\u547c\u3073\u307e\u3059\u3002<\/p>\n<p>\u3000\u79c1\u304c\u53d6\u308a\u7d44\u3093\u3067\u3044\u308b\u300c\u9ad8\u6027\u80fd\u8a08\u7b97\u300d\u306f\uff0c\u5f0f\u3092\u8a08\u7b97\u3059\u308b\u305f\u3081\u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u3069\u306e\u3088\u3046\u306b\u6c7a\u5b9a\u3059\u308c\u3070\u52b9\u7387\u304c\u826f\u304f\u306a\u308b\u304b\uff0c\u3068\u3044\u3046\u3053\u3068\u3092\u8003\u3048\u308b\u5b66\u554f\u5206\u91ce\u306a\u306e\u3067\u3059\u3002<\/p>\n<p><strong>\uff12\uff0e\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u306e\u69cb\u9020<\/strong><\/p>\n<p>\u3000\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306f\uff0c\u5168\u3066\u306e\u60c5\u5831\u3092\u96fb\u6c17\u4fe1\u53f7\u3068\u3057\u3066\u4fdd\u6301\u3057\uff0c\u305d\u306e\u4fe1\u53f7\u3092\u4f1d\u3048\u308b\u56de\u8def\uff08\u30d0\u30b9\uff09\u3068\u4fe1\u53f7\u306e\u3084\u308a\u53d6\u308a\u3092\u901a\u3058\u3066\u4f55\u3089\u304b\u306e\u51e6\u7406\u3092\u884c\u3046\u6a5f\u5668\uff08\u30c7\u30d0\u30a4\u30b9\uff09\u306b\u3088\u3063\u3066\u69cb\u7bc9\u3055\u308c\u305f\u91d1\u7269\uff08\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\uff09\u3068\uff0c\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u5185\u3092\u4f1d\u308f\u308b\u96fb\u6c17\u4fe1\u53f7\u306e\u81a8\u5927\u306a\u7a4d\u307f\u91cd\u306d\u306b\u3088\u3063\u3066\u69cb\u7bc9\u3055\u308c\u305f\u51e6\u7406\u5185\u5bb9\u306e\u84c4\u7a4d\uff0c\u5373\u3061\u8edf\u4f53\uff08\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\uff09\u306b\u3088\u3063\u3066\u69cb\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u306f\u5805\u3044\u91d1\u5c5e\u3084\u30d7\u30e9\u30b9\u30c6\u30a3\u30c3\u30af\u306e\u30ab\u30bf\u30de\u30ea\u3067\u3059\u304b\u3089\uff0c\u76ee\u3067\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u305f\u308a\uff08\u53ef\u8996\u7269\uff09\uff0c\u89e6\u3063\u3066\u305d\u306e\u5b58\u5728\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\uff0c\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306f\u5358\u306a\u308b\u4fe1\u53f7\u3067\u3059\u304b\u3089\uff0c\u6211\u3005\u4eba\u9593\u304c\u611f\u77e5\u3059\u308b\u305f\u3081\u306b\u306f\u30c7\u30d0\u30a4\u30b9\u3092\u4ecb\u3057\u3066\u53ef\u8996\u5316\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u51e6\u7406\u3092\u652f\u6301\u3059\u308b\u4fe1\u53f7\u3092\u4eba\u9593\u3084\u5916\u90e8\u306e\u5371\u6a5f\u3068\u3084\u308a\u53d6\u308a\u3059\u308b\u305f\u3081\u306e\u30c7\u30d0\u30a4\u30b9\u3092\u5165\u51fa\u529b\u88c5\u7f6e\uff08I\/O = Input &#038; Output\uff09\u3068\u547c\u3073\u307e\u3059\u3002\u3053\u3046\u3057\u305f\u5165\u51fa\u529b\u88c5\u7f6e\u3092\u4ecb\u3057\u3064\u3064\uff0c\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u306b\u6307\u4ee4\u3092\u4e0e\u3048\u308b\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u4f5c\u3063\u3066\u521d\u3081\u3066\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u3092\u81ea\u5728\u306b\u64cd\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/cs-tklab.na-inet.jp\/blog\/wp-content\/uploads\/2015\/05\/basis_computing1.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"484\" data-permalink=\"https:\/\/kd-tklab.na-inet.jp\/?attachment_id=484\" data-orig-file=\"https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/basis_computing1.png?fit=1878%2C1221&amp;ssl=1\" data-orig-size=\"1878,1221\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"basis_computing1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/basis_computing1.png?fit=525%2C341&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/cs-tklab.na-inet.jp\/blog\/wp-content\/uploads\/2015\/05\/basis_computing1-300x195.png?resize=300%2C195\" alt=\"basis_computing1\" width=\"300\" height=\"195\" class=\"alignnone size-medium wp-image-484\" srcset=\"https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/basis_computing1.png?resize=300%2C195&amp;ssl=1 300w, https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/basis_computing1.png?resize=1024%2C666&amp;ssl=1 1024w, https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/basis_computing1.png?w=1878&amp;ssl=1 1878w, https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/basis_computing1.png?w=1575&amp;ssl=1 1575w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/i0.wp.com\/cs-tklab.na-inet.jp\/blog\/wp-content\/uploads\/2015\/05\/basis_computing2.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"483\" data-permalink=\"https:\/\/kd-tklab.na-inet.jp\/?attachment_id=483\" data-orig-file=\"https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/basis_computing2.png?fit=1890%2C1212&amp;ssl=1\" data-orig-size=\"1890,1212\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"basis_computing2\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/basis_computing2.png?fit=525%2C337&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/cs-tklab.na-inet.jp\/blog\/wp-content\/uploads\/2015\/05\/basis_computing2-300x192.png?resize=300%2C192\" alt=\"basis_computing2\" width=\"300\" height=\"192\" class=\"alignnone size-medium wp-image-483\" srcset=\"https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/basis_computing2.png?resize=300%2C192&amp;ssl=1 300w, https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/basis_computing2.png?resize=1024%2C657&amp;ssl=1 1024w, https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/basis_computing2.png?w=1890&amp;ssl=1 1890w, https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/basis_computing2.png?w=1575&amp;ssl=1 1575w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u3000\u3053\u306e\u539f\u5247\u306f\uff0c\u5148\u306b\u3042\u3052\u305f\uff12\u6b21\u65b9\u7a0b\u5f0f\u306e\u89e3\u306e\u8a08\u7b97\u3067\u3082\uff0c\u5e73\u5747\u5024\u306e\u8a08\u7b97\u3067\u3082\u5909\u308f\u308a\u307e\u305b\u3093\u3002\u4f8b\u3048\u3070C++(\u30b7\u30fc\u30d7\u30e9\u30b9\u30d7\u30e9\u30b9)\u3068\u3044\u3046\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u8a00\u8a9e\u3067\u3053\u306e\u8a08\u7b97\u3092\u66f8\u304f\u3068\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u8a08\u7b97\u90e8\u5206\u306e\u307f\u306e\u629c\u7c8b\u3067\u3059\uff08\u30d7\u30ed\u30b0\u30e9\u30e0\u5168\u4f53\u2192<a href=\"http:\/\/cs-tklab.na-inet.jp\/blog\/wp-content\/uploads\/2015\/05\/quadratic_eq.cc\">quadratic_eq.cc<\/a>)\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"c\" data-enlighter-title=\"quadratic_eq_partial\">\/\/ print the given equation\r\ncout &lt;&lt; a &lt;&lt; &quot; * x^2 + (&quot; &lt;&lt; b &lt;&lt; &quot;) * x + (&quot; &lt;&lt; c &lt;&lt; &quot;) = 0 &quot; &lt;&lt; endl;\r\n\r\n\/\/ Calculate solutions with analytic formulas\r\nd = b * b - 4.0 * a * c;\r\nsqrt_d = sqrt((complex&lt;double&gt;)d);\r\na2 = 2.0 * a;\r\n\r\nx[0] = (- b + sqrt_d) \/ a2;\r\nx[1] = (- b - sqrt_d) \/ a2;\r\n\r\n\/\/ Print solutions\r\ncout &lt;&lt; &quot;x[0] = &quot; &lt;&lt; setprecision(15) &lt;&lt; x[0] &lt;&lt; endl;\r\ncout &lt;&lt; &quot;x[1] = &quot; &lt;&lt; setprecision(15) &lt;&lt; x[1] &lt;&lt; endl;\r\n<\/pre>\n<p>\u3000\u89e3\u306fx[0], x[1]\u3068\u3044\u3046\u540d\u524d\u306e\u30e1\u30e2\u30ea\u4e0a\u306e\u9818\u57df\u306b\u8a08\u7b97\u3055\u308c\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u304c\u76f4\u63a5\u89e3\u91c8\u3067\u304d\u308b\u5f62\u5f0f\u306b\u5909\u63db\u3055\u308c\uff08\u30b3\u30f3\u30d1\u30a4\u30eb\uff09\uff0c\u5b9f\u884c\u6642\u306b2\u6b21\u65b9\u7a0b\u5f0f\u306e\u4fc2\u6570\\(a\\), \\(b\\), \\(c\\)\u3092\u5165\u529b\u3059\u308b\u3053\u3068\u3067\u89e3\\(x_1\\), \\(x_2\\)\u306e\u3092\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u306b\u8868\u793a\uff08\u51fa\u529b\uff09\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070<br \/>\n\\[ x^2 + 3x + 2 = 0 \\]<br \/>\n\u306e\u89e3\\(-1, -2\\)\u3092\u8a08\u7b97\u3059\u308b\u5834\u5408\u306f\u6b21\u306e\u3088\u3046\u306b\u5b9f\u884c\u3057\u307e\u3059\u3002<br \/>\n<code><br \/>\n$ .\/quadratic_eq 1 3 2 \u2190 \u30d7\u30ed\u30b0\u30e9\u30e0\u540d\uff0c\u4fc2\u6570\u306e\u5165\u529b<br \/>\n1 * x^2 + (3) * x + (2) = 0 \u2190 \u65b9\u7a0b\u5f0f\u306e\u78ba\u8a8d<br \/>\nx[0] = (-1,0)\u3000\u2190\u89e31<br \/>\nx[1] = (-2,0)\u3000\u2190\u89e32<br \/>\n<\/code><\/p>\n<p>\u3000\u307e\u305f\uff0c\u5e73\u5747\u3092\u8a08\u7b97\u3059\u308bC++\u30d7\u30ed\u30b0\u30e9\u30e0&#8221;<a href=\"http:\/\/cs-tklab.na-inet.jp\/blog\/wp-content\/uploads\/2015\/05\/average.cc\">average.cc<\/a>&#8220;\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"c\" data-enlighter-title=\"\">\/\/ print the given datum\r\nfor(i = 0; i &lt; num_c; i++)\r\n\tcout &lt;&lt; c[i] &lt;&lt; &quot; &quot;;\r\ncout &lt;&lt; endl;\r\n\r\n\/\/ Calculate average\r\naverage_mu = 0.0;\r\nfor(i = 0; i &lt; num_c; i++)\r\n\taverage_mu += c[i];\r\n\r\naverage_mu \/= num_c;\r\n\r\n\/\/ Print solutions\r\ncout &lt;&lt; &quot;average = &quot; &lt;&lt; setprecision(15) &lt;&lt; average_mu &lt;&lt; endl;<\/pre>\n<p>\u3000\u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\uff0c\\((1 + 2 + \\cdots + 10) \/ 10 = 5.5 \\)\u3092\u8a08\u7b97\u3055\u305b\u308b\u3068\uff0c\u6b21\u306e\u3088\u3046\u306a\u7d50\u679c\u304c\u5f97\u3089\u308c\u307e\u3059\u3002<br \/>\n<code><br \/>\n$ .\/average 10 1 2 3 4 5 6 7 8 9 10 \u2190\u30d7\u30ed\u30b0\u30e9\u30e0\u540d\u3000\u30c7\u30fc\u30bf\u6570 \u30c7\u30fc\u30bf1 \u30fb\u30fb\u30fb \u30c7\u30fc\u30bf10<br \/>\n12<br \/>\n2<br \/>\n3<br \/>\n4<br \/>\n5<br \/>\n6<br \/>\n7<br \/>\n8<br \/>\n9<br \/>\n10<br \/>\n11<br \/>\n1 2 3 4 5 6 7 8 9 10 \u2190\u30c7\u30fc\u30bf\u306e\u78ba\u8a8d<br \/>\naverage = 5.5\u3000\u2190\u5e73\u5747\u5024<br \/>\n<\/code><\/p>\n<p><strong>\uff14\uff0e\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u3068\u6841\u843d\u3061<\/strong><br \/>\n\u3000\u3055\u3066\uff0c\u4f8b\u3068\u3057\u3066\u6319\u3052\u305f2\u6b21\u65b9\u7a0b\u5f0f\u306e\u89e3\u8a08\u7b97\u3068\u5e73\u5747\u5024\u306e\u8a08\u7b97\uff0c\u5b9f\u306f\u3069\u3061\u3089\u3082\u6b63\u78ba\u306a\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u5185\u90e8\u3067\u306e\u5b9f\u6570\u306f\uff0c\u6709\u9650\u6841\u306e\u5c0f\u6570\u3067\u3057\u304b\u8868\u73fe\u3067\u304d\u306a\u3044\u305f\u3081\uff0c\u3069\u3046\u3057\u3066\u3082\u771f\u306e\u5024\u3068\u306e\u30ba\u30ec\uff08\u8aa4\u5dee\uff09\u304c\u767a\u751f\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u3000\u4f8b\u3048\u3070\uff0c\u5186\u5468\u7387\\(\\pi = 3.1415926535&#8230;\\)\u306f\uff0c\u540c\u3058\u6570\u306e\u30d1\u30bf\u30fc\u30f3\u306e\u7e70\u308a\u8fd4\u3057\u304c\u73fe\u308c\u306a\u3044\u7121\u7406\u6570\u3068\u3057\u3066\u826f\u304f\u77e5\u3089\u308c\u305f\u3082\u306e\u3067\u3059\u304c\uff0c\u6b63\u78ba\u306b\u8868\u73fe\u3059\u308b\u305f\u3081\u306b\u306f\u7121\u9650\u306e\u6841\u6570\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002\u3057\u304b\u3057\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306e\u30e1\u30e2\u30ea\u306f\u6709\u9650\u306a\u306e\u3067\uff0c\u3069\u3053\u304b\u3067\u6253\u3061\u5207\u3063\u3066\u4e38\u3081\u306a\u3051\u308c\u3070\u683c\u7d0d\u3067\u304d\u307e\u305b\u3093\u3002\u4f8b\u3048\u307015\u6841\u3067\u8868\u73fe\u3059\u308b\u305f\u3081\u306b\u306f<br \/>\n\\[ \\pi \\approx 3.14159265358979 \\]<br \/>\n\u3068\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u305a\uff0c<br \/>\n\\[\\pi &#8211; 3.14159265358979 = 0.0000000000000032384626433832795&#8230; \\]<br \/>\n\u3068\u3044\u3046\u8aa4\u5dee\u304c\u751f\u3058\u307e\u3059\u3002\u3053\u308c\u3092\u4e38\u3081\u8aa4\u5dee\u3068\u547c\u3073\u307e\u3059\u3002\u4f8b\u3068\u3057\u3066\u6319\u3052\u305f\u4e8c\u3064\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3069\u3061\u3089\u3082\u7d0415\u6841\u7a0b\u5ea6\u306e\u6b63\u78ba\u3055\u3092\u6301\u3063\u3066\u304a\u308a\u307e\u3059\u306e\u3067\uff0c16\u6841\u76ee\u4ee5\u964d\u306f\u4e0d\u6b63\u78ba\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3000\u5b9f\u7528\u7684\u306b\u306f15\u6841\u3082\u6b63\u78ba\u3067\u3042\u308c\u3070\u3055\u307b\u3069\u554f\u984c\u767a\u751f\u3057\u307e\u305b\u3093\u304c\uff0c\u7a00\u306b\u300c\u6841\u843d\u3061\u300d\u3068\u3044\u3046\u73fe\u8c61\u304c\u8d77\u304d\uff0c\u7d50\u679c\u304c\u8457\u3057\u304f\u4e0d\u6b63\u78ba\u306b\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u4f8b\u3048\u30702\u6b21\u65b9\u7a0b\u5f0f\u306e\u4f8b\u3067\u306f<br \/>\n\\[ x^2 &#8211; 12345x + 0.00001 = 0\\]<br \/>\n\u3092\u8a08\u7b97\u3057\u3066\u307f\u308b\u3068<br \/>\n<code><br \/>\n$ .\/quadratic_eq 1 12345 0.00001<br \/>\n1 * x^2 + (12345) * x + (1e-05) = 0<br \/>\nx[0] = (-8.10359779279679e-10,0)<br \/>\nx[1] = (-12344.9999999992,0)<br \/>\n<\/code><br \/>\n\u3068\u3044\u3046\u7d50\u679c\u304c\u5f97\u3089\u308c\u307e\u3059\u304c\uff0c\u3053\u306e\u5834\u5408\\(x_1 = -8.100445524504379&#8230; \\times 10^{-10}\\)\u306a\u306e\u3067\uff08\u6b63\u78ba\u306a\u8a08\u7b97\u306f\u3053\u3061\u3089\u3067\u5b9f\u884c\u3067\u304d\u307e\u3059\uff09\uff0c\u6700\u521d\u306e3\u6841\u3057\u304b\u5408\u3063\u3066\u3044\u307e\u305b\u3093\u3002\u8aa4\u5dee\u3092\u542b\u3080\uff0c\u307b\u3068\u3093\u3069\u540c\u3058\u5927\u304d\u3055\u306e\u6709\u9650\u5c0f\u6570\u306e\u52a0\u6e1b\u7b97\u3092\u884c\u3046\u3068\u3053\u306e\u3088\u3046\u306a\u300c\u6841\u843d\u3061\u300d\u304c\u8d77\u304d\u307e\u3059\u3002\u3053\u308c\u3092\u9632\u3050\u306b\u306f\u5c0f\u6570\u306e\u6841\u6570\u3092\u5897\u3084\u3059\u304b\uff0c\u8a08\u7b97\u65b9\u6cd5\u3092\u5909\u3048\u308b\u3057\u304b\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u3000\u3061\u306a\u307f\u306b\uff0c\u6841\u6570\u3092\u7d0432\u6841\u306b\u5897\u3084\u3057\u3066\u8a08\u7b97\u3057\u3066\u307f\u308b\u3068\uff08\u30d7\u30ed\u30b0\u30e9\u30e0\u306f<a href=\"http:\/\/cs-tklab.na-inet.jp\/blog\/wp-content\/uploads\/2015\/05\/quadratic_eq_dd.cc\">\u3053\u3061\u3089<\/a>\uff09<\/p>\n<p><code><br \/>\n$ .\/quadratic_eq_dd 1 12345 0.00001<br \/>\n1.000000000000000000000000000000e+00 * x^2 + (1.234500000000000000000000000000e+04) * x + (1.000000000000000000000000000000e-05) = 0<br \/>\nx[0] = (-8.100445524504379240908904588516e-10,0.000000000000000000000000000000e+00)<br \/>\nx[1] = (-1.234499999999918995544754956208e+04,0.000000000000000000000000000000e+00)<br \/>\n<\/code><\/p>\n<p>\u3068\u306a\u308a\uff0c\u6841\u843d\u3061\u5206\u3092\u3042\u308b\u7a0b\u5ea6\u30d5\u30a9\u30ed\u30fc\u3067\u304d\u3066\u3044\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u3002\u3068\u306f\u3044\u3048\uff0c\u6841\u6570\u3092\u5897\u3084\u3059\u3088\u308a\uff0c\u3082\u3046\u5c11\u3057\u8ce2\u3044\u3084\u308a\u65b9\u306f\u306a\u3044\u306e\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n<p>\u30002\u6b21\u65b9\u7a0b\u5f0f\u306e\u5834\u5408\uff0c\u6b21\u306e\u3088\u3046\u306b\u6841\u843d\u3061\u3057\u306a\u3044\u6b63\u78ba\u306a\u89e3\\(x_1&#8217;\\)\u3092\u4f7f\u3063\u3066\u6b21\u306e\u89e3\\(x_2&#8217;\\)\u3092\u6c42\u3081\u308b\u3068\u3044\u3046\u624b\u9806\u3092\u53d6\u308b\u3053\u3068\u3067\uff0c\u6841\u843d\u3061\u3092\u56de\u907f\u3067\u304d\u308b\u3053\u3068\u304c\u77e5\u3089\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\\begin{eqnarray*}<br \/>\n x_1&#8242; &#038;=&#038; \\frac{-b &#8211; \\mbox{sign}(b)\\sqrt{b^2 &#8211; 4ac}}{2a} \\\\<br \/>\n x_2&#8242; &#038;=&#038; \\frac{c}{2x_1&#8242;}<br \/>\n\\end{eqnarray*}<\/p>\n<p>\u3000\u3053\u306e\u3088\u3046\u306a\u6539\u826f\u3092\u52a0\u3048\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u3092&#8221;<a href=\"http:\/\/cs-tklab.na-inet.jp\/blog\/wp-content\/uploads\/2015\/05\/quadratic_eq2.cc\">quadratic_eq2.cc<\/a>&#8220;\u3068\u3057\u3066\u5b9f\u884c\u3057\u3066\u307f\u307e\u3059\u3002<br \/>\n<code><br \/>\n$ .\/quadratic_eq2 1 12345 0.00001<br \/>\n1 * x^2 + (12345) * x + (1e-05) = 0<br \/>\nx[0] = (-12344.9999999992,0)<br \/>\nx[1] = (-8.10044552450438e-10,-0)<br \/>\n<\/code><br \/>\n\u3000\u3053\u306e\u3088\u3046\u306b\uff0c\u6b63\u78ba\u306a\u89e3\u3092\u5f97\u3066\u3044\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\n<p>\u3000\u5e73\u5747\u5024\u306e\u8a08\u7b97\u3067\u3082\u6841\u843d\u3061\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u7d76\u5bfe\u5024\u306e\u5c0f\u3055\u3044\u6570\u304b\u3089\u8db3\u3057\u3053\u3080\u3053\u3068\u3067\u3042\u308b\u7a0b\u5ea6\uff0c\u6841\u843d\u3061\u3092\u9632\u3050\u3053\u3068\u306f\u3067\u304d\u307e\u3059\u304c\uff0c2\u6b21\u65b9\u7a0b\u5f0f\u306e\u307b\u3069\u306e\u629c\u672c\u7684\u52b9\u679c\u306f\u3042\u308a\u307e\u305b\u3093\u306e\u3067\uff0c\u5c0f\u6570\u306e\u6841\u6570\u3092\u5897\u3084\u3059\u3053\u3068\u304c\u4e00\u756a\u306e\u89e3\u6c7a\u7b56\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><strong>\uff15\uff0e\u30de\u30eb\u30c1\u30b3\u30a2\u3068\u4e26\u5217\u5316<\/strong><\/p>\n<p>\u3000\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306b\u6c42\u3081\u3089\u308c\u308b\u80fd\u529b\u306f\u5897\u3048\u308b\u3053\u3068\u306f\u3042\u308c\uff0c\u6e1b\u308b\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u4eba\u9593\u306e\u5229\u4fbf\u6027\u3092\u9ad8\u3081\u308b\u305f\u3081\u306b\u9ad8\u6027\u80fd\u5316\u306f\u5e38\u306b\u6c42\u3081\u3089\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3000\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306e\u6027\u80fd\u3092\u9ad8\u3081\u308b\u65b9\u6cd5\u306f\uff0cCPU\u306e\u51e6\u7406\u80fd\u529b\u3092\u4e0a\u3052\u308b\u3053\u3068\u3067\u3059\u3002\u305d\u306e\u4e00\u3064\u306e\u65b9\u6cd5\u3068\u3057\u3066\uff0c\u52d5\u4f5c\u5468\u6ce2\u6570(clock)\u3092\u9ad8\u3081\u308b\u3068\u3044\u3046\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\u5b9f\u969b\u306b\uff0c20\u4e16\u7d00\u6700\u5f8c\u306e10\u5e74\u307b\u3069\u3067\u98db\u8e8d\u7684\u306b\u52d5\u4f5c\u5468\u6ce2\u6570\u306f\u5897\u52a0\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/cs-tklab.na-inet.jp\/blog\/wp-content\/uploads\/2015\/05\/intel_cpu_ghz.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"466\" data-permalink=\"https:\/\/kd-tklab.na-inet.jp\/?attachment_id=466\" data-orig-file=\"https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/intel_cpu_ghz.png?fit=1527%2C1059&amp;ssl=1\" data-orig-size=\"1527,1059\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Intel CPU\u306e\u52d5\u4f5c\u5468\u6ce2\u6570\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/intel_cpu_ghz.png?fit=525%2C364&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/cs-tklab.na-inet.jp\/blog\/wp-content\/uploads\/2015\/05\/intel_cpu_ghz-300x208.png?resize=300%2C208\" alt=\"Intel CPU\u306e\u52d5\u4f5c\u5468\u6ce2\u6570\" width=\"300\" height=\"208\" class=\"alignnone size-medium wp-image-466\" srcset=\"https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/intel_cpu_ghz.png?resize=300%2C208&amp;ssl=1 300w, https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/intel_cpu_ghz.png?resize=1024%2C710&amp;ssl=1 1024w, https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/intel_cpu_ghz.png?w=1527&amp;ssl=1 1527w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u3000\u3057\u304b\u3057\uff0c21\u4e16\u7d00\u306b\u5165\u308b\u3068\u6253\u3061\u6b62\u3081\u72b6\u614b\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u52d5\u4f5c\u5468\u6ce2\u6570\u3092\u9ad8\u3081\u308b\u3068\u96fb\u529b\u3092\u98df\u3046\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u4e00\u822c\u5bb6\u5ead\u3067\u3082\u4f7f\u7528\u3067\u304d\u308b\u3088\u3046\u306a\u30d1\u30bd\u30b3\u30f3\u304c\u4f55\u5343\u30ef\u30c3\u30c8\u3082\u98df\u3046\u3088\u3046\u3067\u306f\u4f7f\u3044\u7269\u306b\u306a\u308a\u307e\u305b\u3093\u3002\u307e\u305f\uff0c\u96fb\u529b\u6d88\u8cbb\u306b\u4f34\u3046\u767a\u71b1\u3082\u6df1\u523b\u3067\uff0c\u5b89\u5b9a\u7684\u306b\u52d5\u4f5c\u3055\u305b\u308b\u305f\u3081\u306e\u7a7a\u51b7\u30d5\u30a1\u30f3\u306f\u5927\u304d\u304f\u306a\u308b\u3070\u304b\u308a\u3002\u4f59\u8a08\u306b\u96fb\u529b\u6d88\u8cbb\u304c\u5897\u3048\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n\u3000\u6027\u80fd\u306f\u4e0a\u3052\u306a\u304f\u3066\u306f\u306a\u3089\u306a\u3044\uff0c\u3057\u304b\u3057\uff0c\u96fb\u529b\u6d88\u8cbb\u91cf\u306e\u5897\u52a0\u306f\u6975\u529b\u6291\u3048\u305f\u3044\u30fb\u30fb\u30fb\u3068\u3044\u3046\u4e8c\u5f8b\u80cc\u53cd\u306a\u8981\u6c42\u306b\u5bfe\u3057\uff0cCPU\u30e1\u30fc\u30ab\u30fc\u306f\u96fb\u5b50\u56de\u8def\u306e\u6539\u826f\u3068\u5171\u306b\uff0c\u300c\u30de\u30eb\u30c1\u30b3\u30a2\u300d\u3068\u3044\u3046\u65b9\u5411\u306b\u304b\u3058\u3092\u5207\u308a\u307e\u3057\u305f\u3002\u7c21\u5358\u306b\u8a00\u3046\u3068\uff0cCPU\u306e\u51e6\u7406\u306e\u4e2d\u6838\u3092\u62c5\u3046\u56de\u8def\uff08\u30b3\u30a2\uff09\u3092\u8907\u6570\uff08\u30de\u30eb\u30c1\uff09\u6301\u305f\u305b\u3066\uff0c\u3042\u305f\u304b\u3082\u8907\u6570\u306e\u30d1\u30bd\u30b3\u30f3\u3092\u540c\u6642\u306b\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b\u6280\u8853\u3067\u3059\u3002\u3082\u30576\u3064\u306e\u30b3\u30a2\u3092\u6301\u3064CPU\u304c\u3042\u308c\u3070\uff0c6\u3064\u306e\u51e6\u7406\u3092\u540c\u6642\u306b\u3053\u306a\u3059\u3053\u3068\u304c\u3067\u304d\uff0c\u77ed\u6642\u9593\u3067\u7d42\u4e86\u3059\u308b\u3053\u3068\u3067\u591a\u5c11\u96fb\u529b\u6d88\u8cbb\u306f\u5897\u3048\u3066\u3082\u30c8\u30fc\u30bf\u30eb\u3067\u306f\u5c11\u306a\u304f\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/cs-tklab.na-inet.jp\/blog\/wp-content\/uploads\/2015\/05\/muticore.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"469\" data-permalink=\"https:\/\/kd-tklab.na-inet.jp\/?attachment_id=469\" data-orig-file=\"https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/muticore.png?fit=1843%2C1328&amp;ssl=1\" data-orig-size=\"1843,1328\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"muticore\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/muticore.png?fit=525%2C378&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/cs-tklab.na-inet.jp\/blog\/wp-content\/uploads\/2015\/05\/muticore-300x216.png?resize=300%2C216\" alt=\"muticore\" width=\"300\" height=\"216\" class=\"alignnone size-medium wp-image-469\" srcset=\"https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/muticore.png?resize=300%2C216&amp;ssl=1 300w, https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/muticore.png?resize=1024%2C738&amp;ssl=1 1024w, https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/muticore.png?w=1843&amp;ssl=1 1843w, https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/muticore.png?w=1575&amp;ssl=1 1575w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u3000\u3053\u306e\u3088\u3046\u306b\uff0c\u8907\u6570\u306e\u51e6\u7406\u3092\u540c\u6642\u4e26\u884c\u306b\u3053\u306a\u3059\u3053\u3068\u3092\u300c\u4e26\u5217\u51e6\u7406\u300d\u3068\u547c\u3073\u307e\u3059\u3002\u5bfe\u3057\u3066\uff0c\u4e00\u3064\u306e\u51e6\u7406\u3060\u3051\u3092\u9806\u6b21\u884c\u3046\u51e6\u7406\u3092\u300c\u9010\u6b21\u51e6\u7406\u300d\u3068\u547c\u3073\u307e\u3059\u3002\u73fe\u5728\u306e\u30d1\u30bd\u30b3\u30f3\u3084\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\uff08\u30b9\u30de\u30db\uff09\u306f2\uff5e4\u30b3\u30a2CPU\u304c\u666e\u901a\u3067\u3059\u3057\uff0cGPU\u306e\u3088\u3046\u306b\u3082\u3063\u3068\u5927\u91cf\u306e\u30b3\u30a2\u3092\u5099\u3048\u3066\u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u30b9\u3084\u8a08\u7b97\u3092\u9ad8\u901f\u306b\u3053\u306a\u3059\u300c\u30e1\u30cb\u30fc(many, \u591a\u6570)\u30b3\u30a2\u300d\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u3082\u767b\u5834\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/cs-tklab.na-inet.jp\/blog\/wp-content\/uploads\/2015\/05\/gpu.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"470\" data-permalink=\"https:\/\/kd-tklab.na-inet.jp\/?attachment_id=470\" data-orig-file=\"https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/gpu.png?fit=1757%2C1197&amp;ssl=1\" data-orig-size=\"1757,1197\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"gpu\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/gpu.png?fit=525%2C358&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/cs-tklab.na-inet.jp\/blog\/wp-content\/uploads\/2015\/05\/gpu-300x204.png?resize=300%2C204\" alt=\"gpu\" width=\"300\" height=\"204\" class=\"alignnone size-medium wp-image-470\" srcset=\"https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/gpu.png?resize=300%2C204&amp;ssl=1 300w, https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/gpu.png?resize=1024%2C698&amp;ssl=1 1024w, https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/gpu.png?w=1757&amp;ssl=1 1757w, https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/gpu.png?w=1575&amp;ssl=1 1575w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u3000\u3067\u306f\uff0c\u3069\u3046\u3084\u3063\u305f\u3089\u8907\u6570\u306e\u30b3\u30a2\u3092\u5f53\u6642\u306b\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u306e\u3067\u3057\u3087\u3046\u304b\uff1f\u3000\u4e26\u5217\u51e6\u7406\u3092\u884c\u3046\u30d7\u30ed\u30b0\u30e9\u30e0\u6280\u6cd5\u306f\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u3059\u304c\uff0c\u4e00\u3064\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u4e2d\u306e\u51e6\u7406\u3092\u300c\u30b9\u30ec\u30c3\u30c9\u300d\u3068\u3044\u3046\u5358\u4f4d\u306b\u5206\u5272\u3057\u3066\u4e26\u5217\u306b\u5b9f\u884c\u53ef\u80fd\u306b\u3055\u305b\u308b\uff0c\u3068\u3044\u3046\u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c9\u5316\u304c\u826f\u304f\u7528\u3044\u3089\u308c\u307e\u3059\u3002\u4f8b\u3048\u3070\uff0cOpenMP\u3068\u3044\u3046\u6280\u6cd5\u3092\u4f7f\u3063\u30662\u6b21\u65b9\u7a0b\u5f0f\u306e\u89e3\u3092\u540c\u6642\u306b\u8a08\u7b97\u3055\u305b\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"c\" data-enlighter-title=\"\">#pragma omp parallel sections\r\n{\r\n\t\/\/ thread 0\r\n\t#pragma omp section\r\n\t{\r\n\t\tx[0] = (- b + sqrt_d) \/ a2; \r\n\t}\r\n\t\/\/ thread 1\r\n\t#pragma omp section\r\n\t{\r\n\t\tx[1] = (- b - sqrt_d) \/ a2;\r\n\t}\r\n}\r\n<\/pre>\n<p>\\(x_1, x_2\\)\u306e\u8a08\u7b97\u306f\u76f8\u4e92\u306b\u4f9d\u5b58\u3057\u3066\u3044\u307e\u305b\u3093\u306e\u3067\uff0c\u4e26\u884c\u3057\u3066\u8a08\u7b97\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u308f\u3051\u3067\u3059\u3002\u9006\u306b\uff0c\u6841\u843d\u3061\u304c\u8d77\u304d\u306a\u3044\u3088\u3046\u306b\u6539\u826f\u3057\u3066\u3057\u307e\u3046\u3068\uff0c\u7247\u65b9\u306e\u89e3\u304c\u51fa\u308b\u307e\u3067\u306f\u6b21\u306e\u89e3\u306e\u8a08\u7b97\u306b\u9032\u3081\u305a\uff0c\u3053\u306e\u3088\u3046\u306a\u4e26\u5217\u51e6\u7406\u306f\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3000\u3057\u304b\u3057\uff0c2\u6b21\u65b9\u7a0b\u5f0f\u306e\u8a08\u7b97\u306f\u5927\u5909\u8efd\u3044\u3082\u306e\u306a\u306e\u3067\uff0c\u4e26\u5217\u5316\u3057\u3066\u3082\u5927\u3057\u305f\u30e1\u30ea\u30c3\u30c8\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u6841\u843d\u3061\u3092\u9632\u3050\u51e6\u7406\u3092\u884c\u3046\u65b9\u304c\u5b9f\u7528\u7684\u306b\u306f\u6709\u7528\u3068\u8a00\u3048\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<p><strong>\uff16\uff0e\u4e26\u5217\u51e6\u7406\u306e\u52b9\u679c\u306e\u307b\u3069\u306f\uff1f<\/strong><\/p>\n<p>\u3000\u3067\u306f\u5e73\u5747\u306e\u8a08\u7b97\u306f\u3069\u3046\u3067\u3057\u3087\u3046\uff1f\u3000\u5927\u91cf\u306e\u30c7\u30fc\u30bf\uff08\u6570\u4e07\uff0c\u6570\u5104\uff0c\u30fb\u30fb\u30fb\uff09\u306e\u5e73\u5747\u5024\u306e\u8a08\u7b97\u306f\u666e\u901a\u306b\u884c\u308f\u308c\u308b\u3082\u306e\u306a\u306e\u3067\uff0c\u4e26\u5217\u51e6\u7406\u3059\u308b\u30e1\u30ea\u30c3\u30c8\u306f\u304b\u306a\u308a\u3042\u308a\u305d\u3046\u3067\u3059\u3002\u3067\u306f\u3069\u306e\u3088\u3046\u306b\u884c\u3048\u3070\u3044\u3044\u306e\u3067\u3057\u3087\u3046\u304b\uff1f\u3000\u524d\u8ff0\u3057\u305f<\/p>\n<p>\\[ \\frac{1 + 2 + \\cdots + 9 + 10}{10} = 5.5 \\]<\/p>\n<p>\u306e\u8a08\u7b97\u3092\u4f8b\u306b\u8003\u3048\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u30002\u30b3\u30a2\uff08\u30c7\u30e5\u30a2\u30eb\u30b3\u30a2\uff09\u306eCPU\u3067\u306f\uff0c\u540c\u6642\u306b\uff12\u30b9\u30ec\u30c3\u30c9\u306e\u51e6\u7406\u304c\u53ef\u80fd\u3067\u3059\u3002\u305d\u306e\u969b\u306b\u306f\uff0c\u534a\u5206\u305a\u3064\u548c\u306e\u8a08\u7b97\u3092\u884c\u3044\uff0c\u6b21\u306b\u305d\u306e\u90e8\u5206\u548c\u3092\u8db3\u3057\u5408\u308f\u305b\u30661\u30b9\u30ec\u30c3\u30c9\u3067\u5408\u8a08\u5024\u3092\u6c42\u3081\uff0c\u6700\u5f8c\u306b10\u3067\u5272\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/cs-tklab.na-inet.jp\/blog\/wp-content\/uploads\/2015\/05\/parallel21.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"504\" data-permalink=\"https:\/\/kd-tklab.na-inet.jp\/?attachment_id=504\" data-orig-file=\"https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/parallel21.png?fit=1057%2C1387&amp;ssl=1\" data-orig-size=\"1057,1387\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"parallel2\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/parallel21.png?fit=525%2C689&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/cs-tklab.na-inet.jp\/blog\/wp-content\/uploads\/2015\/05\/parallel21-229x300.png?resize=229%2C300\" alt=\"parallel2\" width=\"229\" height=\"300\" class=\"alignnone size-medium wp-image-504\" srcset=\"https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/parallel21.png?resize=229%2C300&amp;ssl=1 229w, https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/parallel21.png?resize=780%2C1024&amp;ssl=1 780w, https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/parallel21.png?w=1057&amp;ssl=1 1057w\" sizes=\"auto, (max-width: 229px) 100vw, 229px\" \/><\/a><\/p>\n<p>\u30004\u30b3\u30a2\uff08\u30af\u30a2\u30c3\u30c9\u30b3\u30a2\uff09\u304c\u4f7f\u3048\u308b\u5834\u5408\u306f\u3069\u3046\u3067\u3057\u3087\u3046\uff1f\u3000\u6700\u521d\u306e\u90e8\u5206\u548c\u306f4\u30b9\u30ec\u30c3\u30c9\u3067\u8a08\u7b97\u3057\uff0c\u6b21\u306e\u90e8\u5206\u548c\u306e\u8a08\u7b97\u306f2\u30b9\u30ec\u30c3\u30c9\u3067\u5206\u62c5\u3057\u307e\u3059\u3002\u4f55\u6545\u306a\u3089\uff0c\u6700\u521d\u306e\u90e8\u5206\u548c\u306e\u8a08\u7b97\u3088\u308a\u3082\u8a08\u7b97\u91cf\u304c\u5897\u3048\u308b\u3068\uff0c\u3053\u3053\u3067\u6642\u9593\u304c\u4f59\u8a08\u306b\u304b\u304b\u3063\u3066\u3057\u307e\u3046\u304b\u3089\u3067\u3059\u3002<\/p>\n<p>\u3000\u6700\u5f8c\u306f2\u500b\u306e\u548c\u306e\u8a08\u7b97\u30921\u30b9\u30ec\u30c3\u30c9\u3067\u884c\u3063\u306610\u3067\u5272\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/cs-tklab.na-inet.jp\/blog\/wp-content\/uploads\/2015\/05\/parallel4.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"505\" data-permalink=\"https:\/\/kd-tklab.na-inet.jp\/?attachment_id=505\" data-orig-file=\"https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/parallel4.png?fit=1020%2C1422&amp;ssl=1\" data-orig-size=\"1020,1422\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"parallel4\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/parallel4.png?fit=525%2C731&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/cs-tklab.na-inet.jp\/blog\/wp-content\/uploads\/2015\/05\/parallel4-215x300.png?resize=215%2C300\" alt=\"parallel4\" width=\"215\" height=\"300\" class=\"alignnone size-medium wp-image-505\" srcset=\"https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/parallel4.png?resize=215%2C300&amp;ssl=1 215w, https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/parallel4.png?resize=735%2C1024&amp;ssl=1 735w, https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/parallel4.png?w=1020&amp;ssl=1 1020w\" sizes=\"auto, (max-width: 215px) 100vw, 215px\" \/><\/a><\/p>\n<p>\u3000\u3053\u306e\u5834\u5408\uff0c\u548c\u306e\u8a08\u7b97\u306f\u6700\u592710\u56de\u3067\u6e08\u307f\u307e\u3059\u304b\u3089\uff0c5\u30b9\u30ec\u30c3\u30c9\u4ee5\u4e0a\u4f7f\u3048\u308b\u74b0\u5883\u304c\u3042\u3063\u3066\u3082\u610f\u5473\u304c\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u3000\u3053\u3046\u3057\u30662\u30b9\u30ec\u30c3\u30c9\uff0c4\u30b9\u30ec\u30c3\u30c9\u305d\u308c\u305e\u308c\u4e26\u5217\u5b9f\u884c\u3067\u304d\u305f\u3068\u3059\u308b\u3068\uff0c\u8a08\u7b97\u6642\u9593\u306f4\u30b9\u30ec\u30c3\u30c9\u306e\u65b9\u304c\u77ed\u304f\u306a\u308b\u3053\u3068\u304c\u671f\u5f85\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/cs-tklab.na-inet.jp\/blog\/wp-content\/uploads\/2015\/05\/parallel_time.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"506\" data-permalink=\"https:\/\/kd-tklab.na-inet.jp\/?attachment_id=506\" data-orig-file=\"https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/parallel_time.png?fit=1516%2C953&amp;ssl=1\" data-orig-size=\"1516,953\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"parallel_time\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/parallel_time.png?fit=525%2C330&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/cs-tklab.na-inet.jp\/blog\/wp-content\/uploads\/2015\/05\/parallel_time-300x189.png?resize=300%2C189\" alt=\"parallel_time\" width=\"300\" height=\"189\" class=\"alignnone size-medium wp-image-506\" srcset=\"https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/parallel_time.png?resize=300%2C189&amp;ssl=1 300w, https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/parallel_time.png?resize=1024%2C644&amp;ssl=1 1024w, https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2015\/05\/parallel_time.png?w=1516&amp;ssl=1 1516w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u3000\u3067\u306f\u66f4\u306b\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u306e\u5e73\u5747\u306e\u8a08\u7b97\u3092\u5b9f\u884c\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3069\u3046\u3067\u3057\u3087\u3046\u304b\uff1f\u3000\u30c7\u30fc\u30bf\u6570\\(n\\)\u306b\u5bfe\u3057\u3066\uff0c\u540c\u6642\u306b\u5b9f\u884c\u53ef\u80fd\u306a\u30b9\u30ec\u30c3\u30c9\u6570\u3092\\(\\alpha\\) (\\(n > \\alpha\\))\u3068\u3059\u308b\u3068\u6700\u521d\u306e\u90e8\u5206\u548c\u306e\u8a08\u7b97\u306f\\(\\lceil n \/ \\alpha\\rceil \\)\u56de\u306e\u548c\u3067\u6e08\u307f\u307e\u3059\u3002\u3053\u3053\u3067\\(\\lceil x \\rceil\\)\u306f \\(x\\)\u3092\u8d85\u3048\u306a\u3044\u6700\u5927\u306e\u6574\u6570\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/p>\n<p>\u3000\u6b21\u306e\u6bb5\u968e\u3067\u8db3\u3059\u3079\u304d\u30c7\u30fc\u30bf\u306f\\( n\/2 \\)\u500b\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3092\u7e70\u308a\u8fd4\u3059\u3053\u3068\u3067\uff0c\u6700\u5f8c\u306f2\u500b\u306e\u548c\u3067\u6e08\u307e\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u6700\u7d42\u7684\u306b2\u500b\u306b\u306a\u3063\u305f\u30c7\u30fc\u30bf\u306e\u548c\u3068\\(n\\)\u306e\u9664\u7b97\u306f1\u30b9\u30ec\u30c3\u30c9\u3067\u7d42\u4e86\u3057\u307e\u3059\u306e\u3067\uff0c\u30c8\u30fc\u30bf\u30eb\u3067\u306f\u548c\u306e\u8a08\u7b97\u306e\u90e8\u5206\u306f\u6700\u5927<br \/>\n\\[ \\lceil \\log_2 n \\rceil \\]<br \/>\n\u56de\u306e\u7e70\u308a\u8fd4\u3057\u3067\u5e73\u5747\u306e\u8a08\u7b97\u304c\u5b8c\u4e86\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u5148\u306b\u3042\u3052\u305f10\u500b\u306e\u30c7\u30fc\u30bf\u306e\u5834\u5408\u306f\\(\\lceil\\log_2 10\\rceil\\) \\(=\\lceil 3.321928&#8230;\\rceil = 4\\)\u3068\u306a\u308a\uff0c\u548c\u306e\u8a08\u7b97\u306f4\u6bb5\u968e\u5fc5\u8981\u306a\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3000\u3053\u306e\u3088\u3046\u306a\u96c6\u7d04\u3092\u884c\u3046\u8a08\u7b97\u3092\u30ea\u30c0\u30af\u30b7\u30e7\u30f3\u3068\u547c\u3073\u307e\u3059\u3002\u3053\u308c\u3092OpenMP\u3067\u8a18\u8ff0\u3059\u308b\u3068\u4e0b\u8a18\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002(\u30d7\u30ed\u30b0\u30e9\u30e0\u5168\u4f53: <a href=\"http:\/\/cs-tklab.na-inet.jp\/blog\/wp-content\/uploads\/2015\/05\/average_omp.cc\">average_omp.cc<\/a>)<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"c\" data-enlighter-title=\"\">\/\/ Calculate average\r\nnum_threads = 4;\r\nif(num_threads &gt; num_c)\r\n\tnum_threads = num_c \/ 2;\r\n\r\nomp_set_num_threads(num_threads);\r\n\r\ncout &lt;&lt; &quot;#threads: &quot; &lt;&lt; omp_get_max_threads() &lt;&lt; endl;\r\ncout &lt;&lt; &quot;num_c   : &quot; &lt;&lt; num_c &lt;&lt; endl;\r\n\r\n#pragma omp parallel for reduction(+:average_mu)\r\nfor(i = 0; i &lt; num_c; i++)\r\n\taverage_mu += c[i];\r\n\r\naverage_mu \/= num_c;\r\n<\/pre>\n<p>\u3000\u4f7f\u7528\u3059\u308b\u30b9\u30ec\u30c3\u30c9\u6570\u306f<code>omp_set_num_threads<\/code>\u95a2\u6570\u3067\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002\u30c7\u30fc\u30bf\u306e\u6570\u304c\u5c11\u306a\u3044\u6642\u306f\u30b9\u30ec\u30c3\u30c9\u6570\u3092\u5236\u9650\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3000\u3067\u306f\u5b9f\u969b\u306b\u4e26\u5217\u51e6\u7406\u306b\u3088\u3063\u3066\u3069\u306e\u7a0b\u5ea6\u8a08\u7b97\u6642\u9593\u304c\u8efd\u6e1b\u3055\u308c\u308b\u304b\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002\u30d1\u30bd\u30b3\u30f3\u306e\u74b0\u5883\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li>CPU: Intel Core i7-3820 3.6GHz 4\u30b3\u30a2<\/li>\n<li>\u30e1\u30e2\u30ea: 32GB<\/li>\n<li>OS: CentOS 6.5 x86_64<\/li>\n<li>\u30b3\u30f3\u30d1\u30a4\u30e9: Intel C++ 14.0.2<\/li>\n<li>\u30c7\u30fc\u30bf\u91cf: 16GB (\\(= 8\\mbox{Bytes} \\times 2 \\times 1024^3\\))<\/li>\n<\/ul>\n<p>4\u30b3\u30a2\u3042\u308a\u307e\u3059\u306e\u3067\uff0c\u6700\u59274\u30b9\u30ec\u30c3\u30c9\u3092\u4e26\u5217\u306b\u5b9f\u884c\u3067\u304d\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3053\u3067\uff0c\u30b9\u30ec\u30c3\u30c9\u6570\u30921, 2, 4\u3068\u3057\u3066\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u305f\u3002&#8221;Time(s)&#8221;\u306e\u6240\u304c\u51e6\u7406\u6642\u9593(\u79d2)\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><code><br \/>\n$ export OMP_NUM_THREADS=4;.\/average_omp 1<br \/>\n#threads: 1<br \/>\nnum_c   : 2147483648<br \/>\naverage = 1073738907.877<strong>31<\/strong><br \/>\nTime(s) = 0.998027801513672<br \/>\n$ export OMP_NUM_THREADS=4;.\/average_omp 2<br \/>\n#threads: 2<br \/>\nnum_c   : 2147483648<br \/>\naverage = 1073738907.877<strong>25<\/strong><br \/>\nTime(s) = 0.568727016448975<br \/>\n$ export OMP_NUM_THREADS=4;.\/average_omp 4<br \/>\n#threads: 4<br \/>\nnum_c   : 2147483648<br \/>\naverage = 1073738907.877<strong>29<\/strong><br \/>\nTime(s) = 0.453949928283691<br \/>\n<\/code><\/p>\n<p>1\u30b9\u30ec\u30c3\u30c9\u3067\u306f\u7d041\u79d2\u3067\u3057\u305f\u304c\uff0c2\u30b9\u30ec\u30c3\u30c9\u3067\u7d040.57\u79d2\uff0c4\u30b9\u30ec\u30c3\u30c9\u30670.45\u79d2\u3067\u7d42\u4e86\u3057\u3066\u3044\u307e\u3059\u30022\u30b9\u30ec\u30c3\u30c9\u3067\u5927\u4f53\u534a\u6e1b\u3057\u307e\u3059\u304c\uff0c4\u30b9\u30ec\u30c3\u30c9\u306b\u3059\u308b\u3068\u66f4\u306b\u534a\u5206\u306b\uff0c\u3068\u306f\u306a\u308a\u307e\u305b\u3093\u3002\u30b9\u30ec\u30c3\u30c9\u6570\u304c\u591a\u3044\u3068\u305d\u306e\u6e96\u5099\u306e\u624b\u9593\u3067\uff0c\u7406\u8ad6\u7684\u306a\u898b\u7a4d\u308a\u3088\u308a\u3082\u51e6\u7406\u6642\u9593\u304c\u4f59\u8a08\u306b\u304b\u304b\u308a\u307e\u3059\u3002<\/p>\n<p>\u3000\u3061\u306a\u307f\u306b\uff0c\u592a\u7dda\u90e8\u5206\u306e\u3068\u3053\u308d\u304c\u30b9\u30ec\u30c3\u30c9\u6570\u306b\u3088\u3063\u3066\u7570\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u306b\u304a\u6c17\u3065\u304d\u3067\u3057\u3087\u3046\u304b\uff1f\u3000\u4e26\u5217\u5316\u3057\u3066\u3057\u307e\u3046\u3068\uff0c\u7279\u6bb5\u6307\u5b9a\u3057\u306a\u3044\u9650\u308a\uff0c\u8a08\u7b97\u306e\u9806\u756a\u306f\u5168\u304f\u4fdd\u969c\u3055\u308c\u306a\u3044\u306e\u3067\uff0c\u4e38\u3081\u8aa4\u5dee\u306e\u5dee\u7570\u304c\u767a\u751f\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u3002\u3053\u308c\u306f\u6841\u843d\u3061\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u305b\u3044\u305c\u3044\u672b\u5c3e\u306e2\u6841\u7a0b\u5ea6\u3067\u6e08\u3093\u3067\u307e\u3059\u3002<\/p>\n<p><strong>\uff17\uff0e\u307e\u3068\u3081<\/strong><\/p>\n<p>\u3000\u4ee5\u4e0a\uff0c\u99c6\u3051\u8db3\u3067\u3057\u305f\u304c\uff0c\u6570\u5b66\u3068\u8a08\u7b97\u306e\u9055\u3044\uff0c\u305d\u3057\u3066\u8a08\u7b97\u305d\u306e\u3082\u306e\u3082\u304d\u3061\u3093\u3068\u8003\u3048\u308b\u3053\u3068\u306f\u610f\u5916\u3068\u9762\u5012\u306a\u3053\u3068\u304c\u7406\u89e3\u3067\u304d\u305f\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u4eca\u307e\u3067\u8ff0\u3079\u3066\u304d\u305f\u3053\u3068\u306e\u30dd\u30a4\u30f3\u30c8\u3092\u4e0b\u8a18\u306b\u307e\u3068\u3081\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<ul>\n\u3000\t<\/p>\n<li>\u7406\u8ad6\u5f0f\u3092\u305d\u306e\u307e\u307e\u9010\u6b21\u51e6\u7406\u7684\u306b\u8a08\u7b97\u3059\u308b\u306b\u3057\u3066\u3082\uff0c\u6841\u843d\u3061\u304c\u8d77\u304d\u306a\u3044\u3088\u3046\u306a\u5de5\u592b\u304c\u53ef\u80fd\u3067\u3042\u308c\u3070\u884c\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<li>\u30de\u30eb\u30c1\u30b3\u30a2CPU\u3067\u306f\u4e26\u5217\u51e6\u7406\u304c\u53ef\u80fd\u306a\u306e\u3067\uff0c\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u306e\u51e6\u7406\u3092\u884c\u3046\u3068\u304d\u306b\u306f\u5a01\u529b\u3092\u767a\u63ee\u3067\u304d\u307e\u3059\u3002\u3057\u304b\u3057\u305d\u308c\u306f\u4e26\u5217\u51e6\u7406\u53ef\u80fd\u306a\u90e8\u5206\u306b\u9650\u3089\u308c\u307e\u3059\u3002<\/li>\n<li>\u4e26\u5217\u51e6\u7406\u3092\u884c\u3063\u3066\u6027\u80fd\u5411\u4e0a\u3092\u56f3\u308b\u305f\u3081\u306b\u306f\uff0c\u51e6\u7406\u306e\u6d41\u308c\uff0c\u5373\u3061\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u5de5\u592b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>\u3000\u73fe\u5728\u306e\u79d1\u5b66\u6280\u8853\u8a08\u7b97\u306f\uff0c\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u7406\u8ad6\u5316\uff0c\u8a08\u7b97\u51e6\u7406\uff0c\u305d\u308c\u305e\u308c\u5206\u62c5\u3057\u3066\u5c02\u9580\u5bb6\u304c\u62c5\u3046\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u3053\u3067\u8ff0\u3079\u305f\u306e\u306f\u3054\u304f\u7c21\u5358\u306a\u4f8b\u306b\u57fa\u3065\u3044\u305f\u8a08\u7b97\u51e6\u7406\u306e\u90e8\u5206\u3060\u3051\u3067\u3059\u304c\uff0c\u6570\u5f0f\u3092\u305d\u306e\u307e\u307e\u8a08\u7b97\u3059\u308b\u3068\u3044\u3046\u3060\u3051\u3067\u306f\u6e08\u307e\u306a\u3044\u9762\u5012\u3055\u304c\u3042\u308b\u3053\u3068\u3092\u899a\u3048\u3066\u9802\u3051\u308c\u3070\u5e78\u3044\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 \u3000\u6570\u5b66\uff08\uff1d\u7406\u8ad6\uff09\u3068\u8a08\u7b97\uff08\uff1d\u5b9f\u8df5\uff09\u306f\u5168\u304f\u6027\u8cea\u306e\u7570\u306a\u308b\u3082\u306e\u3067\uff0c\u8a08\u7b97\u306e\u52b9\u7387\u6027\u3084\u6b63\u78ba\u6027\u3092\u8ffd\u53ca\u3059\u308b\u3068\u6570\u5b66\u3068\u306f\u5225\u306e\u65b9\u6cd5\u8ad6\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u8b1b\u7fa9\u3067\u306f\uff12\u6b21\u65b9\u7a0b\u5f0f\u3084\u5e73\u5747\u306e\u8a08\u7b97\u3092\u4f8b\u306b\uff0c\u300c\u9ad8\u6027\u80fd\u306a\u8a08\u7b97\u300d\u3092\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u4e0a\u3067\u884c\u3046\u624b\u6cd5\u3092 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/kd-tklab.na-inet.jp\/?p=328\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u6a21\u64ec\u8b1b\u7fa9\u300c\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306f\u3069\u3046\u3084\u3063\u3066\u8a08\u7b97\u3057\u3066\u3044\u308b\u306e\u304b\uff1f\u300d\uff08\u6539\u984c\u300c\u6570\u5b66\u3068\u8a08\u7b97\u3000\uff5e\u7406\u8ad6\u3068\u5b9f\u8df5\uff5e\u300d\uff09&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[7],"tags":[],"class_list":["post-328","post","type-post","status-publish","format-standard","hentry","category-7"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6Oxer-5i","jetpack-related-posts":[{"id":266,"url":"https:\/\/kd-tklab.na-inet.jp\/?p=266","url_meta":{"origin":328,"position":0},"title":"\u5927\u5b66\u898b\u5b66\u4f1a\u300c\u9ad8\u6027\u80fd\u8a08\u7b97\u7814\u7a76\u5ba4\u300d","author":"T.Kouya","date":"2017\u5e743\u670822\u65e5","format":false,"excerpt":"\u9ad8\u6027\u80fd\u8a08\u7b97\u3068Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3 \u9759\u5ca1\u7406\u5de5\u79d1\u5927\u5b66\u3000\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30b7\u30b9\u30c6\u30e0\u5b66\u79d1\u3000\u5e78\u8c37\u3053\u3046\u3084\u3000\u667a\u7d00\u3068\u3082\u306e\u2026","rel":"","context":"\u30a8\u30c3\u30bb\u30a4","block_context":{"text":"\u30a8\u30c3\u30bb\u30a4","link":"https:\/\/kd-tklab.na-inet.jp\/?cat=7"},"img":{"alt_text":"try_mpfr_pi_3321","src":"https:\/\/i0.wp.com\/cs-tklab.na-inet.jp\/blog\/wp-content\/uploads\/2015\/05\/try_mpfr_pi_3321-300x129.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1543,"url":"https:\/\/kd-tklab.na-inet.jp\/?p=1543","url_meta":{"origin":328,"position":1},"title":"[\u6a21\u64ec\u8b1b\u7fa9] \u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306e\u8a08\u7b97\u306f\u6b63\u3057\u304f\u306a\u3044\uff01","author":"T.Kouya","date":"2017\u5e749\u67085\u65e5","format":false,"excerpt":"\u30aa\u30fc\u30d7\u30f3\u30ad\u30e3\u30f3\u30d1\u30b9\u6a21\u64ec\u8b1b\u7fa9 \u300c\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306e\u8a08\u7b97\u306f\u6b63\u3057\u304f\u306a\u3044\uff01\u300d \u9759\u5ca1\u7406\u5de5\u79d1\u5927\u5b66\u3000\u60c5\u5831\u5b66\u90e8 \u30b3\u30f3\u30d4\u30e5\u2026","rel":"","context":"\u30a8\u30c3\u30bb\u30a4","block_context":{"text":"\u30a8\u30c3\u30bb\u30a4","link":"https:\/\/kd-tklab.na-inet.jp\/?cat=7"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cs-tklab.na-inet.jp\/blog\/wp-content\/uploads\/2017\/09\/IMG_3409-_rotation-e1505026985856-225x300.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2587,"url":"https:\/\/kd-tklab.na-inet.jp\/?p=2587","url_meta":{"origin":328,"position":2},"title":"\u300c\u9ad8\u6027\u80fd\u8a08\u7b97\u300d\u7814\u7a76\u7d39\u4ecb","author":"T.Kouya","date":"2024\u5e746\u670821\u65e5","format":false,"excerpt":"\u9ad8\u6027\u80fd\u8a08\u7b97\u7814\u7a76\u958b\u767a\u7528\u306e\u30b5\u30fc\u30d0\u30de\u30b7\u30f3\uff08\u65e7\u30bf\u30a4\u30d7\uff09 \u7814\u7a76\u306e\u6982\u8981 \u3000\u73fe\u4ee3\u306e\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306f\uff0c\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u304b\u2026","rel":"","context":"\u30a8\u30c3\u30bb\u30a4","block_context":{"text":"\u30a8\u30c3\u30bb\u30a4","link":"https:\/\/kd-tklab.na-inet.jp\/?cat=7"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cs-tklab.na-inet.jp\/wp-content\/uploads\/2024\/06\/image.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2902,"url":"https:\/\/kd-tklab.na-inet.jp\/?p=2902","url_meta":{"origin":328,"position":3},"title":"\u300cAI\u6642\u4ee3\u306e\u9ad8\u6027\u80fd\u8a08\u7b97\u5165\u9580\u300d\u76ee\u6b21","author":"T.Kouya","date":"2026\u5e741\u670826\u65e5","format":false,"excerpt":"\u521d\u3081\u306b \u76ee\u6b21 \u7b2c0\u8b1b\u3000\u300c\u9ad8\u6027\u80fd\u8a08\u7b97\u300d\u3067\u76ee\u6307\u3059\u3082\u306e\u30fb\u958b\u767a\u74b0\u5883\u306e\u6e96\u5099 \u7b2c1\u8b1b\u3000\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u2026","rel":"","context":"\u5352\u7814\u30e1\u30e2","block_context":{"text":"\u5352\u7814\u30e1\u30e2","link":"https:\/\/kd-tklab.na-inet.jp\/?cat=5"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2026\/01\/wp_featured_1200x675_title_left.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2026\/01\/wp_featured_1200x675_title_left.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2026\/01\/wp_featured_1200x675_title_left.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2026\/01\/wp_featured_1200x675_title_left.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/kd-tklab.na-inet.jp\/wp-content\/uploads\/2026\/01\/wp_featured_1200x675_title_left.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":2493,"url":"https:\/\/kd-tklab.na-inet.jp\/?p=2493","url_meta":{"origin":328,"position":4},"title":"\u9ad8\u6027\u80fd\u8a08\u7b97\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","author":"T.Kouya","date":"2023\u5e747\u670811\u65e5","format":false,"excerpt":"\u5e78\u8c37\u667a\u7d00 \u7b2c\u4e00\u90e8\uff1aPython\u306b\u3088\u308b\u65b9\u7a0b\u5f0f\u6c42\u89e3\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 \u300cPython\u6570\u5024\u8a08\u7b97\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u300d\u2026","rel":"","context":"\u30a8\u30c3\u30bb\u30a4","block_context":{"text":"\u30a8\u30c3\u30bb\u30a4","link":"https:\/\/kd-tklab.na-inet.jp\/?cat=7"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":586,"url":"https:\/\/kd-tklab.na-inet.jp\/?p=586","url_meta":{"origin":328,"position":5},"title":"[\u6a21\u64ec\u8b1b\u7fa92] \u5927\u898f\u6a21\u8a08\u7b97\u3068CPU\uff06GPU","author":"T.Kouya","date":"2015\u5e749\u670829\u65e5","format":false,"excerpt":"\u3000\u3053\u308c\u306f\u6a21\u64ec\u8b1b\u7fa9\u300c\u6570\u5b66\u3068\u8a08\u7b97\u3000\uff5e\u7406\u8ad6\u3068\u5b9f\u8df5\uff5e\u300d\u306e\u7d9a\u304d\u306b\u306a\u308a\u307e\u3059\u3002\u307e\u305a\u305d\u3061\u3089\u3092\u8aad\u3093\u3067\u9802\u3044\u3066\u304b\u3089\uff0c\u3053\u3061\u3089\u2026","rel":"","context":"\u30a8\u30c3\u30bb\u30a4","block_context":{"text":"\u30a8\u30c3\u30bb\u30a4","link":"https:\/\/kd-tklab.na-inet.jp\/?cat=7"},"img":{"alt_text":"lu","src":"https:\/\/i0.wp.com\/cs-tklab.na-inet.jp\/blog\/wp-content\/uploads\/2015\/09\/lu-98x300.png?resize=350%2C200","width":350,"height":200},"classes":[]}],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/kd-tklab.na-inet.jp\/index.php?rest_route=\/wp\/v2\/posts\/328","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kd-tklab.na-inet.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kd-tklab.na-inet.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kd-tklab.na-inet.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kd-tklab.na-inet.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=328"}],"version-history":[{"count":63,"href":"https:\/\/kd-tklab.na-inet.jp\/index.php?rest_route=\/wp\/v2\/posts\/328\/revisions"}],"predecessor-version":[{"id":2430,"href":"https:\/\/kd-tklab.na-inet.jp\/index.php?rest_route=\/wp\/v2\/posts\/328\/revisions\/2430"}],"wp:attachment":[{"href":"https:\/\/kd-tklab.na-inet.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=328"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kd-tklab.na-inet.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=328"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kd-tklab.na-inet.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=328"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}