ss='kw'>n.obs</span> <span class='kw'>=</span> <span class='fl'>900</span>, <span class='kw'>dim</span> <span class='kw'>=</span> <span class='fl'>2</span>)
<span class='no'>f</span> <span class='kw'>=</span> <span class='kw'>smoof</span><span class='kw'>::</span><span class='fu'>makeAckleyFunction</span>(<span class='kw'>dimensions</span> <span class='kw'>=</span> <span class='fl'>2</span>)
<span class='no'>y</span> <span class='kw'>=</span> <span class='fu'>apply</span>(<span class='no'>X</span>, <span cl