以前のリビジョンの文書です
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in
/mnt/hep_web/hep_web/member/n-kota/dokuwiki/inc/parser/handler.php on line
1458
Warning: Declaration of syntax_plugin_note::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in
/mnt/hep_web/hep_web/member/n-kota/dokuwiki/lib/plugins/note/syntax.php on line
79
Warning: Declaration of syntax_plugin_note::render($mode, &$renderer, $indata) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in
/mnt/hep_web/hep_web/member/n-kota/dokuwiki/lib/plugins/note/syntax.php on line
101
Warning: preg_match(): Compilation failed: invalid range in character class at offset 3120 in
/mnt/hep_web/hep_web/member/n-kota/dokuwiki/inc/parser/lexer.php on line
118
A PCRE internal error occured. This might be caused by a faulty plugin
====== TF1 ======
----
===== 基本 =====
TF1 *func1 = nes TF1("func1" , "x*sin(x)" , x_min , x_max);//x_min,x_maxは定義域
TF1 *func2 = nes TF1("func2" , "gaus" , x_min , x_max);// システム定義関数を使うことができる
TF1 *func3 = nes TF1("func3" , "gaus(0)+pol1(3)" , x_min , x_max);// 複数使う場合は最初のパラメータの番号を指定する
==== システム定義関数(TMath::) ====
* expo ---> exp([0]+[1]*x)
* polN ---> [0]+[1]*x+[2]*x%%**%%2+…+[N]*x%%**%%N
* gaus ---> [0]*exp(-0.5*( (x-[1])/[2])%%**%%2)
* gausn ---> [0]*exp(-0.5* ( (x-[1])/[2])%%**%%2) / (sqrt(2*pi)*[2]) )
* 規格化ガウシアン
* landau ---> MPV , sigma
===== 使い方 =====
func->Draw();
func->Print();//パラメータを出力
func->Eval(x);//あるxのときのyの値を返す
func->Integral(x1,x2);//x1からx2まで積分
func->Derivative(x);//xにおける微分を得る
func->SetLineColor(color);
func->SetLineStyle(style);
func->SetLineWidth(width);
func->SetTitle("Title");
func->SetParameters(p0,p1,...);
func->SetParName(p_num,p_name);
func->SetParNames(p0_name,p1_name,...);