{"published":"2024-07-24 00:00:00","version":"1.0","width":"100%","provider_name":"Hatena Blog","categories":["c/c++"],"height":"190","blog_url":"https://coffee-guhaw.hateblo.jp/","image_url":null,"author_name":"coffee_kabu","blog_title":"Bus error\u3068Segmentation fault\u306b\u56f0\u3063\u305f\u3089\u898b\u308b\u30d6\u30ed\u30b0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcoffee-guhaw.hateblo.jp%2Fentry%2F2024%2F07%2F24%2F000000\" title=\"\u3010C\u8a00\u8a9e\u3011GSL\u306e\u88dc\u9593\u3092\u4f7f\u3063\u3066\u307f\u308b - Bus error\u3068Segmentation fault\u306b\u56f0\u3063\u305f\u3089\u898b\u308b\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://coffee-guhaw.hateblo.jp/entry/2024/07/24/000000","provider_url":"https://hatena.blog","title":"\u3010C\u8a00\u8a9e\u3011GSL\u306e\u88dc\u9593\u3092\u4f7f\u3063\u3066\u307f\u308b","author_url":"https://blog.hatena.ne.jp/coffee_kabu/","description":"(\u5143\u8a18\u4e8b 2012/02/05) #include <gsl/gsl_interp.h>#include <gsl/gsl_spline.h> gsl_interp_accel *acc = gsl_interp_accel_alloc();const gsl_interp_type *T = gsl_interp_cspline;gsl_spline *spline = gsl_spline_alloc(T, data_size); gsl_spline_init(spline, f0, fn, data_size); i=0;for(xi = inif[0]; xi < inif[data\u2026","type":"rich"}