Do I need to dynamically allocate double arrays to pass them?
<p>Here's a simple compile error, I'm allocating double arrays like so:</p>

<pre><code>double mixmu[][1]  = {{1},{-1}};
double mixvar[][1] = {{1},{1}};
double coef[]      = {1,1};
</code></pre>

<p>can I not pass these as double** objects?</p>

<pre><code>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*)
</code></pre>
