empty constructors for distributions, that defaults to 1 dimension
This commit is contained in:
parent
948903ac18
commit
0f73b7633a
2 changed files with 20 additions and 2 deletions
|
|
@ -44,7 +44,7 @@ public:
|
|||
typedef Eigen::Matrix< AtomType, Eigen::Dynamic, 1> Vector; // column vectors ( n lines, 1 column)
|
||||
typedef Eigen::Matrix< AtomType, Eigen::Dynamic, Eigen::Dynamic> Matrix;
|
||||
|
||||
edoNormalAdaptive( unsigned int dim ) :
|
||||
edoNormalAdaptive( unsigned int dim = 1 ) :
|
||||
_dim(dim),
|
||||
_mean( Vector::Zero(dim) ),
|
||||
_C( Matrix::Identity(dim,dim) ),
|
||||
|
|
@ -57,7 +57,7 @@ public:
|
|||
assert( _dim > 0);
|
||||
}
|
||||
|
||||
edoNormalAdaptive( unsigned int dim,
|
||||
edoNormalAdaptive( unsigned int dim,
|
||||
Vector mean,
|
||||
Matrix C,
|
||||
Matrix B,
|
||||
|
|
|
|||
Reference in a new issue