Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Complex numbers
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00332797
Message ID:
00332826
Vues:
13
>Is there an easy way to do complex math in Visual FoxPro ?

What do you need to do? There's not really much to complex numbers, just two parts, so you need two variables to hold the parts Real & Imag. Usually all you want to do is find the magnitude of these (there's not a lot else they're good for), which is just squaring each part and adding them, then taking the SQRT, if memory serves me.

They usually come from roots of polynomials...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform