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.0 required=5.0 tests=BAYES_00,FORGED_HOTMAIL_RCVD2, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,26e047a7a0709881 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.220.230 with SMTP id pz6mr1874856pbc.3.1342195917618; Fri, 13 Jul 2012 09:11:57 -0700 (PDT) Path: l9ni11632pbj.0!nntp.google.com!news1.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: gautier_niouzes@hotmail.com Newsgroups: comp.lang.ada Subject: Re: How to initialize a matrix of one column only? Date: Fri, 13 Jul 2012 09:11:57 -0700 (PDT) Organization: http://groups.google.com Message-ID: <9a4dbf72-eb5d-4b61-974c-07403e676fb5@googlegroups.com> References: NNTP-Posting-Host: 206.122.158.4 Mime-Version: 1.0 X-Trace: posting.google.com 1342195917 25544 127.0.0.1 (13 Jul 2012 16:11:57 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 13 Jul 2012 16:11:57 +0000 (UTC) Cc: nma@12000.org In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=206.122.158.4; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-07-13T09:11:57-07:00 List-Id: If you want to save all but one of these annoying "1 => ", you can make a line matrix and transpose, like you did in Matlab: B=[9 2 -2]' (of course more verbose): Transpose( (1=> (9.0, 2.0, -2.0)) ) _________________________ Gautier's Ada programming http://sf.net/users/gdemont/