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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,32d9aa9d79729b31 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.228.227 with SMTP id sl3mr12624024pbc.5.1340616832816; Mon, 25 Jun 2012 02:33:52 -0700 (PDT) Path: l9ni17702pbj.0!nntp.google.com!news2.google.com!news.glorb.com!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Any easy/build-in construct to extract submatrices from larger matrix? Date: Mon, 25 Jun 2012 10:33:52 +0100 Organization: A noiseless patient Spider Message-ID: References: <1xzo3825h9yt7$.45flobqwlel6.dlg@40tude.net> Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="8+40FpbEiDDBsGAHdqyG+Q"; logging-data="17159"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ME44vjGNa0rQG0MpxdsyNshRP0YNYCcI=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (darwin) Cancel-Lock: sha1:nxJWvNFtPVUw6qSEW8ri9feSfvM= sha1:ybgGd1JuTYTF+/reyYAv02PBGW8= Content-Type: text/plain Date: 2012-06-25T10:33:52+01:00 List-Id: "J-P. Rosen" writes: > function Exclude (A : Complex_Matrix; I, J : Integer) > return Complex_Matrix is > AI, AJ : Integer := A'First (1); > begin I think AJ should be initialised to A'First (2).