这是一个简单的编译错误,我正在分配双数组,如下所示:
double mixmu[][1] = {{1},{-1}};
double mixvar[][1] = {{1},{1}};
double coef[] = {1,1};
我不能将这些作为双**对象传递吗?
error: no matching function for call to ‘MixtureModel::MixtureModel(int, int, double [2], double [2][1], double [2][1], Distribution*)’
./problems/MixtureModel.h:25: note: candidates are: MixtureModel::MixtureModel(int, int, double*, double**, double**, Distribution*)