AnsweredAssumed Answered

vrf 2D arrays access from a C dll

Question asked by VRFuser on Nov 21, 1999
Johnny.Nourry@taloa.unice.fr wrote:
>
> Hi!
>
> In a previous mail, I told you about my intention to make complicate
> mathematical operations on 2D arrays.
> In fact, I need to calculate eigenvalues and corresponding eigenvectors
> of a 4x4 matrix. It is included in a loop continuously changing the
> matrix elements. As math treatments in VEE language are likely to slow
> down the whole program, I have decided to implement them in C inside a
> dll. But, I need to read each element of the input 4x4 matrix from my C
> library. That's why I am trying, in a first step, to add two 2x2 matrix.
> The dll generates a GPF when called by HPVEE.

Are you certain that it would be too slow in VEE?  Do you have a
performance spec in mind?  I am reminded of a quote once posted to
another group:

   "Premature optimization is the root of all evil." - Knuth

   ...david

David Sherrill
Agilent Technologies
Healthcare Solutions Group
---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo.  To send messages to
this maillist, just email to "vrf@lvld.hp.com".  Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.hp.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.hp.com".
---------------------------------------------------------------------

Outcomes