▲ | jph00 8 days ago | |||||||
"Rank" means the number of dimensions of an array. So "rank polymorphism" means being able to write expressions that work correctly regardless of how many dims the arrays involved have. For example, in numpy you can write a function that handles both lists and matrices automatically, by taking advantage of broadcasting. (The J language takes this idea a lot further -- numpy is a fairly minimal implementation of the idea.) | ||||||||
▲ | hinkley 8 days ago | parent [-] | |||||||
That just sounds like someone needing to feel smarter than 'multidimensional arrays' sounds. Which if you ask the average unskilled laborer, already sounds pretty damned fancy. | ||||||||
|