C: New Applications
https://www.maplesoft.com/applications/category.aspx?cid=208
en-us2018 Maplesoft, A Division of Waterloo Maple Inc.Maplesoft Document SystemMon, 19 Feb 2018 11:39:47 GMTMon, 19 Feb 2018 11:39:47 GMTNew applications in the C categoryhttps://www.maplesoft.com/images/Application_center_hp.jpgC: New Applications
https://www.maplesoft.com/applications/category.aspx?cid=208
Maple, C, and Assembly Language - Performance Comparison
https://www.maplesoft.com/applications/view.aspx?SID=5837&ref=Feed
We show how to utilize Maple with an external calling mechanism to speed up function execution by coding them in C and assembly language. Techniques were demonstrated on Jonesâ€™ algorithm for finding the n-th prime number.<img src="https://www.maplesoft.com/view.aspx?si=5837/Maple_C_and_Assembly_Langua.gif" alt="Maple, C, and Assembly Language - Performance Comparison" style="max-width: 25%;" align="left"/>We show how to utilize Maple with an external calling mechanism to speed up function execution by coding them in C and assembly language. Techniques were demonstrated on Jonesâ€™ algorithm for finding the n-th prime number.https://www.maplesoft.com/applications/view.aspx?SID=5837&ref=FeedTue, 15 Apr 2008 00:00:00 ZMilorad Pop-TosicMilorad Pop-TosicWriting DLL in Assembly Language for External Calling in Maple
https://www.maplesoft.com/applications/view.aspx?SID=4491&ref=Feed
The worksheet shows how to write assembler code using x86 and FPU registers. An example of calculating large factorials mod m is discussed in detail. <img src="https://www.maplesoft.com/view.aspx?si=4491//applications/images/app_image_blank_lg.jpg" alt="Writing DLL in Assembly Language for External Calling in Maple" style="max-width: 25%;" align="left"/>The worksheet shows how to write assembler code using x86 and FPU registers. An example of calculating large factorials mod m is discussed in detail. https://www.maplesoft.com/applications/view.aspx?SID=4491&ref=FeedThu, 25 Mar 2004 13:52:24 ZDr. Aleksandrs MihailovsDr. Aleksandrs MihailovsOpenMaple - an API into Maple
https://www.maplesoft.com/applications/view.aspx?SID=4383&ref=Feed
You can make direct calls to Maple 9 libraries from external programs through an API (application programming interface) called OpenMaple. OpenMaple is a suite of functions that gives compiled programs access to Maple routines and data structures . (This is the reverse of ExternalCalling, which gives Maple programs access to external data structures.) Use of OpenMaple is most straightforward from C, but experienced programmers can also connect from Java and VisualBasic. <img src="https://www.maplesoft.com/view.aspx?si=4383//applications/images/app_image_blank_lg.jpg" alt="OpenMaple - an API into Maple" style="max-width: 25%;" align="left"/>You can make direct calls to Maple 9 libraries from external programs through an API (application programming interface) called OpenMaple. OpenMaple is a suite of functions that gives compiled programs access to Maple routines and data structures . (This is the reverse of ExternalCalling, which gives Maple programs access to external data structures.) Use of OpenMaple is most straightforward from C, but experienced programmers can also connect from Java and VisualBasic. https://www.maplesoft.com/applications/view.aspx?SID=4383&ref=FeedThu, 15 May 2003 13:57:50 ZMaplesoftMaplesoftWrapperless External Calling of C and Fortran Routines
https://www.maplesoft.com/applications/view.aspx?SID=4290&ref=Feed
This worksheet shows you how to invoke C and Fortran routines from the Maple environment, including from within your Maple procedures. Note that for Maple 7 and higher, no wrapper is needed because Maple will do all the data type translations automatically. As examples, we invoke an FFT routine from Fortran and a matrix multiplication routine from C inside Maple.<img src="https://www.maplesoft.com/view.aspx?si=4290//applications/images/app_image_blank_lg.jpg" alt="Wrapperless External Calling of C and Fortran Routines" style="max-width: 25%;" align="left"/>This worksheet shows you how to invoke C and Fortran routines from the Maple environment, including from within your Maple procedures. Note that for Maple 7 and higher, no wrapper is needed because Maple will do all the data type translations automatically. As examples, we invoke an FFT routine from Fortran and a matrix multiplication routine from C inside Maple.https://www.maplesoft.com/applications/view.aspx?SID=4290&ref=FeedWed, 07 Aug 2002 13:49:05 ZMaplesoftMaplesoftC code generation with intermediate complex expressions
https://www.maplesoft.com/applications/view.aspx?SID=4132&ref=Feed
Sometimes, a calculation requires intermediate expressions containing complex numbers, even though the final result is a real number. This can create some problems when generating Fortran or C routines. In this application, I demonstratate a workaround to this difficulty.<img src="https://www.maplesoft.com/view.aspx?si=4132//applications/images/app_image_blank_lg.jpg" alt="C code generation with intermediate complex expressions" style="max-width: 25%;" align="left"/>Sometimes, a calculation requires intermediate expressions containing complex numbers, even though the final result is a real number. This can create some problems when generating Fortran or C routines. In this application, I demonstratate a workaround to this difficulty.https://www.maplesoft.com/applications/view.aspx?SID=4132&ref=FeedWed, 19 Sep 2001 11:52:33 ZChristopher MorganChristopher MorganCalling a C function within Maple with a matrix algebra application
https://www.maplesoft.com/applications/view.aspx?SID=3882&ref=Feed
This brief example highlights Maple 6's capabilities to call a C function from within Maple 6. The example we use is to define a C procedure to multiply two matrices A and B, which stores the result into the matrix M.
<img src="https://www.maplesoft.com/view.aspx?si=3882//applications/images/app_image_blank_lg.jpg" alt="Calling a C function within Maple with a matrix algebra application" style="max-width: 25%;" align="left"/>This brief example highlights Maple 6's capabilities to call a C function from within Maple 6. The example we use is to define a C procedure to multiply two matrices A and B, which stores the result into the matrix M.
https://www.maplesoft.com/applications/view.aspx?SID=3882&ref=FeedWed, 20 Jun 2001 00:00:00 ZMaplesoftMaplesoftFortran and C generation
https://www.maplesoft.com/applications/view.aspx?SID=3883&ref=Feed
This worksheet demonstrates Maple's capability to generate Fortran & C code for use in other applications.<img src="https://www.maplesoft.com/view.aspx?si=3883//applications/images/app_image_blank_lg.jpg" alt="Fortran and C generation" style="max-width: 25%;" align="left"/>This worksheet demonstrates Maple's capability to generate Fortran & C code for use in other applications.https://www.maplesoft.com/applications/view.aspx?SID=3883&ref=FeedWed, 20 Jun 2001 00:00:00 ZMaplesoftMaplesoftEuropean option pricing
https://www.maplesoft.com/applications/view.aspx?SID=3799&ref=Feed
In the financial marketplace, a distinct competitive advantage can be gained by offering clients innovative products, for example, options on foreign currencies or two year futures on gold. The ability to offer hedging products that are simple to the client, but complex in its underlying structure (for example, a combination of exotic options with zero premium) require custom solutions. When the options are proprietary, a commercial off-the-shelf solution cannot be found due to the latter's inherent limitations and assumptions.
Without advanced modeling tools like Maple, traditional model development is slow, arduous and time-consuming. Pages and pages of equations need to be worked through from published papers, models developed and then debugged. Furthermore, the models need to be fully documented to satisfy the requirements of the auditors and risk managers.<img src="https://www.maplesoft.com/view.aspx?si=3799//applications/images/app_image_blank_lg.jpg" alt="European option pricing" style="max-width: 25%;" align="left"/>In the financial marketplace, a distinct competitive advantage can be gained by offering clients innovative products, for example, options on foreign currencies or two year futures on gold. The ability to offer hedging products that are simple to the client, but complex in its underlying structure (for example, a combination of exotic options with zero premium) require custom solutions. When the options are proprietary, a commercial off-the-shelf solution cannot be found due to the latter's inherent limitations and assumptions.
Without advanced modeling tools like Maple, traditional model development is slow, arduous and time-consuming. Pages and pages of equations need to be worked through from published papers, models developed and then debugged. Furthermore, the models need to be fully documented to satisfy the requirements of the auditors and risk managers.https://www.maplesoft.com/applications/view.aspx?SID=3799&ref=FeedTue, 19 Jun 2001 00:00:00 ZDavid PinturDavid Pintur