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
+1 to this proposition.
Also, I'm not sure it is a good practice to pollute Ruby objects with such a short names.
I'd prefer having Array#to_daru_vector by default, and to_dv shortcut defined in something like daru/shortcuts (not required by default).
Array or ranges can be initialized to
Daru::Vector
withdv
method likeI think
to_dv
is better because its intuitive and easy to remember similar toto_i
,to_a
, etc.The text was updated successfully, but these errors were encountered: