Jump to content

David Heffernan

Members
  • Content Count

    3710
  • Joined

  • Last visited

  • Days Won

    185

Posts posted by David Heffernan


  1. FWIW, I have always installed Delphi, even as far back as D6 under program files. Once Vista and UAC arrived, I recall having to add a couple of permissive ACLs onto a couple of files, but it was pretty trivial. And had the benefit of keeping my machine nice and tidy.

     

    I understand that people have different preferences, but I just wanted to point out that installing under program files is not as terrifying as it can be made out.


  2. 1 hour ago, Mike Torrettinni said:

    This seems to be the winner, so far.

    It doesn't need any extra setting up (Funcs arrays, temp variables, ...). I can add as many as I need, and I don't need to change any other expressions (Result := A or B ...).

    The simpler Result := Eval(...) or Result = A or B... looked really good in simple examples, but as soon as you have any comments needed or additional conditions, the winner becomes a better choice.

     

    Thank you, I really appreciate all suggestions!

    You still need comments for future readers. 

    • Like 2

  3. Why don't you use the native Win32 TEdit but just enable CTRL+BACKSPACE?

     

    Call  

     

        SHAutoComplete(WindowHandle, SHACF_AUTOAPPEND_FORCE_OFF or SHACF_AUTOSUGGEST_FORCE_OFF);

     

    in an overridden CreateWnd. Use an interposer, or some other mechanism to get this code to run.

    • Like 1

  4. 16 hours ago, at3s said:

    I'm interesting, if it's possible to call a Fortran function within the Delphi code like libopenblas.dll does?

    When you said that I thought you meant that you were not able to call libopenblas from Delphi.  But then you later said that you were doing that.  So I still don't understand that statement.

     

    Notwithstanding, I am sure you will be able to work out which library is best suited to your needs.

     


  5. 1 minute ago, at3s said:

    I just trying to check if it's possible to find eigenvalues\eigenvectors using Eigen library so fast as libopenblas.dll does.

    I'd be astounded if that was not the case. Eigen has a very good reputation. Certainly for basic matrix arithmetic performance is excellent. And I'd be astonished if it could not match openblas for eigensolves.

     

    1 minute ago, at3s said:

    I am as well.

    Then I don't know why you asked if it was possible to do something that you were already doing.


  6. 14 minutes ago, at3s said:

    I geuss the difference is because LAPACK is based on Fortran math.

    That isn't it. 

     

    14 minutes ago, at3s said:

    And probably one of reason is Fortran is faster in calculations.

    Not true. C++ compilers can perform just as well. 

     

    15 minutes ago, at3s said:

    The other one could be difference in algorythm as well.

    Possible. But I doubt it. I bet you are asking different questions, and not comparing like with like. 

     

    16 minutes ago, at3s said:

    I'm interesting, if it's possible to call a Fortran function within the Delphi code like libopenblas.dll does?

    Quite simple to call libopenblas from delphi. I do just that. 


  7. 1 hour ago, Mike Torrettinni said:

    Aha, but if each type requires different attribute values, each type has to have it's own attribute. That's how I understand your example and documentation, but have no actual experience with attributes, yet.

    Unless all of your enumerated types have the same names, it seems like you'd have to provide names for each type. 

×