You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As @tansey pointed out, we could combine these interfaces and make them more familiar to numpy users by making pgs (i.e. the vector to be populated with samples upon output) an optional input. If it is None, we allocate an array and return it, otherwise we populate it. This would not break the current functionality, and would be more consistent with numpy functions that support an out argument.
We could do the same for the pgdrawvpar function.
The text was updated successfully, but these errors were encountered:
As @tansey pointed out, we could combine these interfaces and make them more familiar to numpy users by making
pgs
(i.e. the vector to be populated with samples upon output) an optional input. If it isNone
, we allocate an array and return it, otherwise we populate it. This would not break the current functionality, and would be more consistent with numpy functions that support anout
argument.We could do the same for the
pgdrawvpar
function.The text was updated successfully, but these errors were encountered: