Re: ? 1={}, is there really any other interpretation?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Messed up one example.  Getting the sequence indexes should be:

s = {1,10,3,4,30}
indexes_of_elements_greater_than_5 = ilist(length(s)) * (s > 5)
indexes_of_elements_greater_than_5 =
filter(indexes_of_elements_greater_than_5,indexes_of_elements_greater_than_5)


Need the last line to filter out the zeros...

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu