Home » Archived » M2M (model-to-model transformation) » [QVTo] Support for advanced mathematical operations on numerical data types, e.g. exp() and log()
[QVTo] Support for advanced mathematical operations on numerical data types, e.g. exp() and log() [message #788267] |
Wed, 01 February 2012 15:31 |
Henning Groenda Messages: 11 Registered: July 2009 |
Junior Member |
|
|
Hi,
i need the operation Math.log() for determining a value in an output model. Although not included in OCL, ATL does provide mathematical operation as cos(), sin(), tan(), acos(), asin(), toDegrees(), toRadians(), exp(), log(), sqrt() according to http://wiki.eclipse.org/ATL/User_Guide_-_The_ATL_Language. Is there anything similar in QVTo or a workaround to calculate the logarithm of a Real number?
I appreciate your help,
Henning
|
|
|
Re: [QVTo] Support for advanced mathematical operations on numerical data types, e.g. exp() and log( [message #788337 is a reply to message #788267] |
Wed, 01 February 2012 17:16 |
Ed Willink Messages: 7680 Registered: July 2009 |
Senior Member |
|
|
HI
FYI; the OCL specification is moving to a modeled library that then
becomes easily extensible. It also supports third party domain libraries.
This is available with the new Eclips OCL in the Examples plugins, but
is not yet accessible from QVTo.
Regards
Ed Willink
On 01/02/2012 15:31, Missing name Mising name wrote:
> Hi,
>
> i need the operation Math.log() for determining a value in an output
> model. Although not included in OCL, ATL does provide mathematical
> operation as cos(), sin(), tan(), acos(), asin(), toDegrees(),
> toRadians(), exp(), log(), sqrt() according to
> http://wiki.eclipse.org/ATL/User_Guide_-_The_ATL_Language. Is there
> anything similar in QVTo or a workaround to calculate the logarithm of
> a Real number?
>
> I appreciate your help,
> Henning
|
|
| | | |
Goto Forum:
Current Time: Tue Dec 10 15:04:53 GMT 2024
Powered by FUDForum. Page generated in 0.06226 seconds
|