{"id":1289,"date":"2008-05-21T22:00:00","date_gmt":"2008-05-21T13:00:00","guid":{"rendered":"https:\/\/hdmr.org\/d\/?e=7"},"modified":"2021-03-13T23:13:54","modified_gmt":"2021-03-13T14:13:54","slug":"blogn-7","status":"publish","type":"post","link":"https:\/\/hdmr.org\/d\/?e=7","title":{"rendered":"C#\u3067\u81ea\u4f5c\u6f14\u7b97\u5b50\u4f5c\u308b\u3068\u3001\u3069\u3046\u3082\u6c17\u6301\u3061\u60aa\u3044"},"content":{"rendered":"<p>\u3055\u3066\u3001\u6628\u65e5\u3001\u81ea\u4f5c\u6f14\u7b97\u5b50\u3042\u3063\u305f\u3089\u304a\u3082\u3057\u308d\u3044\u306a\u3068\u3044\u3046\u304a\u8a71\u3092\u3057\u307e\u3057\u305f\u3002<br \/>\n\u305d\u308c\u3067\u96fb\u8eca\u306e\u4e2d\u3067\u3044\u308d\u3044\u308d\u8003\u3048\u3066\u305f\u306e\u3060\u304c\u30012\u3064\u6709\u76ca\u306a\u65b9\u6cd5\u304c\u3042\u308b\u3068\u601d\u3046\u3002<br \/>\n\u3068\u3053\u308d\u3067\u81ea\u4f5c\u6f14\u7b97\u5b50\u3092\u8a00\u8a9e\u30ec\u30d9\u30eb\u3067\u5b9f\u88c5\u3057\u3066\u3044\u305f\u3082\u306e\u306bFORTRAN\u304c\u3042\u308b\u3089\u3057\u3044\u3002<br \/>\n\u305d\u308c\u3067\u8abf\u3079\u308b\u3068\u3001\u81ea\u4f5c\u6f14\u7b97\u5b50\u306f .dot. \u306e\u3088\u3046\u306b\u30d4\u30ea\u30aa\u30c9\u3067\u631f\u3093\u3060\u3082\u306e\u3092\u4f7f\u3046\u3089\u3057\u3044\u3002<br \/>\n\u307e\u3041\u3053\u306e\u65b9\u6cd5\u3001\u5f53\u7136\u3060\u304cC#\u3067\u306f\u4f7f\u3048\u3093\u306a\u3002<br \/>\n\u50d5\u306e\u8003\u3048\u3067\u306f\u6f14\u7b97\u5b50\u306e\u6a5f\u80fd\u3092\u63d0\u4f9b\u3059\u308b\u6f14\u7b97\u5b50\u30af\u30e9\u30b9\u3063\u3066\u306e\u3092\u4f5c\u308b\u3068\u3053\u308d\u304b\u3089\u59cb\u307e\u308b\u3068\u601d\u3046\u3002<\/p>\n<hr>\n<p>\u307e\u305a\u3001\u8003\u3048\u305f\u65b9\u6cd5\u306e1\u3064\u306f\u660e\u793a\u7684\u306a\u578b\u5909\u63db\u3068\u4e8c\u9805\u6f14\u7b97\u5b50\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u65b9\u6cd5\u3002<br \/>\n\u578b\u5909\u63db\u3082\u308c\u3063\u304d\u3068\u3057\u305f\u5358\u9805\u6f14\u7b97\u5b50\u3067\u3059\u3088\u3002\u7d50\u5408\u9806\u4f4d\u3067\u306ff(x)\u306a\u3069\u3068\u540c\u3058\u9806\u4f4d\u3002<br \/>\n\u660e\u793a\u7684\u306a\u578b\u5909\u63db\u306f (double)i \u306e\u3088\u3046\u306b\u3001\u5909\u63db\u5148\u306e\u578b\u3092\u66f8\u304f\u3002<br \/>\n\u3053\u308c\u3067\u81ea\u4f5c\u3057\u305f\u6f14\u7b97\u5b50\u30af\u30e9\u30b9\u306e\u578b\u306b\u5909\u63db\u3055\u305b\u308b\u3002\u3053\u308c\u3068\u306e\u4e8c\u9805\u6f14\u7b97\u5b50\u3092\u9069\u5f53\u306b\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9\u3059\u308b\u3068\u3002<br \/>\n\u4eca\u56de\u4f5c\u3063\u305f\u306e\u306fvector\u30af\u30e9\u30b9(\u81ea\u4f5c)\u540c\u58eb\u306e\u5185\u7a4d\u306evdot\u3001\u5916\u7a4d\u306evcross\u3001double\u578b\u540c\u58eb\u306e\u3079\u304d\u4e57\u306epow\u306e3\u3064\u306e\u6f14\u7b97\u5b50\u30af\u30e9\u30b9\u3002<br \/>\n\u4f7f\u7528\u4f8b\u3092\u793a\u305d\u3046\u304b\u3002<\/p>\n<pre>vector v1=new vector(1, 2, 3);\nvector v2=new vector(-4, 5, -6);\nConsole.WriteLine(\"{0}\u30fb{1}={2}\", v1, v2, v1 %(vdot) v2);\nConsole.WriteLine(\"{0}\u00d7{1}={2}\", v1, v2, v1 %(vcross) v2);\nConsole.WriteLine(\"10^0.3010^2={0}\", 10 %(pow) 0.3010 %(pow) 2);<\/pre>\n<p>\u3053\u308c\u3067\u308f\u304b\u3063\u3066\u304f\u308c\u305f\u3089\u3046\u308c\u3057\u3044\u3051\u3069\u3002<br \/>\n\u4f7f\u3044\u65b9\u306f v1 %(vdot) v2 \u306e\u3088\u3046\u306b\u66f8\u304f\u3060\u3051\u3002\u898b\u305f\u76ee\u306f\u30b7\u30f3\u30d7\u30eb\u3002\u3051\u3069\u3084\u3063\u3066\u308b\u5185\u5bb9\u306f\u7d50\u69cb\u3072\u3069\u3044\u3002<br \/>\n\u7d50\u5408\u9806\u5e8f\u306f\u95a2\u6570\u304c\u4e00\u756a\u59cb\u3081\u3001\u305d\u306e\u6b21\u304c\u578b\u5909\u63db\u3084\u5358\u9805\u6f14\u7b97\u5b50\u3001\u307e\u305a(vdot)v2\u3092\u8003\u3048\u308b\u3002<br \/>\n\u578b\u5909\u63db\u306e\u6f14\u7b97\u5b50\u3067\u306f new vdot(v2) \u306e\u3088\u3046\u306a\u3053\u3068\u3092\u66f8\u3044\u3066\u3042\u308b\u3002<br \/>\n\u3053\u306evdot\u30af\u30e9\u30b9\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306f2\u3064\u76ee\u306e\u5024\u3092\u53ce\u7d0d\u3059\u308b\u308f\u3051\u3060\u3002in2\u3063\u3066\u30e1\u30f3\u30d0\u5909\u6570\u306b\u5165\u308c\u3066\u308b\u3002<br \/>\n\u578b\u5909\u63db\u3055\u308c\u305f\u3082\u306e\u3092myvdot\u3068\u3059\u308b\u3068\u3001v1 % myvdot\u306e\u3088\u3046\u306a\u8a08\u7b97\u5f0f\u306b\u7f6e\u304d\u63db\u3048\u3089\u308c\u305f\u3068\u3002<br \/>\n\u672c\u6765%\u306f\u5270\u4f59\u306e\u8a08\u7b97\u3092\u3059\u308b\u3082\u306e\u3060\u3051\u3069\u3001\u305d\u3093\u306a\u306e\u95a2\u4fc2\u306a\u3044\u3002%\u6f14\u7b97\u5b50\u3067\u306f v1\u30fbmyvdot.in2 \u306e\u3088\u3046\u306a\u8a08\u7b97\u3092\u3057\u3066\u3044\u308b\u3002<br \/>\n\u3060\u304b\u3089\u7d50\u8ad6\u306fv1\u3068v2\u306e\u5185\u7a4d\u3068\u306a\u308b\u3068\u3002\u975e\u5e38\u306b\u6c17\u6301\u3061\u60aa\u3044\u3084\u308a\u65b9\u3060\u306a\u3002<br \/>\nvcross\u3082pow\u3082\u540c\u69d8\u3002pow\u306f\u8aad\u307f\u3084\u3059\u3044\u3088\u3046\u306b10 %(pow) 0.3010 %(pow) 2\u3068\u30b9\u30da\u30fc\u30b9\u3092\u5165\u308c\u3066\u308b\u304c\u3001<br \/>\n\u5b9f\u969b\u306f10 % (pow)0.3010 % (pow)2\u3068\u8a00\u3063\u305f\u65b9\u304c\u3044\u3044\u3002\u3051\u3069\u4e0a\u306e\u3088\u3046\u306b\u30b9\u30da\u30fc\u30b9\u3092\u5165\u308c\u308b\u3068\u305d\u308c\u3063\u307d\u304f\u898b\u3048\u308b\u3002<br \/>\n\u3061\u306a\u307f\u306b*\/%\u306e\u4e57\u9664\u306e\u6f14\u7b97\u5b50\u306f\u7d50\u5408\u9806\u4f4d\u306f\u5358\u9805\u6f14\u7b97\u5b50\u306e\u6b21\u3002\u4e8c\u9805\u6f14\u7b97\u5b50\u3068\u3057\u3066\u306f\u4e00\u756a\u4e0a\u3067\u3059\u306d\u3002<br \/>\n\u3042\u3048\u3066\u305d\u3046\u3044\u3046\u306e\u3092\u9078\u3093\u3060\u308f\u3051\u3060\u3051\u3069\u3002\u521d\u3081\u306f^(XOR)\u306b\u3057\u3088\u3046\u3068\u601d\u3063\u305f\u3093\u3060\u3051\u3069\u306d\u3002<br \/>\n2*v1 %(pow) v2 \u306f (2*v1)%((pow)v2) \u3068\u89e3\u3059\u308b\u3051\u3069\u3001 v1 %(pow) v2*2 \u306f v1%((pow)v2)*2\u3068\u89e3\u3059\u308b\u3068\u3044\u3046\u9055\u3044\u304c\u3042\u308b\u3002<\/p>\n<hr>\n<p>pow\u30af\u30e9\u30b9\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u8cbc\u308b\u3002<\/p>\n<pre>class pow {\n  public static double operate(double in1, double in2) { return Math.Pow(in1, in2); }\n  private double in2;\n  private pow(double in2_0) { in2=in2_0; }\n  public static explicit operator pow(double in2_0) { return new pow(in2_0); }\n  public static double operator%(double in1, pow op) { return operate(in1, op.in2); }\n}<\/pre>\n<p>\u7701\u30b9\u30da\u30fc\u30b9\u3057\u305f\u305e\u3002\u307e\u305a\u9759\u7684\u30e1\u30bd\u30c3\u30c9operate\u3092\u5b9a\u3081\u3066\u308b\u3051\u3069\u3001\u3053\u308c\u306f\u6f14\u7b97\u5b50\u306e\u5b9a\u7fa9\u3002<br \/>\n\u306a\u3093\u3067\u3053\u3046\u3057\u305f\u306e\u304b\u3068\u3044\u3046\u3068\u4e0a\u307f\u305f\u3044\u306a\u4f7f\u3044\u65b9\u3058\u3083\u306a\u304f\u3066\u3001pow.operate(a,p)\u306e\u3088\u3046\u306b\u3082\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u3002\u4f59\u5206\u306a\u6a5f\u80fd\u3060\u3002<br \/>\nin2\u3092\u767b\u9332\u3059\u308b\u3053\u3068\u3057\u304b\u3057\u306a\u3044\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u3060\u304c\u3001\u30a2\u30af\u30bb\u30b9\u4fee\u98fe\u5b50\u3092\u898b\u308b\u3068private\u3060\u3002\u30af\u30e9\u30b9\u5916\u3067\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306f\u4f5c\u308c\u306a\u3044\u3002<br \/>\n\u307e\u3041\u3053\u308c\u3092\u5236\u9650\u3057\u305f\u610f\u5473\u306f\u3042\u307e\u308a\u306a\u3044\u6c17\u304c\u3057\u3066\u304d\u305f\u3051\u3069\u3001\u50d5\u304c\u8003\u3048\u308b\u9650\u308a\u3067\u306f\u5fc5\u8981\u306a\u3044\u3068\u601d\u3046\u304b\u3089\u3002<br \/>\n\u6b21\u306b\u9759\u7684\u30e1\u30bd\u30c3\u30c9\u3001implicit operator pow\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u308b\u304c\u3001\u3053\u308c\u306f\u660e\u793a\u7684(implicit)\u306apow\u3078\u306e\u578b\u5909\u63db\u306e\u6f14\u7b97\u5b50\u3002<br \/>\n\u3053\u306e\u4e2d\u30672\u3064\u76ee\u306e\u5024\u3092\u6e21\u3057\u3066\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u52d5\u304b\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u305d\u308c\u3067\u6700\u5f8c\u306b%\u3067\u30011\u3064\u76ee\u306e\u5024\u3068\u30012\u3064\u76ee\u306e\u5024\u304c\u767b\u9332\u3055\u308c\u305fpow\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u8a08\u7b97\u3092\u5b9a\u3081\u3066\u3042\u308b\u3068\u3002<br \/>\n\u305d\u3093\u306a\u308f\u3051\u3067\u3001\u306a\u308b\u307b\u3069\u78ba\u304b\u306b\u52d5\u304f\u3068\u3044\u3046\u308f\u3051\u3067\u3059\u3002<br \/>\n\u60aa\u8da3\u5473\u306a\u3084\u308a\u65b9\u3060\u304c\u304a\u3082\u3057\u308d\u3044\u306e\u306f\u78ba\u304b\u3060\u3002<\/p>\n<hr>\n<p>\u3082\u30461\u3064\u306e\u65b9\u6cd5\u306f\u3001\u4e8c\u9805\u6f14\u7b97\u5b50\u30922\u56de\u4f7f\u3046\u65b9\u6cd5\u3002<br \/>\n\u50d5\u304c\u81ea\u4f5c\u6f14\u7b97\u5b50\u3068\u8abf\u3079\u3066\u51fa\u3066\u304d\u305f\u306e\u306fC++\u3067\u3053\u306e\u3084\u308a\u65b9\u3092\u3057\u3066\u308b\u4f8b\u3060\u3063\u305f\u306a\u3002<br \/>\n\u3068\u3053\u308d\u3067\u4e8c\u9805\u6f14\u7b97\u5b50\u306f\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3068\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u8a08\u7b97\u3092\u3059\u308b\u3082\u306e\u3001\u305d\u308a\u3083\u305d\u3046\u3060\u3002<br \/>\n\u3060\u304b\u3089\u6f14\u7b97\u5b50\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u5fc5\u8981\u3002\u30af\u30e9\u30b9\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u3089\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u3002<br \/>\n\u3057\u304b\u3057\u3001\u305d\u308c\u3092\u9006\u624b\u306b\u53d6\u308b\u3068\u304a\u3082\u3057\u308d\u3044\u3053\u3068\u304c\u3067\u304d\u305f\u3002\u5373\u5e2d\u6f14\u7b97\u5b50\u3092\u4f5c\u308c\u3066\u3057\u307e\u3046\u3002<\/p>\n<pre>myop<vector, vector,=\"\" double=\"\"> dot=new myop<vector, vector,=\"\" double=\"\">(\n  delegate(vector in1, vector in2) {\n    return in1.x*in2.x+in1.y*in2.y+in1.z*in2.z;\n  });\nConsole.WriteLine(\"{0}\u30fb{1}={2}\", v1, v2, v1 %dot% v2);<\/vector,><\/vector,><\/pre>\n<p>\u6c17\u6301\u3061\u60aa\u3044\u3053\u3068\u3053\u306e\u4e0a\u306a\u3044\u3068\u3044\u3046\u306e\u306f\u3053\u306e\u3053\u3068\u3060\u308d\u3046\u3002<br \/>\nGeneric\u3092\u591a\u7528\u3057\u3066\u308b\u304b\u3089\u898b\u306b\u304f\u3044\u3002\u305d\u306e\u3046\u3048C# 2.0\u306e\u7bc4\u56f2\u3067\u66f8\u3044\u3066\u308b\u306e\u3067\u3001C# 3.0\u307b\u3069\u30b9\u30de\u30fc\u30c8\u306b\u66f8\u3051\u306a\u3044\u3002<br \/>\n\u307e\u305a\u6f14\u7b97\u5b50\u30e1\u30bd\u30c3\u30c9\u3092\u4f5c\u308b\u3002&lt;&gt;\u5185\u306b\u306f\u50241\u306e\u578b\u30fb\u50242\u306e\u578b\u30fb\u7d50\u679c\u306e\u578b\u306e\u9806\u756a\u3067\u66f8\u304f\u3002<br \/>\n\u305d\u308c\u3067\u5f15\u6570\u306b\u50241\u306e\u578b\u30fb\u50242\u306e\u578b\u3001\u8fd4\u308a\u5024\u306b\u7d50\u679c\u306e\u578b\u3068\u306a\u308b\u30c7\u30ea\u30b2\u30fc\u30c8\u3092\u767b\u9332\u3059\u308b\u3002<br \/>\n\u3053\u306e\u30c7\u30ea\u30b2\u30fc\u30c8\u306e\u578b\u3068\u3057\u3066myoperate<t1,t2,tr>\u3092\u7528\u610f\u3057\u3066\u308b\u3051\u3069\u3001C# 3.0\u3067\u306fFunc<t1,t2,tr>\u3092\u4f7f\u3048\u3070\u3044\u3044\u3067\u3057\u3087\u3046\u3002<br \/>\n\u3053\u3053\u3067\u306f\u305d\u306e\u5834\u3067\u4f5c\u3063\u3066\u3044\u308b\u3002\u305d\u3046\u3001\u3053\u308c\u304c\u5373\u5e2d\u6f14\u7b97\u5b50\u3068\u3044\u3046\u3053\u3068\u3002<br \/>\n\u3082\u3061\u308d\u3093\u3053\u3046\u3084\u3063\u3066\u4f5c\u3063\u305f\u6f14\u7b97\u5b50\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u8fd4\u3059\u9759\u7684\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u3057\u3066\u7528\u610f\u3057\u3066\u304a\u3044\u3066\u3082\u3088\u304b\u3063\u305f\u3093\u3060\u3051\u3069\u306d\u3002<br \/>\n\u305d\u308c\u3067v1 %dot% v2\u3068\u3001\u6f14\u7b97\u5b50\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u5909\u6570\u540d\u3092%\u3067\u56f2\u3093\u3067\u66f8\u304f\u3060\u3051\u3002<br \/>\n\u3055\u3066\u3001\u3053\u308c\u306f\u7d50\u5408\u9806\u5e8f\u304b\u3089\u308f\u304b\u308b\u3068\u601d\u3046\u3051\u3069\u3001(v1%dot)%dot\u3068\u8a08\u7b97\u3055\u308c\u308b\u3002<br \/>\n\u3055\u3063\u304d\u3082\u51fa\u3066\u304d\u305f%\u3060\u304c\u3001\u5270\u4f59\u306e\u6f14\u7b97\u5b50\u3001\u3060\u3051\u3069\u305d\u3093\u306a\u306e\u95a2\u4fc2\u306a\u3044\u3002<br \/>\n%\u6f14\u7b97\u5b50\u3067T1\u578b\u3068myop<t1,t2,tr>\u578b\u3092\u8a08\u7b97\u3059\u308b\u3068\u3001relay<t1,t2,tr>\u578b\u306b\u3055\u308c\u308b\u3002<br \/>\n\u3053\u306erelay<t1,t2,tr>\u578b\u3001\u767b\u9332\u3055\u308c\u305f\u30c7\u30ea\u30b2\u30fc\u30c8\u3068\u3001T1\u578b\u306e\u5024\u3092\u7d0d\u3081\u308b\u30af\u30e9\u30b9\u3002<br \/>\n%\u6f14\u7b97\u5b50\u3067relay<t1,t2,tr>\u578b\u3068T2\u578b\u3092\u8a08\u7b97\u3059\u308b\u3068\u3001\u30c7\u30ea\u30b2\u30fc\u30c8\u3067\u5b9a\u3081\u305f\u8a08\u7b97\u3092\u3057\u3066\u3001\u7b54\u3048\u306eTr\u578b\u304c\u8fd4\u308b\u3068\u3002<br \/>\n\u304a\u3082\u3057\u308d\u3044\u4f7f\u3044\u65b9\u3060\u3068\u601d\u3063\u305f\u306e\u304c\u3001<\/t1,t2,tr><\/t1,t2,tr><\/t1,t2,tr><\/t1,t2,tr><\/t1,t2,tr><\/t1,t2,tr><\/p>\n<pre>myop<double, double,=\"\" double=\"\"> pow=new myop<double, double,=\"\" double=\"\">(Math.Pow);\nConsole.WriteLine(\"10^0.3010^2={0}\", 10 %pow% 0.3010 %pow% 2);<\/double,><\/double,><\/pre>\n<p>\u65e2\u5b58\u306e\u95a2\u6570\u3092\u767b\u9332\u3059\u308b\u3068\u3002\u3053\u308c\u306f\u306a\u304b\u306a\u304b\u8c6a\u5feb\u306a\u3084\u308a\u65b9\u3060\u3002<br \/>\n\u78ba\u304b\u306b\u7b54\u3048\u306f\u51fa\u308b\u3002\u3053\u3093\u306a\u98a8\u306b\u4e8c\u9805\u6f14\u7b97\u5b50\u306b\u3057\u305f\u3044\u9759\u7684\u30e1\u30bd\u30c3\u30c9\u3092\u767b\u9332\u3059\u308b\u3068\u3044\u3046\u306e\u306f\u3042\u308a\u304b\u3082\u3057\u308c\u306a\u3044\u3002<\/p>\n<hr>\n<p>\u305f\u3060\u3001\u30af\u30e9\u30b9\u304c\u96e3\u89e3\u3067\u2026<\/p>\n<pre>public delegate Tr myoperate<t1, t2,=\"\" tr=\"\">(T1 in1, T2 in2);\npublic class myop<t1, t2,=\"\" tr=\"\"> {\n  private myoperate<t1, t2,=\"\" tr=\"\"> operate;\n  public myop(myoperate<t1, t2,=\"\" tr=\"\"> operate0) { operate=operate0; }\n  public static relay<t1, t2,=\"\" tr=\"\"> operator%(T1 in1, myop<t1, t2,=\"\" tr=\"\"> op0) {\n    return new relay<t1, t2,=\"\" tr=\"\">(op0.operate, in1);\n  }\n}\npublic class relay<t1, t2,=\"\" tr=\"\"> {\n  private T1 in1;\n  private myoperate<t1, t2,=\"\" tr=\"\"> operate;\n  internal relay(myoperate<t1, t2,=\"\" tr=\"\"> operate0, T1 in1_0) {\n    operate=operate0;\n    in1=in1_0;\n  }\n  public static Tr operator%(relay<t1, t2,=\"\" tr=\"\"> myr, T2 in2) {\n    return myr.operate(myr.in1, in2);\n  }\n}<\/t1,><\/t1,><\/t1,><\/t1,><\/t1,><\/t1,><\/t1,><\/t1,><\/t1,><\/t1,><\/t1,><\/pre>\n<p>\u3055\u3063\u304d\u306e\u4f8b\u306f1\u3064\u306e\u6f14\u7b97\u5b50\u306b\u5bfe\u3057\u30661\u3064\u30af\u30e9\u30b9\u3092\u4f5c\u308c\u3070\u3044\u3044\u3002\u308f\u308a\u3068\u7406\u89e3\u3057\u3084\u3059\u304f\u3066\u3044\u3044\u3067\u3059\u306d\u3002<br \/>\n\u4eca\u56de\u306f\u6f14\u7b97\u5b50\u3044\u304f\u3064\u3067\u3082\u3044\u3044\u3051\u3069\u3001\u30c7\u30ea\u30b2\u30fc\u30c81\u3064\u30fb\u30af\u30e9\u30b92\u3064\u3082\u5fc5\u8981\u3002\u6f14\u7b97\u5b50\u306e\u5b9a\u7fa9\u306f\u5225\u9014\u3068\u3001\u307e\u3041\u305d\u3046\u3044\u3046\u308f\u3051\u3067\u3059\u3002<br \/>\n1\u3064\u76ee\u306e%\u6f14\u7b97\u5b50\u306fmyop&lt;&gt;\u30af\u30e9\u30b9\u306b\u30012\u3064\u76ee\u306e%\u6f14\u7b97\u5b50\u306frelay&lt;&gt;\u30af\u30e9\u30b9\u306b\u3042\u308a\u307e\u3059\u3002\u3053\u3093\u306a\u98a8\u306b\u5206\u304b\u308c\u3066\u308b\u306e\u306f\u308f\u304b\u308a\u306b\u304f\u3044\u3002<br \/>\nrelay&lt;&gt;\u30af\u30e9\u30b9\u306e\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306finternal\u306b\u306a\u3063\u3066\u308b\u304b\u3089\u3001\u540c\u3058\u30a2\u30bb\u30f3\u30d6\u30ea\u5185\u3067\u306f\u4f5c\u308c\u308b\u3002<br \/>\n\u4e8b\u5b9fmyop&lt;&gt;\u30af\u30e9\u30b9\u306e%\u6f14\u7b97\u5b50\u306e\u5b9a\u7fa9\u306e\u3068\u304d\u306b\u4f7f\u3063\u3066\u308b\u304b\u3089\u306d\u3002<br \/>\n\u307e\u3041internal\u306fpublic\u3060\u3068\u601d\u3063\u3066\u3082\u304b\u307e\u308f\u306a\u3044\u7a0b\u5ea6\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u3060\u3051\u3069\u306a\u3002C#\u72ec\u7279\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u3060\u3002<\/p>\n<hr>\n<p>\u81ea\u4f5c\u6f14\u7b97\u5b50\u3092\u4f5c\u3063\u305f\u3068\u3053\u308d\u3067\u66f8\u304d\u65b9\u306f\u7c21\u5358\u3067\u3082\u3001\u5b9f\u969b\u306e\u52d5\u4f5c\u306f\u3059\u3054\u3044\u8907\u96d1\u3002<br \/>\n\u305d\u3053\u304c\u96e3\u5100\u306a\u3068\u3053\u308d\u3060\u3002<br \/>\n\u3053\u3093\u306a\u81ea\u4f5c\u6f14\u7b97\u5b50\u304c\u30e1\u30ea\u30c3\u30c8\u306b\u306a\u308b\u306e\u306f10 %(pow) 0.3010 %(pow) 2\u306e\u3088\u3046\u306a\u8a08\u7b97\u3060\u308d\u3046\u3002<br \/>\n\u3082\u3057\u3001\u3053\u308c\u3092Pow\u30e1\u30bd\u30c3\u30c9\u3067\u8868\u3057\u305f\u306a\u3089Math.Pow(Math.Pow(10 , 0.3010) , 2)\u306e\u3088\u3046\u306b\u66f8\u304b\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3002<br \/>\n\u3053\u3093\u306a\u98a8\u306b\u5384\u4ecb\u306a\u9759\u7684\u30e1\u30bd\u30c3\u30c9\u3092\u3001\u30b9\u30de\u30fc\u30c8\u306b\u8868\u3059\u305f\u3081\u306e\u65b9\u6cd5\u3067\u3059\u3088\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3055\u3066\u3001\u6628\u65e5\u3001\u81ea\u4f5c\u6f14\u7b97\u5b50\u3042\u3063\u305f\u3089\u304a\u3082\u3057\u308d\u3044\u306a\u3068\u3044\u3046\u304a\u8a71\u3092\u3057\u307e\u3057\u305f\u3002 \u305d\u308c\u3067\u96fb\u8eca\u306e\u4e2d\u3067\u3044\u308d\u3044\u308d\u8003\u3048\u3066\u305f\u306e\u3060\u304c\u30012\u3064\u6709\u76ca\u306a\u65b9\u6cd5\u304c\u3042\u308b\u3068\u601d\u3046\u3002 \u3068\u3053\u308d\u3067\u81ea\u4f5c\u6f14\u7b97\u5b50\u3092\u8a00\u8a9e\u30ec\u30d9\u30eb\u3067\u5b9f\u88c5\u3057\u3066\u3044\u305f\u3082\u306e\u306bFORTRAN\u304c\u3042\u308b\u3089\u3057\u3044\u3002 \u305d\u308c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1289","post","type-post","status-publish","format-standard","hentry","category-computer"],"_links":{"self":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts\/1289","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1289"}],"version-history":[{"count":2,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts\/1289\/revisions"}],"predecessor-version":[{"id":1294,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts\/1289\/revisions\/1294"}],"wp:attachment":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1289"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1289"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1289"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}