Article View: comp.lang.fortran
Article #6466Re: Implied do-loop statement, for the next FORTRAN?
From: scott h lamson
Date: Tue, 06 Mar 1990 14:15
Date: Tue, 06 Mar 1990 14:15
24 lines
1455 bytes
1455 bytes
In article <640@idacrd.UUCP> desj@idacrd.UUCP (David desJardins) writes:
> From: desj@idacrd.UUCP (David desJardins)
> From article <14259@lambda.UUCP>, by jlg@lambda.UUCP (Jim Giles):
> > Why not just overload
> > the multiply operator on MATRIX type variables and say:
> >
> > C = A*B
> >
> > and declare A, B, and C as type MATRIX?
> Because this is already meaningful and does pointwise
> multiplication.
A * B is meaningful for ARRAYS as pointwise multiplication, but is not
defined for the new derived type MATRIX unless you define it
yourself or in a MODULE you are accessing. Of course, you do have to
choose either pointwise multiplication or matrix multiplication.
--
Scott| ARPA: lamson@crd.ge.com
Lamson| UUCP: uunet!crd.ge.com!lamson
(518)387-5795| UUCP: uunet!sierra.crd.ge.com!lamson
Technical Details
Message-ID:
<LAMSON.90Mar6091534@sierra.crd.ge.com>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!jarvis.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!rpi!crdgw1!lamsonReferences:
<14259@lambda.UUCP> <640@idacrd.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!jarvis.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!rpi!crdgw1!lamson From: lamson@sierra.crd.ge.com (scott h lamson) Newsgroups: comp.lang.fortran Subject: Re: Implied do-loop statement, for the next FORTRAN? Message-ID: <LAMSON.90Mar6091534@sierra.crd.ge.com> Date: 6 Mar 90 14:15:34 GMT References: <14259@lambda.UUCP> <640@idacrd.UUCP> Sender: news@crdgw1.crd.ge.com Organization: GE Corporate Research & Development Lines: 24 In-reply-to: desj@idacrd.UUCP's message of 6 Mar 90 00:05:51 GMT