Singleton expansion with a custom function

24 views
Skip to first unread message

Daniel Korzekwa

unread,
Jun 23, 2015, 6:07:49 AM6/23/15
to scala-...@googlegroups.com
Can I do the 'Singleton expansion with a custom function' from http://www.mathworks.com/help/matlab/ref/bsxfun.html in breeze? 

Something like bsxfun in octave?

David Hall

unread,
Jun 24, 2015, 8:43:02 PM6/24/15
to scala-...@googlegroups.com
In general UFuncs with broadcasting are supposed to handle this, though they can't handle lambdas. I thought I had a method called zipMapValues to handle the general case. Not sure what happened to that.

On Tue, Jun 23, 2015 at 3:07 AM, Daniel Korzekwa <daniel....@gmail.com> wrote:
Can I do the 'Singleton expansion with a custom function' from http://www.mathworks.com/help/matlab/ref/bsxfun.html in breeze? 

Something like bsxfun in octave?

--
You received this message because you are subscribed to the Google Groups "Scala Breeze" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-breeze...@googlegroups.com.
To post to this group, send email to scala-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-breeze/68349fa7-059e-49a7-ae0d-839165c86c29%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages