git svn rebase だと指定のブランチのみだが、こちらは関連付けたリポジトリ全体の変更を取得する。
$ git svn fetch
#include <cmath> | |
// クラスタ C1 = C1a∪C1b のとき、クラスタC1とC2の距離をC2とC1a, C1bの距離情報から求めることができる。 | |
// 計算時間はクラスタのメンバ数に依存しない。 | |
// 参考 http://ibisforest.org/index.php?Lance-Williams%20updating%20formula | |
//! Lance-Williams Updating Formula | |
/*! | |
@param[in] dist_1a2 distance between C1a and C2 | |
@param[in] dist_1b2 distance between C1b and C2 |
#include <cmath> | |
// ---------------------------------------------------------------------------- | |
// Kullback-Leiblier Divergence (KLD-divergence, asymmetric) | |
// ---------------------------------------------------------------------------- | |
float calcKld( | |
const int nDim, | |
const float* mean1, | |
const float* var1, | |
const float* mean2, |