Re: What am I doing wrong? Passing pointers to subroutines.
- From: mrkkbb_007@xxxxxxxxxxx
- Date: 5 Oct 2005 09:30:53 -0700
Ok, I think I have a solution to replacing the transpose, that should
work regardless of the shape of the matrix.
pA = reshape(pA, shape(pA), order = [2,1])
Just quick question; would a transpose be more effiecient (both mem.
and cpu) than a reshape for a square matrix? If so, I could just use
the reshape for rectangular blocks and transpose for the square blocks.
Thanks again,
.
- References:
- What am I doing wrong? Passing pointers to subroutines.
- From: mrkkbb_007
- Re: What am I doing wrong? Passing pointers to subroutines.
- From: James Van Buskirk
- Re: What am I doing wrong? Passing pointers to subroutines.
- From: mrkkbb_007
- What am I doing wrong? Passing pointers to subroutines.
- Prev by Date: Re: restated question about externals
- Next by Date: Re: My Homework: how to calculate natural log, e?
- Previous by thread: Re: What am I doing wrong? Passing pointers to subroutines.
- Next by thread: Re: Treasury Direct is now a contender!
- Index(es):
Relevant Pages
|