There should be a way to index an array with an array of indexes or booleans (without a loop)

Hi, often I would love to index an array with an array of indexes or an array of booleans without having to loop it.  I.e: let the IndexArray function accept an array of indexes instead of discrete indexes.  The output should then be an array of indexes values.  
Another use case is to index with an array of booleans, so each TRUE element would index the input array and FALSE elements are not indexed.
arrResult = arrInput[ arrIndexes ];  or
arrResult = arrInput[ arrVal > 20 ];
Would this be useful? Possibly it could be implemented in future versions?

You forgot the link.

Similar Messages

  • IOS iCloud access is a real flaw. There should be a way to access my iCloud stuff on the web from my portables

    iOS iCloud access is a real flaw. There should be a way ic an use my mobile devices to access my iCloud content on the web. The push probably works if you are on a fits network, but ia m in a rural community and use my iPad as a laptop when I am working .Apple please fix this. It is unnecessary.
    I miss steve. He was such a fascist for good design

    What iCloud content are you trying to access that is not already on the iPad? Maybe I am misunderstanding your statement, but all of your iCloud content is already on the iPad. Why do you need to access your iCloud.com account on the web?

  • I was warned and I went straight to the site and they were gone.  I didnt was any time. Either way, there should be a way to either store or restore such items. Have you ever lost pictures that were so important to you that you couldnt sleep or eat for...

    I was warned and I went straight to the site and they were gone.  I didnt was any time. Either way, there should be a way to either store or restore such items. Have you ever lost pictures that were so important to you that you couldnt sleep or eat for some time. I have and it wasnt fun. I'm glad that you were able to get yours unlike some of us.

    I am still wondering why iTunes tries to confuse me every time I try to make changes in my preferences, telling me that I "don't have enough permissions", although I am the administrator.
    That's clearly a fault. Whether it's an iTunes problem or a Windows problem I can't say at this time. If you search the Using iTunes for Windows forum for "permissions", you should find threads that can help you sort out this problem.
    Then, changes to the format are not obvious, and I get no notice that I am burning music files as data.
    If you click on a playlist and look at the lower-right of the iTunes window, it says right there what format it will use to burn the playlist.

  • How come the volume of other programs are lowered while one FaceTime? I exchange media with friends and colleagues and I can barely hear anything. There should be a way we can manually control the volume of different programs

    How come the volume of other programs are lowered while one FaceTime? I exchange media with friends and colleagues and I can barely hear anything. There should be a way we can manually control the volume of different programs

    I own the movies and I want them to stay in my iTunes library basically forever.
    But in both cases the file name no longer shows in the movie list, so I don't know how to re-download it from the Cloud.
    iTunes prefs > Store > Show iTunes in the Cloud purchases.
    This will show all your iTunes purchases in your library with a cloud icon down arrow. Click the icon to redownload or click on Play to stream without downloading.
    Also see this , -> Download past purchases
    and techncially, you don't "own" the movie, You simply have a license to use it.
    Yet the first thing iTunes does when you hit the delete key is tell you that it will remove the movie forever from all devices and the library.
    Actually, no it does not tell you that.
    FYI: You should keep copies of all yoru iTnue spurahses as the labels/movie studios/copyright owners can pull their product at anytime and it won't be available to redownload.
    Suggestions here -> http://www.apple.com/feedback/

  • HT1386 Why is not possible to sync just content like musice ONLY, when I have no time to wait on whole proces of synchronization, there SHOULD be a way to sync JUST MUSIC and nothing else, I dont wanna wait 10minutes to have 3 songs I want to have in my i

    Dear Apple, why is not possible in the year 2014...sync to my iPhone just content I want to separety, without the whole sync procedur(backinup,syncing whole purchased things and stuff like that) When I want to have in my phone for example just 3 new songs ..I dont wanna wait 10minutes because of whole synchronization!!! I want add to my iPhone just these 3 songs thats it! Would be perfect, If you will make possible to sync just parts like MUSIC, Apps, Fotos, separetly and not alltime together...it s****!

    Ok.
    I have Windows OS and iTunes for PC, but the problem is not in my PC, but in synchronization. Your synchronization take minute or two, you have thunderbolt lightning cable??? If is it by you really so quick than ok but by me is it with sync really slow and I have still powerhouse notebook.
    I dont know how is it possible that your sync is so quick, but my iPhone starts transfering purchased aplications and all content to the PC, instead of downloading it PC itself without iPhone from iStore.  So there is what happend when I am conecting my iPhone.
    When it find my iPhone on the first try, it starts makeing backup, than transfering photos, aplication, some info from Safari and to the end also the MUSIC...this should be improved by Apple and it should be able to sync just MUSIC section and not whole system, when I changed just something in MUSIC section(like adding new CD..)
    So it does on PC whole resync Maybe is it somewhere in options, but where? I really want sync sometimes just MUSIC or just Apps and nothing else(like Photos, Bookmarks...)
    I am sorry for that angry tone, but I am really stresedby this 20minutes sync or 10 miutes...just becouse of adding 1-2 songs, this is by competition phones quicklier :/ !
    Message was edited by: Tenotitlan

  • There should be a way to easly switch between wifi and cellular data

    I think apple should put wifi icon and cellular data icon on the notification bar so we can change between them easily or even closing them both. So other smart phone like Samsung did it from a long time and its really easier way so Apple as the greatest company in the smart phones field should do something for this ..

    Read http://www.apple.com/ios/ios7/features/ and in particular the section on control centre.  Maybe that does it for you but you will have to wait until Sep/Oct for the public release

  • Firefox blocks the plugins that auto update as part of the automated selenium tests. This sucks!. There should be a way to override this!. FF stay CLASSY!!!

    Im a QA engineer - Using FF as my primary browser for automation.

    hello, this preference might help you: http://kb.mozillazine.org/Extensions.blocklist.enabled (the article is a bit outdated, it's now also used to flag outdated plugins and crashy graphic drivers)

  • After sharing a folder of images with someone, is there an easy/fast way to view the images with comments?

    I shared a folder of 100 images with a friend.  She commented on the images she would like edited.  Is there an easier way to view the photos she commented on, other than clicking on each image to view the activity? 
    Thank you!

    You will likely get better program help in a program forum (maybe Photoshop?)
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • How do I save the open tabs when I close Firefox 5? There should be a dialog box opens that asks if you want to do this. Without it I will stop using Firefox.

    This was available in earlier versions and was a great feature. Please restore it or give us a workaround.

    It seems that they decided to disable this feature by default for some reason. In your address bar, type in "about:config" and search for browser.showQuitWarning" in the filter, without quotes. Double-click this string to set it to "true." Firefox should then ask you if you would like to save and quit, or just quit, when exiting with multiple tabs opened.
    Another option is to go to the "General" tab in your preferences and and under "Startup" -> "When Firefox starts," select "Show my windows and tabs from last time" from the drop-down list. This way, your opened tabs are always saved, and always restored.
    Finally, you can achieve this functionality (and more) with the Session Manager add-on. Session Manager is nice because it allows you to save and restore multiple tab sessions. I also find that it's a more reliable fail-safe for saving your opened tabs when it comes to browser crashes.

  • HT2736 I'm gifting a friend an album for Christmas which is £12.99 as I have a £20 iTunes gift card. There should be change on the gift card? With that can I put the credit on my iTunes account or will I not get change

    Please can someone help me.
    I'm buying a £20 gift card tomorrow to send my friend an album which is £12.99.
    Will there be any credit left on the gift card to put on my iTunes account

    You cannot purchase a gift with a credit balance from an iTunes card. You'll need a valid credit card in your iTunes Store account to buy a gift.
    Regards.

  • Hi I wonted to now if there will be a way to do wifi calling with tmobile

    HHi I wonte

    Cellular carriers have nothing to do with anything you do over a wifi connection.  Wifi data does not pass through any of the cellular carriers equipment - it literally is invisible to them and has nothing to do with them.
    You can use VOIP applications like Skype to conduct VOIP calls over wifi on an iPhone or iPad.  Skype is an independent service, and when used over a wifi internet connection, has nothing at all to do with the carrier you have cell service with.

  • Is there a way to set wireless network priority on iphone? If not, there should be!

    Is there a way to set wireless network priority on iphone? If not, there should be! I have a wireless router with dual band signals, as well as an extender at the other end of my home... it would be nice if I could set a priority list so my phone knows to always connect to the 5GHz signal if available, rather than trying to connect to the 2.4GHz signal which is on the other side of the house...

    By default, the iPhone will prioritize Wi-Fi over cellular for data and when doing Wi-Fi, will latch on to the strongest signal it can associate (latch on) to. But all that is automatic, there's no evident control for manual adjustments. Other than deleting the Wi-Fi networks you don't like.

  • There should be a better way , while burning a playlist!

    I have the latest version of iTunes, and, yesterday, I downloaded an album, but, I ended up wasting three CDs before I got the answer from another music player. iTunes gave me no clue.
    The problem: a 13-track playlist took about 20 sec. to burn. I, even, remade the playlist. I was getting the list of songs when I put the CD in the CD player drive, and they played, but my external CD player indicated that I had a single song, and nothing played. Finally, I played the CD with Winamp, which confirmed that I had a single DATA file. I remember trying to burn some data a while back, so I changed my settings for burning, and they were set for Data. There was no further problem after changing to CD (burning DATA files, ironically, did not work).
    I can understand the problem, but I am still wondering why iTunes tries to confuse me every time I try to make changes in my preferences, telling me that I "don't have enough permissions", although I am the administrator.
    Then, changes to the format are not obvious, and I get no notice that I am burning music files as data. There are enough lame questioning about certain actions, but not for something so important. Why I am not asked:"are you sure that you want to burn the album as Data".
    I think that this is a bug, if I ever seen one, and the permissions thing makes it worse.
    Finally, why is not possible to leave notices like I did here. Typically, support is either here, or miserable if requested from Apple. There should be a way.
    I understand my problem,

    I am still wondering why iTunes tries to confuse me every time I try to make changes in my preferences, telling me that I "don't have enough permissions", although I am the administrator.
    That's clearly a fault. Whether it's an iTunes problem or a Windows problem I can't say at this time. If you search the Using iTunes for Windows forum for "permissions", you should find threads that can help you sort out this problem.
    Then, changes to the format are not obvious, and I get no notice that I am burning music files as data.
    If you click on a playlist and look at the lower-right of the iTunes window, it says right there what format it will use to burn the playlist.

  • HT1349 What if I Tunes can't find the album artwork for some of my CDs' within the stoThere should be a way for it tore ?  download the album artwork anyway wheb downloading a disc ,should'nt there? My friend does it with all his CDs'. I cant' ask him tho

    What if I Tunes can't find the album artwork for some of my CDs' within the i-tunes store? There should be a way for it to download the Album Artwork automatically anyway ,shoild'nt there?My friens do it with all there CDs' but they moved.They do it with CDs' that i-tunes do'nt even know exist .I just can't figure it out .Any advice or help out there ?

    "If the content doesn't exist in iTunes then you can'd load artwork."
    If not in the iTunes Store, iTunes uses the Graceland database for artwork and tag info.

  • Best way to update a table with disinct values

    Hi, i would really appreciate some advise:
    I need to reguarly perform a task where i update 1 table with all the new data that has been entered from another table. I cant perform a complete insert as this will create duplicate data every time it runs so the only way i can think of is using cursors as per the script below:
    CREATE OR REPLACE PROCEDURE update_new_mem IS
    tmpVar NUMBER;
    CURSOR c_mem IS
    SELECT member_name,member_id
    FROM gym.members;
    crec c_mem%ROWTYPE;
    BEGIN
    OPEN c_mem;
    LOOP
    FETCH c_mem INTO crec;
    EXIT WHEN c_mem%NOTFOUND;
    BEGIN
    UPDATE gym.lifts
    SET name = crec.member_name
    WHERE member_id = crec.member_id;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN NULL;
    END;
    IF SQL%NOTFOUND THEN
    BEGIN
    INSERT INTO gym.lifts
    (name,member_id)
    VALUES (crec.member_name,crec.member_id);
    END;
    END IF;
    END LOOP;
    CLOSE c_mem;
    END update_new_mem;
    This method works but is there an easier (faster) way to update another table with new data only?
    Many thanks

    >
    This method works but is there an easier (faster) way to update another table with new data only?
    >
    Almost anything would be better than that slow-by-slow loop processing.
    You don't need a procedure you should just use MERGE for that. See the examples in the MERGE section of the SQL Language doc
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_9016.htm
    MERGE INTO bonuses D
       USING (SELECT employee_id, salary, department_id FROM employees
       WHERE department_id = 80) S
       ON (D.employee_id = S.employee_id)
       WHEN MATCHED THEN UPDATE SET D.bonus = D.bonus + S.salary*.01
         DELETE WHERE (S.salary > 8000)
       WHEN NOT MATCHED THEN INSERT (D.employee_id, D.bonus)
         VALUES (S.employee_id, S.salary*.01)
         WHERE (S.salary <= 8000);

Maybe you are looking for

  • Tiger update 2008-004 screwed up iMac G5 screen resolution/desktop

    I have an iMac G5. Installed the Tiger 2008-004 update (and Safari update). When the iMac boots up the screen resolution/desktop gets enlarged just as the spotlight icon appears. As I move the mouse around the screen the desktop moves with it. The de

  • OBIEE 11g - Navigation from Hierarchy Column

    Hi Experts, I have created one Organization Hierarchy (Country --> Region --> State --> City) in the Logical Layer of the rpd and pull that hierarchy with the dimension in the Presentation Layer. In the new analysis I have created dashboard prompt wi

  • Cannot play audio CDs in totem

    I have totem-gstreamer and the gstreamer plugins for cdaudio, cdio and cdparanoia. I am in the audio and optical group. The permissions of my cd-rom are as follows: brw-r----- 1 root audio 22, 0 2007-08-06 22:35 /dev/hdc The audio CD appears as an ic

  • Why can I not open System Preferences?

    My System Preference is frozen and I cannot open it.

  • Connecting to j2me through http

    I have seen several examples of connecting j2me app to a server, but is it possible to connect to j2me app from server? If yes, can somebody point me to any references Thanks