[Kst] if then else in equations?
Barth Netterfield
netterfield at astro.utoronto.ca
Thu Sep 20 14:57:23 UTC 2012
([V1]>180)*([(V1)]-360) + ([V1]<=180)*[(V1)]
On Thu, Sep 20, 2012 at 10:45 AM, Brisset, Nicolas <
Nicolas.Brisset at eurocopter.com> wrote:
> Hi,
>
>
>
> one stupid little question: is there a possibility to use an if / then /
> else construct in equations?
>
> I’d like to do something like if ([Vector1 (V1)] > 180) then [Vector1
> (V1)]-360 else [Vector1 (V1)]
>
>
>
> Thanks for any hints. If there’s no way to do that, we should consider
> adding it to the parser. No idea how difficult that would be though.
>
>
>
> Nicolas
>
>
> *EUROCOPTER DEUTSCHLAND GmbH* *
> Sitz der Gesellschaft / Registered Office: Donauwörth* *
> Registergericht / Registration Court: Amtsgericht Augsburg HRB 16508* *
> Vorsitzender des Aufsichtsrates / Chairman of the Supervisory Board: Dr. Lutz Bertling
> * *Geschäftsführung / Board of Management:* *Dr. Wolfgang Schoder, Vorsitzender / CEO; Friedrich-Wilhelm Hormel; Ralf
> Barnscheidt* CONFIDENTIALITY NOTICE
> This communication and the information it contains is intended for the addressee ( s ) named above and for no other persons or organizations.
> It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication
> or any part of it is prohibited and may be unlawful.
> If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication.
> Thank you very much.
> It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses
> or other material which might be introduced with this message.
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
>
>
--
C. Barth Netterfield
University of Toronto
416-845-0946
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kst/attachments/20120920/d7867e97/attachment.html>
More information about the Kst
mailing list