Dear All,
I wonder if there is a reason why the function insert() (which allows to insert elements in a list by moving the entire content to the right of the intended position to make room for the new element) has never been documented. Someone told me of its existence a few years ago, and I've checked that it still works in 2024.0.0. May be it is intended to be deprecated or has a serious bug? It would also be useful to have a similar function which worked with vectors, matrices or even arrays, that allowed to insert an entire new row, for instance. Something like this: a = [1 2 3; 4 5 6; 7 8 9] a = 1. 2. 3. 4. 5. 6. 7. 8. 9. a(2, :) = insert([1 2 3] a = 1. 2. 3. 1. 2. 3. 4. 5. 6. 7. 8. 9. Regards, Federico Miyara -- Este correo electrónico ha sido analizado en busca de virus por el software antivirus de Avast. www.avast.com _______________________________________________ users mailing list - users@lists.scilab.org Click here to unsubscribe: <mailto:users-unsubscr...@lists.scilab.org> https://lists.scilab.org/mailman/listinfo/users This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged. If you are not one of the named recipients or have received this email in error, (i) you should not read, disclose, or copy it, (ii) please notify sender of your receipt by reply email and delete this email and all attachments, (iii) Dassault Systèmes does not accept or assume any liability or responsibility for any use of or reliance on this email. Please be informed that your personal data are processed according to our data privacy policy as described on our website. Should you have any questions related to personal data protection, please contact 3DS Data Protection Officer https://www.3ds.com/privacy-policy/contact/