From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c89924cb7c8c5a42 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-13 10:31:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: Michael Bode Newsgroups: comp.lang.ada Subject: Re: Who said strong typing is a benefit? Date: 13 Oct 2002 19:28:06 +0200 Organization: Organized? Me? Sender: mb@jupiter.solar.system Message-ID: References: <8db3d6c8.0210121718.25cf55e4@posting.google.com> <%%8q9.21249$rz6.2550@sccrnsc02> <3DA96E28.9090104@worldnet.att.net> <87lm52eaa9.fsf@deneb.enyo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.t-online.com 1034530166 00 12383 qJG8bfSbS2Auob 021013 17:29:26 X-Complaints-To: abuse@t-online.com X-Sender: 320025674319-0001@t-dialin.net X-message-flag: IMPORTANT MESSAGE -- PLEASE READ IMMEDIATELY!!! X-Accepted-File-Formats: ASCII, .rtf, .ps, .pdf - *NO* MS Office files User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:29749 Date: 2002-10-13T19:28:06+02:00 List-Id: Florian Weimer writes: > However, you get an error if you try to use a string as a matrix > index. But you can use a matrix as an index for a vector (and Matlab > programmers constantly do this!) So if I have a vector [ 1 ] [ 2 ] [ 3 ] [ 4 ] which would be element [ 0.3 1 ] [ pi sqrt(2)] of this vector?