From: Simon Wright <simon@pushface.org>
Subject: Re: how to copy complete column (or row) of matrix to another?
Date: Wed, 06 Sep 2017 08:17:26 +0100
Date: 2017-09-06T08:17:26+01:00 [thread overview]
Message-ID: <ly1snkgut5.fsf@pushface.org> (raw)
In-Reply-To: oonat2$crh$1@gioia.aioe.org
"Nasser M. Abbasi" <nma@12000.org> writes:
> Too bad, because Ada is good language in terms of its
> strong typing and other features, which I think will
> make numerical software more robust, but it has little
> support for many common operations build-in for working
> with matrices and vectors as Fortran and Matlab already
> has.
For example,
function Column
(V : Complex_Matrix; C : Integer) return Complex_Vector
is
begin
return Result : Complex_Vector (V'Range (1)) do
for J in V'Range (1) loop
Result (J) := V (J, C);
end loop;
end return;
end Column;
next prev parent reply other threads:[~2017-09-06 7:17 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-05 8:41 how to copy complete column (or row) of matrix to another? Nasser M. Abbasi
2017-09-05 22:45 ` Randy Brukardt
2017-09-05 23:10 ` Nasser M. Abbasi
2017-09-06 5:34 ` faryumg
2018-03-21 13:58 ` Marius Amado-Alves
2018-03-30 21:25 ` gerdien.de.kruyf
2017-09-06 7:17 ` Simon Wright [this message]
2017-09-06 7:31 ` Dmitry A. Kazakov
2017-09-09 22:33 ` darek
2017-09-09 22:48 ` darek
2017-09-12 12:57 ` Lucretia
2017-10-02 23:08 ` Randy Brukardt
2017-09-12 21:22 ` Johan Söderlind Åström
2017-09-17 12:01 ` Robert Eachus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox