Return alphas() and betas() by const reference

Reference issue

#2436 (closed)

What does this implement/fix?

Returns a reference instead of copying vectors, to match the docs and reduce allocations.

Merge request reports

Loading