Author |
Message |
Topic: Returning an array |
DrTip
Replies: 6
Views: 7233
|
Forum: General Posted: Mon Apr 25, 2011 6:12 pm Subject: |
OK
thing is do you really want to have a function return an array. I mean really really really.
you can do it using but you have to have an interface defined. I use these so rarely that i can ... |
Topic: calculate width of any curve |
DrTip
Replies: 5
Views: 8175
|
Forum: General Posted: Thu Apr 07, 2011 9:46 am Subject: |
Hi John
I will second that, I forgot to suggest it last night
and while we are at it the description of the curves sound like may be the skewness statistics as well
I would still ... |
Topic: calculate width of any curve |
DrTip
Replies: 5
Views: 8175
|
Forum: General Posted: Wed Apr 06, 2011 7:38 pm Subject: |
OK
I am starting to get the picture
I think may be a picture of example data would help me a bit, but...
The more exotic the nature of the curve, the more problematic noise is going to be. ... |
Topic: calculate width of any curve |
DrTip
Replies: 5
Views: 8175
|
Forum: General Posted: Sat Apr 02, 2011 8:59 pm Subject: |
Jens
I think you need to rethink your question a little!
what do you mean curve?
there are lots of them! an uncountable infinity. Some its is sensible to say a have a width eg a gausian, ... |
Topic: Visual 2010 and personal edition |
DrTip
Replies: 2
Views: 4721
|
Forum: General Posted: Mon Mar 14, 2011 11:24 pm Subject: Visual 2010 and personal edition |
Hi there
I am trying to integrate ftn95 version 6.0 with the Visual Studio Shell 2010. I managed to do this no problem with 2008. But when I install the personal edition versions 2005 and 2010 a ... |
Topic: Release win32 |
DrTip
Replies: 12
Views: 12896
|
Forum: General Posted: Tue Feb 22, 2011 9:17 pm Subject: |
actually the loop should have been
do n,1,-1
because for this sort of sum an accurate answer requires adding the smallest numbers first, and therefore the loop has to go backwards
but your ar ... |
Topic: Release win32 |
DrTip
Replies: 12
Views: 12896
|
Forum: General Posted: Sun Feb 13, 2011 10:41 am Subject: |
yes your right if your program is quick optimisation will not be noticable.
but try doing things with many loops may be something like
n = 1000000
tot = 0.0
do i = n,1
tot = tot + 1.0/ ... |
Topic: Release win32 |
DrTip
Replies: 12
Views: 12896
|
Forum: General Posted: Fri Feb 11, 2011 10:48 pm Subject: |
Paul means what he says
the release version is optimised to run quicker, try it on on a simple piece of code.
code running in debug mode has lots of checks to make sure things are all ticke ... |
Topic: Create Fortran Dll to be used in .NET under Window7 X64 |
DrTip
Replies: 7
Views: 10384
|
Forum: General Posted: Wed Feb 02, 2011 6:01 pm Subject: |
are there any methods visible from VB? Do they appear in intellisensi?
in vb express or what ever?
you should have three methods two default .net methods (from memory Equals is one) and the n ... |
Topic: Create Fortran Dll to be used in .NET under Window7 X64 |
DrTip
Replies: 7
Views: 10384
|
Forum: General Posted: Wed Feb 02, 2011 1:36 pm Subject: |
have you commented out the
Public Class Unmnaged
Declare Auto Sub RESOLVE Lib "D:\RESOLUTION.dll" (<[In](), Out()> ByRef kont As Integer, <& ... |
Topic: Create Fortran Dll to be used in .NET under Window7 X64 |
DrTip
Replies: 7
Views: 10384
|
Forum: General Posted: Tue Feb 01, 2011 10:14 pm Subject: |
The InteropServices is only required if you are interfacing with native code via com somewhere, so you probably don't need it (though you might...)
When making FTN95.net dlls you need to do one of ... |
Topic: Create Fortran Dll to be used in .NET under Window7 X64 |
DrTip
Replies: 7
Views: 10384
|
Forum: General Posted: Mon Jan 31, 2011 7:33 pm Subject: |
Jeanot
You need to target the .NET framework when compiling the ftn95. You are targeting native win32 code.
if using plato this in the drop down window that says DEBUG.
on command line
s ... |
Topic: Power/speed of Fortran on modern PC's |
DrTip
Replies: 4
Views: 6357
|
Forum: General Posted: Fri Jan 28, 2011 3:14 pm Subject: |
I used Fast Fourier Transforms all the time when I was doing my Phd work analysing time series and spatial structures. I am likely to start doing so again when I start my new job next week.
but I ... |
Topic: Salford FTN95 run time performance |
DrTip
Replies: 33
Views: 29263
|
Forum: General Posted: Thu Jan 20, 2011 11:40 am Subject: |
This does raise some questions in my mind about your problem.
I entirely agree with the 8 hours thing. I would actually go further, in my experience of large scale transport models models taking l ... |
Topic: SQL writing to Excel |
DrTip
Replies: 23
Views: 20083
|
Forum: General Posted: Sun Jan 16, 2011 3:01 pm Subject: |
BEEFHEART
I am struggling on the include files one would need. To do my suggestion, I have done what I suggested in C# lots of example on the net how to do this. but I have to get upto speed wit ... |
|