Re: TRANSPOSE and MATMUL interaction
- From: Jan Vorbrüggen <jvorbrueggen@xxxxxxxxxxxxxxx>
- Date: Fri, 31 Aug 2007 16:01:41 +0200
Not that it has relevance to the code _as_written_, but it would have if, for instance, fjac was ALLOCATABLE:
SUBROUTINE JacobianFwdDiff(m,n,fjac,ldfjac)
IMPLICIT NONE
INTEGER, INTENT(IN) :: m,n,ldfjac
REAL(8), DIMENSION(ldfjac,n), INTENT(OUT) :: fjac
The code below makes it clear that INTENT is at least IN, so this should be either IN only or INOUT.
M1=TRANSPOSE(fjac(1:m,1:n)); M2=fjac(1:m,1:n)
Jan
.
- Follow-Ups:
- Re: TRANSPOSE and MATMUL interaction
- From: Peter
- Re: TRANSPOSE and MATMUL interaction
- References:
- TRANSPOSE and MATMUL interaction
- From: Peter
- TRANSPOSE and MATMUL interaction
- Prev by Date: Re: TRANSPOSE and MATMUL interaction
- Next by Date: Re: collision detection in fortran
- Previous by thread: Re: TRANSPOSE and MATMUL interaction
- Next by thread: Re: TRANSPOSE and MATMUL interaction
- Index(es):