comp.lang.ada
 help / color / mirror / Atom feed
From: gautier_niouzes@hotmail.com
Cc: nma@12000.org
Subject: Re: How to initialize a matrix of one column only?
Date: Fri, 13 Jul 2012 09:11:57 -0700 (PDT)
Date: 2012-07-13T09:11:57-07:00	[thread overview]
Message-ID: <9a4dbf72-eb5d-4b61-974c-07403e676fb5@googlegroups.com> (raw)
In-Reply-To: <jtaq5o$fcr$1@speranza.aioe.org>

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/



  parent reply	other threads:[~2012-07-13 16:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-08  0:08 How to initialize a matrix of one column only? Nasser M. Abbasi
2012-07-08  0:20 ` Nasser M. Abbasi
2012-07-08  1:47 ` John B. Matthews
2012-07-08  2:09   ` Nasser M. Abbasi
2012-07-08 17:05     ` Brian Drummond
2012-07-13 15:19     ` Robert A Duff
2012-07-13 16:11     ` gautier_niouzes [this message]
2012-07-08  7:27 ` Simon Wright
2012-07-08  7:43 ` Stephen Leake
2012-07-08 22:56 ` Jerry
2012-07-09  9:35   ` Simon Wright
2012-07-12  4:13     ` Jerry
2012-07-12  8:50       ` Simon Wright
2012-07-13 23:15         ` Jerry
2012-07-14  9:46           ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox