What is the best way to add, say,  scalar x to component i of vector y?

One way is (x + i{y) i} y
But this seems clumsy/expensive.
Is there a cleaner/more efficient way?  
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to