Hi, does anyone know if Nim provides a handy function like 'ifelse' in R, that 
allows to apply conditional calculations on vectors? Didn't found that in the 
documentation. I would like to do something like

> a<-c(1,2,3,4) b<-c(7,2,7,4) c<-ifelse(a==b,a*b,a+b)

Thanks in advance!

Reply via email to