{"id":8034,"date":"2008-04-13T11:49:00","date_gmt":"2008-04-13T11:49:00","guid":{"rendered":"http:\/\/melotopia.net\/b\/?p=8034"},"modified":"2008-04-13T11:49:00","modified_gmt":"2008-04-13T11:49:00","slug":"gsl-%ec%82%ac%ec%9a%a9%ed%95%98%ea%b8%b0-%ec%84%a4%eb%aa%85%ec%84%9c-2%ec%9e%a5-4%ec%a0%88%ea%b9%8c%ec%a7%80","status":"publish","type":"post","link":"http:\/\/melotopia.net\/b\/?p=8034","title":{"rendered":"GSL \uc0ac\uc6a9\ud558\uae30 ~ \uc124\uba85\uc11c 2\uc7a5 4\uc808\uae4c\uc9c0"},"content":{"rendered":"<div class=\"desc\">\n        GSL?<br \/>\n        <br \/>\n        GNU Scientific Libraries<br \/>\n        <br \/>\n        \uacfc\ud559\/\uacf5\ud559\/\uc218\ud559 \uc5f0\uad6c\uc5d0 \uc0ac\uc6a9\ub418\ub294 \ub9ce\uc740 \ud568\uc218\ub4e4\uc744 \ub2e4 \ub9cc\ub4e4\uc5b4 \ub454 \ud328\ud0a4\uc9c0\ub2e4.<\/p>\n<p>        \uc544\ub798 \ub9c1\ud06c\uc5d0\uc11c \uad6c\ud560 \uc218 \uc788\ub2e4.<br \/>\n        <br \/>\n<a href=\"http:\/\/www.gnu.org\/software\/gsl\/\" target=\"_blank\"><br \/>\n         http:\/\/www.gnu.org\/software\/gsl\/<br \/>\n        <\/a><\/p>\n<p>        \uc608\uc804\uc5d0 \uacf5\uc9dc\ub85c \uc5bb\uc5c8\ub358 \ucef4\ud4e8\ud130\uc5d0 \ub9ac\ub205\uc2a4\ub97c \uc124\uce58\ud558\uace0 \uc774\uac78 \uac16\uace0 \ubb58\ud560\uae4c \ud558\ub2e4\uac00 GSL\uc744 \uacf5\ubd80\ud574 \ubcf4\uae30\ub85c \ub9c8\uc74c\uba39\uc5c8\ub2e4.<br \/>\n        <br \/>\n        CPU\uc758 \uc18d\ub825\uc774 866MHz\ubc16\uc5d0 \ub418\uc9c0 \uc54a\ub294 \uad6c\uc2dc\ub300\uc758 \uc720\ubb3c\uc774\uc9c0\ub9cc, \ub0b4\uac00 \uac16\uace0 \ub180\uae30\uc5d0\ub294 \ucda9\ubd84\ud574 \ubcf4\uc778\ub2e4.<\/p>\n<p>        \ub2e4\uc74c\uacfc \uac19\uc740 \uac83\ub4e4\uc744 \uc9c0\uc6d0\ud55c\ub2e4\uace0 \ud55c\ub2e4.<\/p>\n<table class=\"subjects\" summary=\"Function areas in GSL\">\n<tbody>\n<tr>\n<td>\n            \ubcf5\uc18c\uc218\n           <\/td>\n<td>\n            \ubc29\uc815\uc2dd\uc758 \uadfc<br \/>\n            \n<\/td>\n<\/tr>\n<tr>\n<td>\n            \ud2b9\uc218 \ud568\uc218\ub4e4<br \/>\n            \n<\/td>\n<td>\n            \ubca1\ud130\uc640 \ud589\ub82c<br \/>\n            \n<\/td>\n<\/tr>\n<tr>\n<td>\n            \uc21c\uc5f4, \uc870\ud569<br \/>\n            \n<\/td>\n<td>\n            \uc815\ub82c\n           <\/td>\n<\/tr>\n<tr>\n<td>\n            \uae30\ubcf8 \uc120\ud615\ub300\uc218\ud559<br \/>\n            \n<\/td>\n<td>\n            \uc120\ud615 \ub300\uc218\ud559<br \/>\n            \n<\/td>\n<\/tr>\n<tr>\n<td>\n            \uace0\uc720\uac12 \uc2dc\uc2a4\ud15c<br \/>\n            \n<\/td>\n<td>\n            \ube60\ub978 \ud478\ub9ac\uc5d0 \ubcc0\ud658<br \/>\n            \n<\/td>\n<\/tr>\n<tr>\n<td>\n            Quadrature\n           <\/td>\n<td>\n            \ub09c\uc218\n           <\/td>\n<\/tr>\n<tr>\n<td>\n            \uc900-\ub09c\uc218 \uc218\uc5f4<br \/>\n            \n<\/td>\n<td>\n            \ub09c\uc218 \ubd84\ud3ec<br \/>\n            \n<\/td>\n<\/tr>\n<tr>\n<td>\n            \ud1b5\uacc4\n           <\/td>\n<td>\n            \ud788\uc2a4\ud1a0\uadf8\ub7a8\n           <\/td>\n<\/tr>\n<tr>\n<td>\n            N-Tuple<br \/>\n            \n<\/td>\n<td>\n            \ubaac\ud14c \uce74\ub97c\ub85c \uc801\ubd84<br \/>\n            \n<\/td>\n<\/tr>\n<tr>\n<td>\n            Simulated Annealing\n           <\/td>\n<td>\n            \ubbf8\ubd84 \ubc29\uc815\uc2dd<br \/>\n            \n<\/td>\n<\/tr>\n<tr>\n<td>\n            \ubcf4\uac04\ubc95<br \/>\n            \n<\/td>\n<td>\n            \ubbf8\ubd84\n           <\/td>\n<\/tr>\n<tr>\n<td>\n            \uccb4\ube44\uc170\ud504 \ubcf4\uac04\ubc95<br \/>\n            \n<\/td>\n<td>\n            Series Acceleration\n           <\/td>\n<\/tr>\n<tr>\n<td>\n            \uc774\uc0b0 \ud55c\ucf08 \ubcc0\ud658<br \/>\n            \n<\/td>\n<td>\n            \uadfc \ucc3e\uae30<br \/>\n            \n<\/td>\n<\/tr>\n<tr>\n<td>\n            \ucd5c\uc18c\ud654<br \/>\n            \n<\/td>\n<td>\n            \ucd5c\uc18c \uc81c\uacf1\ubc95<br \/>\n            \n<\/td>\n<\/tr>\n<tr>\n<td>\n            \ubb3c\ub9ac \uc0c1\uc218<br \/>\n            \n<\/td>\n<td>\n            IEEE Floating-Point\n           <\/td>\n<\/tr>\n<tr>\n<td>\n            \uc774\uc0b0 \uc6e8\uc774\ube14\ub9bf \ubcc0\ud658<br \/>\n            \n<\/td>\n<td>\n            Basis splines\n           <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>        \uadf8\ub798\uc11c. \ud504\ub85c\uc81d\ud2b8\ub97c \uc815\ud574\uc57c \ud558\ub294\ub370&#8230;<br \/>\n        <br \/>\n        \uadf8\uac74 \ub098\uc911\uc5d0 \uc815\ud558\uace0. \uc544\ub9c8 \uadf8\ub54c\uadf8\ub54c \uc608\uc81c\ub97c \uc870\uae08 \uc751\uc6a9\ud558\ub294 \uc815\ub3c4\uac00 \ub418\uc9c0 \uc54a\uc744\uae4c&#8230;<\/p>\n<p>        \uc0ac\uc6a9\uc124\uba85\uc11c\ub97c \uc77d\uc5b4\ubcf4\uc558\ub2e4.<\/p>\n<p>        2.1\uc808\uc5d0 \ubcf4\uba74 \uc608\uc81c\uac00 \uc788\ub2e4.<br \/>\n        <\/p>\n<pre class=\"example\"><pre class=\"verbatim\"><blockquote>\/\/gsl_example.c<br\/>\r\n#include <stdio.h><br\/>\r\n#include <gsl\/gsl_sf_bessel.h><br\/>\r\n     <br\/>\r\nint main (void)<br\/>\r\n{<br\/>\r\n       double x = 5.0;<br\/>\r\n       double y = gsl_sf_bessel_J0 (x);<br\/>\r\n       printf (\"J0(%g) = %.18e\\n\", x, y);<br\/>\r\n       return 0;<br\/>\r\n}<\/blockquote><\/pre>\n<p>        \ucc38\uace0\ub85c, GSL\uc758 \uba54\ub274\uc5bc\uc740 GFDL\uc5d0 \uc758\ud574\uc11c \ub0b4\uac00 \ud37c\uc640\ub3c4 \ub41c\ub2e4.<br \/>\n        <br \/>\n        \uc704\uc758 \uc18c\uc2a4\ub97c \uc2e4\ud589\uc2dc\ud0a4\uae30 \uc704\ud574\uc11c<\/p>\n<blockquote><p>\n         snowall@snowall-desktop:~\/projects\/gsl_example gcc -o gsl_example gsl_example.c<br \/>\n         <br \/>\n         \/tmp\/cc3a6993.o: In function `main&#8217;:<br \/>\n         <br \/>\n         gsl_example.c:(.text+0x1d): undefined reference to `gsl_sf_bessel_J0&#8242;<br \/>\n         <br \/>\n         collect2: ld returned 1 exit status\n        <\/p><\/blockquote>\n<p>\n        \uc774\ub807\uac8c \uc5d0\ub7ec\uac00 \ub098\uc654\ub2e4.<br \/>\n        <br \/>\n        \uadf8\ub798\uc11c \uba54\ub274\uc5bc\uc744 \uc0b4\ud3b4\ubd24\ub2e4.<br \/>\n        <br \/>\n        2.2 Compling and Linking \uc744 \uc0b4\ud3b4\ubd24\ub354\ub2c8<br \/>\n        <span style=\"font-family: monospace;\"><br \/>\n<br \/>\n<\/span><br \/>\n<\/p>\n<blockquote><p>\n         gcc -Wall -I\/usr\/local\/include -c example.c\n        <\/p><\/blockquote>\n<p>        \uc774\ub807\uac8c \ud558\uba74 \ub41c\ub2e4\uace0 \ud55c\ub2e4. \uadf8\ub798\uc11c \ud588\ub354\ub2c8, \ubc14\uc774\ub108\ub9ac \ud30c\uc77c\uc774 \ub9cc\ub4e4\uc5b4\uc9c0\uae34 \ud588\ub294\ub370 out \ud30c\uc77c\uc774 \uc544\ub2c8\ub77c o \ud30c\uc77c\uc774\ub2e4. \ub2f9\uc5f0\ud788 \uc2e4\ud589\ub420\ub9ac\uac00 \uc5c6\ub2e4.<br \/>\n        <\/p>\n<pre class=\"example\"><span style=\"font-family: Dotum,Verdana,AppleGothic,Sans-serif;\">\uadf8\ub798\uc11c, \ub2e4\uc74c\uc7a5\uc778 2.3 Shared Libraries \ub97c \uc0b4\ud3b4\ubd24\ub2e4.<br\/>\r\n<\/span><blockquote>gcc -static example.o -lgsl -lgslcblas -lm<\/blockquote><br\/>\r\n\uc774\ub807\uac8c \ud558\ub77c\uace0 \uc2dc\ud0a8\ub2e4. \uadf8\ub798\uc11c \uadf8\ub807\uac8c \ud588\ub354\ub2c8 lgslblas\uac00 \ubb54\uc9c0 \ubaa8\ub974\uaca0\ub2e4\uace0 \uc5d0\ub7ec\ub97c \ubc49\uc5c8\ub2e4. <br\/>\r\n\uadfc\ub370, \ub09c Blas\ub97c \uc124\uce58\ub97c \uc548\ud588\uc73c\ub2c8 \ub2f9\uc5f0\ud788 \uc5d0\ub7ec\uac00 \ub730 \uac83\uc774\ub2e4. \uadf8\ub798\uc11c lgslblas \uc635\uc158\uc744 \ube7c\uace0 \ucef4\ud30c\uc77c \ud588\ub2e4.<br\/>\r\n\ub41c\ub2e4. \u314b\u314b<br\/>\r\n<br\/>2.4 \uc808\uc744 \uc77d\uc5b4\ubcf4\ub2c8 Ansi C\uc640 \uc798 \ub9de\ub294\ub2e4\uace0 \ub418\uc5b4 \uc788\uc5b4\uc11c \uadf8\ub7ec\ub824\ub2c8 \ud558\uba74 \ub420 \uac83 \uac19\ub2e4.<br\/>\r\n<br\/><\/pre>\n<div style=\"width:100%;margin-top:30px;clear:both;height:30px\">\n<div style=\"width:31px;float:left;\">\n<a href=\"\/toolbar\/popup\/abuseReport\/?entryId=837\" onclick=\"window.open(this.href, 'tistoryThisBlogPopup', 'width=550, height=510, toolbar=no, menubar=no, status=no, scrollbars=no'); return false;\"><br \/>\n<img data-recalc-dims=\"1\" decoding=\"async\" alt=\"\uc2e0\uace0\" src=\"https:\/\/i0.wp.com\/t1.daumcdn.net\/tistory_admin\/static\/ico\/ico_spam_report.png\" style=\"border:0\"\/><br \/>\n<\/a>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>GSL? GNU Scientific Libraries \uacfc\ud559\/\uacf5\ud559\/\uc218\ud559 \uc5f0\uad6c\uc5d0 \uc0ac\uc6a9\ub418\ub294 \ub9ce\uc740 \ud568\uc218\ub4e4\uc744 \ub2e4 \ub9cc\ub4e4\uc5b4 \ub454 \ud328\ud0a4\uc9c0\ub2e4. \uc544\ub798 \ub9c1\ud06c\uc5d0\uc11c \uad6c\ud560 \uc218 \uc788\ub2e4. http:\/\/www.gnu.org\/software\/gsl\/ \uc608\uc804\uc5d0 \uacf5\uc9dc\ub85c \uc5bb\uc5c8\ub358 \ucef4\ud4e8\ud130\uc5d0 \ub9ac\ub205\uc2a4\ub97c \uc124\uce58\ud558\uace0 \uc774\uac78 \uac16\uace0 \ubb58\ud560\uae4c \ud558\ub2e4\uac00 GSL\uc744 \uacf5\ubd80\ud574 \ubcf4\uae30\ub85c \ub9c8\uc74c\uba39\uc5c8\ub2e4. CPU\uc758 \uc18d\ub825\uc774 866MHz\ubc16\uc5d0 \ub418\uc9c0 \uc54a\ub294 \uad6c\uc2dc\ub300\uc758 \uc720\ubb3c\uc774\uc9c0\ub9cc, \ub0b4\uac00 \uac16\uace0 \ub180\uae30\uc5d0\ub294 \ucda9\ubd84\ud574 \ubcf4\uc778\ub2e4. \ub2e4\uc74c\uacfc \uac19\uc740 \uac83\ub4e4\uc744 \uc9c0\uc6d0\ud55c\ub2e4\uace0 \ud55c\ub2e4. \ubcf5\uc18c\uc218 \ubc29\uc815\uc2dd\uc758 \uadfc \ud2b9\uc218 \ud568\uc218\ub4e4 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[12],"tags":[],"class_list":["post-8034","post","type-post","status-publish","format-standard","hentry","category-12"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8o6gA-25A","jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/posts\/8034","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8034"}],"version-history":[{"count":0,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/posts\/8034\/revisions"}],"wp:attachment":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8034"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8034"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8034"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}