Common Library  0.9.5
math_library.h ファイル

数学関数定義用ヘッダ [詳解]

データ構造

class  tadah_fussy::math_lib::diff_method::Forward< F, T >
 差分法による導関数計算用関数 [詳解]
 
class  tadah_fussy::math_lib::diff_method::Backward< F, T >
 差分法による導関数計算用関数 [詳解]
 
class  tadah_fussy::math_lib::diff_method::Central< F, T >
 差分法による導関数計算用関数 [詳解]
 
class  tadah_fussy::math_lib::polynomial::Bernstein< T >
 Bernstein多項式 [詳解]
 
class  tadah_fussy::math_lib::polynomial::Lagrange< T >
 Lagrange多項式 [詳解]
 
class  tadah_fussy::math_lib::polynomial::Newton< T >
 Newton多項式 [詳解]
 
class  tadah_fussy::math_lib::SumOp< T >
 二つの値の和を計算するための関数オブジェクト [詳解]
 
class  tadah_fussy::math_lib::SumOp< std::pair< T, U > >
 二つの値の和を計算するための関数オブジェクト( std::pair用 ) [詳解]
 
class  tadah_fussy::math_lib::KahanSumOp< T >
 Kahanの加算アルゴリズムを使って和を計算するための関数オブジェクト [詳解]
 
class  tadah_fussy::math_lib::KahanSumOp< std::pair< T, U > >
 Kahanの加算アルゴリズムを使って和を計算するための関数オブジェクト(std::pair用) [詳解]
 
class  tadah_fussy::math_lib::AddBinder< Op >
 単項関数で値を処理してから加算するための関数オブジェクト [詳解]
 
class  tadah_fussy::math_lib::OpBinder< Res, UnOp, BinOp >
 単項関数と二項関数の組み合わせにより値を処理するための関数オブジェクト [詳解]
 

名前空間

 tadah_fussy
 作成者 tadah_fussy
 
 tadah_fussy::math_lib
 数学関数用名前空間
 
 tadah_fussy::math_lib::diff_method
 差分法名前空間
 
 tadah_fussy::math_lib::polynomial
 多項式定義用名前空間
 

関数

template<class F , class T >
Forward< F, T > tadah_fussy::math_lib::diff_method::CreateForward (F f, T h)
 前進差分による導関数計算用関数オブジェクト tadah_fussy::math_lib::diff_method::Forward を生成する [詳解]
 
template<class F , class T >
Backward< F, T > tadah_fussy::math_lib::diff_method::CreateBackward (F f, T h)
 後退差分による導関数計算用関数オブジェクト tadah_fussy::math_lib::diff_method::Backward を生成する [詳解]
 
template<class F , class T >
Central< F, T > tadah_fussy::math_lib::diff_method::CreateCentral (F f, T h)
 中心差分による導関数計算用関数オブジェクト tadah_fussy::math_lib::diff_method::Central を生成する [詳解]
 
template<class U >
tadah_fussy::math_lib::Pow (const U &t, const U &n)
 t の n 乗を計算する関数 [詳解]
 
template<class U >
tadah_fussy::math_lib::PowerRoot (const U &c, const U &e)
 c の e 乗根の近似値を求める [詳解]
 
template<class U >
tadah_fussy::math_lib::ModularPower (const U &a, U k, const U &n)
 繰り返し自乗法を使った法 n のべき乗計算( a の k 乗を n で割った余りを求める ) [詳解]
 
template<class U >
tadah_fussy::math_lib::GCD (U a, U b)
 ユークリッドの互除法を使った最大公約数の計算 [詳解]
 
template<class U >
int8_t tadah_fussy::math_lib::Jacobi (U a, U p)
 ヤコビ記号を求める [詳解]
 
template<class T >
tadah_fussy::math_lib::Pi ()
 円周率を返す関数 [詳解]
 
template<class Res , class I >
Res tadah_fussy::math_lib::AccuratePermutation (I n, I r)
 順列 ( n 個の要素から r 個を並べる場合の数 ) の計算 [詳解]
 
template<class T >
tadah_fussy::math_lib::Permutation (T n, T r)
 順列 ( n 個の要素から r 個を並べる場合の数 ) の計算 [詳解]
 
template<class Res , class In >
Res tadah_fussy::math_lib::AccurateMultiCoef (In s, In e)
 m 個のグループからそれぞれ k[1] 〜 k[m] 個ずつ合計 n 個並べる場合の数(多項係数)を求める [詳解]
 
template<class Res , class In >
Res tadah_fussy::math_lib::MultiCoef (In s, In e)
 m 個のグループからそれぞれ k[1] 〜 k[m] 個ずつ合計 n 個並べる場合の数(多項係数)を求める [詳解]
 
template<class Res , class T >
Res tadah_fussy::math_lib::AccurateCombination (T n, T r)
 組み合わせ ( n 個の要素から r 個を選ぶ場合の数 ) の計算 [詳解]
 
template<class D , class I >
tadah_fussy::math_lib::BinCoef (D a, I r)
 一般の二項係数の計算 [詳解]
 
template<class Res , class I >
Res tadah_fussy::math_lib::AccurateBernoulliNum (I n)
 ベルヌーイ数 Bn を求める [詳解]
 
template<class Res , class I >
Res tadah_fussy::math_lib::BernoulliNum (I n)
 ベルヌーイ数 Bn を求める [詳解]
 
template<class Op >
AddBinder< Op > tadah_fussy::math_lib::OpBind (Op op)
 処理用単項関数から AddBinder 関数オブジェクトを生成する [詳解]
 
template<class Res , class UnOp , class BinOp >
OpBinder< Res, UnOp, BinOp > tadah_fussy::math_lib::OpBind (UnOp unOp, BinOp binOp)
 処理用単項関数と二項関数から OpBinder 関数オブジェクトを生成する [詳解]
 
template<class Res , class In >
Res tadah_fussy::math_lib::Sum (In s, In e)
 データ列の s から e の直前までの範囲の総和を求める [詳解]
 
template<class Res , class In , class SUM_Op >
Res tadah_fussy::math_lib::Sum (In s, In e, SUM_Op sumOp)
 データ列の s から e の直前までの範囲の総和を求める [詳解]
 
template<class Res , class Container >
Res tadah_fussy::math_lib::SumAll (const Container &c)
 全データの総和を求める [詳解]
 
template<class Res , class Container , class SUM_Op >
Res tadah_fussy::math_lib::SumAll (const Container &c, SUM_Op sumOp)
 全データの総和を求める [詳解]
 
template<class In >
bool tadah_fussy::math_lib::Normalize (In s, In e)
 データ列の s から e の直前までの範囲を正規化する [詳解]
 

詳解

数学関数定義用ヘッダ

著者
tadah_fussy
日付
2015/10/13 コメントを Doxygen 用に変更
2019/04/05 NewtonPolynomial のバグ修正
2019/04/19 DiffMethod_*** クラスの引数チェックエラー時をassert から例外に変更
2021/03/14 名前空間の変更、SquareRoot, Round, Gamma, Erf の削除など
2021/03/17 ニュートン・ラフソン法を optimization.h へ移動
2021/04/02 文字コードを UTF-8 に変更