Here's another problem similar to my previous one about finding integers in a floating point array:
Find the irrational numbers in a floating-point array: Given the vector a: ]a =. % 1+i.20 1 0.5 0.333333 0.25 0.2 0.166667 0.142857 0.125 0.111111 0.1 0.0909091 0.0833333 0.0769231 0.0714286 0.0666667 0.0625 0.0588235 0.0555556 0.0526316 0.05 Create a function that will generate a boolean array indicating the locations of the irrational numbers in a. Skip ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
