Loading…
Including GNU Octave in a numerical programming C++ rapid development software context for research models
The paper is included in the strategy to use API facilities of CAD/CAE commercial applications and dedicated programming languages, such as GNU Octave, in order to create a set of instruments useful for the rapid development of the hybrid models. In this way, an exploratory investigation is presente...
Saved in:
Published in: | IOP conference series. Materials Science and Engineering 2019-08, Vol.591 (1), p.12061 |
---|---|
Main Authors: | , |
Format: | Article |
Language: | English |
Subjects: | |
Online Access: | Get full text |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
cited_by | |
---|---|
cites | |
container_end_page | |
container_issue | 1 |
container_start_page | 12061 |
container_title | IOP conference series. Materials Science and Engineering |
container_volume | 591 |
creator | Oanta, E Pescaru, A |
description | The paper is included in the strategy to use API facilities of CAD/CAE commercial applications and dedicated programming languages, such as GNU Octave, in order to create a set of instruments useful for the rapid development of the hybrid models. In this way, an exploratory investigation is presented regarding the most appropriate methods to use GNU Octave scientific programming facilities in C++ applications. Four software demonstrators are included in the paper, which may be used as an inspirational environment. Each program presents relevant aspects regarding the C++ API. The first demonstrator presents two methods to start the Octave interpreter, depending on its current version, and the use of the 'feval()' function for 'gcd()', 'acos()' and 'inv()'. The type of the input and output values of 'feval()' are 'octave_value_list', being necessary appropriate conversion functions. The second program is dedicated to the built-in-functions, being presented three case studies. The third demonstrator presents the conversion of the values from a user defined C++ type to the Octave types, i.e. the conversion of a two dimensional array into a 'Matrix' Octave type,which is tested using the 'norm()' function.The fourth program uses 'source_file(OCT_script_file)', which executes the commands in the OCT_script_file\ The content of this file is written from a string and it is either a set of Octave commands, or the name of another Octave script file which is executed. We have solutions to minimise the access time spent due to the frequently write operation on the disk. We plan to continue our tests in order to find the best methods to use the GNU plotting facilities to develop graphical interpreters. |
doi_str_mv | 10.1088/1757-899X/591/1/012061 |
format | article |
fullrecord | <record><control><sourceid>proquest_iop_j</sourceid><recordid>TN_cdi_proquest_journals_2561183805</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2561183805</sourcerecordid><originalsourceid>FETCH-LOGICAL-c3221-fd7dc7f00acf540f280a8c60b53d771e1ced7f135ccf04827b8c3497f95de6d43</originalsourceid><addsrcrecordid>eNqFkF1LwzAUhoMoOKd_QQLeCKM2aZsmvZQx52C6Cx14F7J8zI62qUk79d_bUpkIglfnwHnecw4PAJcY3WDEWIgpoQHLspeQZDjEIcIRSvERGB0Gx4ee4VNw5v0OoZQmCRqB3aKSRavyagvnj2u4ko3Ya5hXUMCqLbXLpShg7ezWibLsqelkAp2ocwWV3uvC1qWuGuitad6F01DaqtEfDTTWQae9Fk6-wtIqXfhzcGJE4fXFdx2D9d3seXofLFfzxfR2Gcg4inBgFFWSGoSENCRBJmJIMJmiDYkVpVhjqRU1OCZSGpSwiG6YjJOMmowonaokHoOrYW_39lurfcN3tnVVd5JHJMWYxQyRjkoHSjrrvdOG1y4vhfvkGPHeK--V8V4f77xyzAevXTAagrmtfzb_G7r-I_TwNPuF8VqZ-AuxDYhd</addsrcrecordid><sourcetype>Aggregation Database</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype><pqid>2561183805</pqid></control><display><type>article</type><title>Including GNU Octave in a numerical programming C++ rapid development software context for research models</title><source>Publicly Available Content Database</source><source>Free Full-Text Journals in Chemistry</source><creator>Oanta, E ; Pescaru, A</creator><creatorcontrib>Oanta, E ; Pescaru, A</creatorcontrib><description>The paper is included in the strategy to use API facilities of CAD/CAE commercial applications and dedicated programming languages, such as GNU Octave, in order to create a set of instruments useful for the rapid development of the hybrid models. In this way, an exploratory investigation is presented regarding the most appropriate methods to use GNU Octave scientific programming facilities in C++ applications. Four software demonstrators are included in the paper, which may be used as an inspirational environment. Each program presents relevant aspects regarding the C++ API. The first demonstrator presents two methods to start the Octave interpreter, depending on its current version, and the use of the 'feval()' function for 'gcd()', 'acos()' and 'inv()'. The type of the input and output values of 'feval()' are 'octave_value_list', being necessary appropriate conversion functions. The second program is dedicated to the built-in-functions, being presented three case studies. The third demonstrator presents the conversion of the values from a user defined C++ type to the Octave types, i.e. the conversion of a two dimensional array into a 'Matrix' Octave type,which is tested using the 'norm()' function.The fourth program uses 'source_file(OCT_script_file)', which executes the commands in the OCT_script_file\ The content of this file is written from a string and it is either a set of Octave commands, or the name of another Octave script file which is executed. We have solutions to minimise the access time spent due to the frequently write operation on the disk. We plan to continue our tests in order to find the best methods to use the GNU plotting facilities to develop graphical interpreters.</description><identifier>ISSN: 1757-8981</identifier><identifier>EISSN: 1757-899X</identifier><identifier>DOI: 10.1088/1757-899X/591/1/012061</identifier><language>eng</language><publisher>Bristol: IOP Publishing</publisher><subject>Access time ; Applications programs ; C plus plus ; C++ (programming language) ; Conversion ; Interpreters ; R&D ; Research & development ; Software</subject><ispartof>IOP conference series. Materials Science and Engineering, 2019-08, Vol.591 (1), p.12061</ispartof><rights>Published under licence by IOP Publishing Ltd</rights><rights>2019. This work is published under http://creativecommons.org/licenses/by/3.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.</rights><lds50>peer_reviewed</lds50><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><linktohtml>$$Uhttps://www.proquest.com/docview/2561183805?pq-origsite=primo$$EHTML$$P50$$Gproquest$$Hfree_for_read</linktohtml><link.rule.ids>314,780,784,25753,27924,27925,37012,44590</link.rule.ids></links><search><creatorcontrib>Oanta, E</creatorcontrib><creatorcontrib>Pescaru, A</creatorcontrib><title>Including GNU Octave in a numerical programming C++ rapid development software context for research models</title><title>IOP conference series. Materials Science and Engineering</title><addtitle>IOP Conf. Ser.: Mater. Sci. Eng</addtitle><description>The paper is included in the strategy to use API facilities of CAD/CAE commercial applications and dedicated programming languages, such as GNU Octave, in order to create a set of instruments useful for the rapid development of the hybrid models. In this way, an exploratory investigation is presented regarding the most appropriate methods to use GNU Octave scientific programming facilities in C++ applications. Four software demonstrators are included in the paper, which may be used as an inspirational environment. Each program presents relevant aspects regarding the C++ API. The first demonstrator presents two methods to start the Octave interpreter, depending on its current version, and the use of the 'feval()' function for 'gcd()', 'acos()' and 'inv()'. The type of the input and output values of 'feval()' are 'octave_value_list', being necessary appropriate conversion functions. The second program is dedicated to the built-in-functions, being presented three case studies. The third demonstrator presents the conversion of the values from a user defined C++ type to the Octave types, i.e. the conversion of a two dimensional array into a 'Matrix' Octave type,which is tested using the 'norm()' function.The fourth program uses 'source_file(OCT_script_file)', which executes the commands in the OCT_script_file\ The content of this file is written from a string and it is either a set of Octave commands, or the name of another Octave script file which is executed. We have solutions to minimise the access time spent due to the frequently write operation on the disk. We plan to continue our tests in order to find the best methods to use the GNU plotting facilities to develop graphical interpreters.</description><subject>Access time</subject><subject>Applications programs</subject><subject>C plus plus</subject><subject>C++ (programming language)</subject><subject>Conversion</subject><subject>Interpreters</subject><subject>R&D</subject><subject>Research & development</subject><subject>Software</subject><issn>1757-8981</issn><issn>1757-899X</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2019</creationdate><recordtype>article</recordtype><sourceid>PIMPY</sourceid><recordid>eNqFkF1LwzAUhoMoOKd_QQLeCKM2aZsmvZQx52C6Cx14F7J8zI62qUk79d_bUpkIglfnwHnecw4PAJcY3WDEWIgpoQHLspeQZDjEIcIRSvERGB0Gx4ee4VNw5v0OoZQmCRqB3aKSRavyagvnj2u4ko3Ya5hXUMCqLbXLpShg7ezWibLsqelkAp2ocwWV3uvC1qWuGuitad6F01DaqtEfDTTWQae9Fk6-wtIqXfhzcGJE4fXFdx2D9d3seXofLFfzxfR2Gcg4inBgFFWSGoSENCRBJmJIMJmiDYkVpVhjqRU1OCZSGpSwiG6YjJOMmowonaokHoOrYW_39lurfcN3tnVVd5JHJMWYxQyRjkoHSjrrvdOG1y4vhfvkGPHeK--V8V4f77xyzAevXTAagrmtfzb_G7r-I_TwNPuF8VqZ-AuxDYhd</recordid><startdate>20190801</startdate><enddate>20190801</enddate><creator>Oanta, E</creator><creator>Pescaru, A</creator><general>IOP Publishing</general><scope>O3W</scope><scope>TSCCA</scope><scope>AAYXX</scope><scope>CITATION</scope><scope>8FE</scope><scope>8FG</scope><scope>ABJCF</scope><scope>ABUWG</scope><scope>AFKRA</scope><scope>AZQEC</scope><scope>BENPR</scope><scope>BGLVJ</scope><scope>CCPQU</scope><scope>D1I</scope><scope>DWQXO</scope><scope>HCIFZ</scope><scope>KB.</scope><scope>L6V</scope><scope>M7S</scope><scope>PDBOC</scope><scope>PIMPY</scope><scope>PQEST</scope><scope>PQQKQ</scope><scope>PQUKI</scope><scope>PRINS</scope><scope>PTHSS</scope></search><sort><creationdate>20190801</creationdate><title>Including GNU Octave in a numerical programming C++ rapid development software context for research models</title><author>Oanta, E ; Pescaru, A</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-c3221-fd7dc7f00acf540f280a8c60b53d771e1ced7f135ccf04827b8c3497f95de6d43</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2019</creationdate><topic>Access time</topic><topic>Applications programs</topic><topic>C plus plus</topic><topic>C++ (programming language)</topic><topic>Conversion</topic><topic>Interpreters</topic><topic>R&D</topic><topic>Research & development</topic><topic>Software</topic><toplevel>peer_reviewed</toplevel><toplevel>online_resources</toplevel><creatorcontrib>Oanta, E</creatorcontrib><creatorcontrib>Pescaru, A</creatorcontrib><collection>IOP Publishing</collection><collection>IOPscience (Open Access)</collection><collection>CrossRef</collection><collection>ProQuest SciTech Collection</collection><collection>ProQuest Technology Collection</collection><collection>Materials Science & Engineering Collection</collection><collection>ProQuest Central (Alumni)</collection><collection>ProQuest Central</collection><collection>ProQuest Central Essentials</collection><collection>AUTh Library subscriptions: ProQuest Central</collection><collection>Technology Collection</collection><collection>ProQuest One Community College</collection><collection>ProQuest Materials Science Collection</collection><collection>ProQuest Central</collection><collection>SciTech Premium Collection</collection><collection>Materials Science Database</collection><collection>ProQuest Engineering Collection</collection><collection>Engineering Database</collection><collection>Materials science collection</collection><collection>Publicly Available Content Database</collection><collection>ProQuest One Academic Eastern Edition (DO NOT USE)</collection><collection>ProQuest One Academic</collection><collection>ProQuest One Academic UKI Edition</collection><collection>ProQuest Central China</collection><collection>Engineering collection</collection><jtitle>IOP conference series. Materials Science and Engineering</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Oanta, E</au><au>Pescaru, A</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Including GNU Octave in a numerical programming C++ rapid development software context for research models</atitle><jtitle>IOP conference series. Materials Science and Engineering</jtitle><addtitle>IOP Conf. Ser.: Mater. Sci. Eng</addtitle><date>2019-08-01</date><risdate>2019</risdate><volume>591</volume><issue>1</issue><spage>12061</spage><pages>12061-</pages><issn>1757-8981</issn><eissn>1757-899X</eissn><abstract>The paper is included in the strategy to use API facilities of CAD/CAE commercial applications and dedicated programming languages, such as GNU Octave, in order to create a set of instruments useful for the rapid development of the hybrid models. In this way, an exploratory investigation is presented regarding the most appropriate methods to use GNU Octave scientific programming facilities in C++ applications. Four software demonstrators are included in the paper, which may be used as an inspirational environment. Each program presents relevant aspects regarding the C++ API. The first demonstrator presents two methods to start the Octave interpreter, depending on its current version, and the use of the 'feval()' function for 'gcd()', 'acos()' and 'inv()'. The type of the input and output values of 'feval()' are 'octave_value_list', being necessary appropriate conversion functions. The second program is dedicated to the built-in-functions, being presented three case studies. The third demonstrator presents the conversion of the values from a user defined C++ type to the Octave types, i.e. the conversion of a two dimensional array into a 'Matrix' Octave type,which is tested using the 'norm()' function.The fourth program uses 'source_file(OCT_script_file)', which executes the commands in the OCT_script_file\ The content of this file is written from a string and it is either a set of Octave commands, or the name of another Octave script file which is executed. We have solutions to minimise the access time spent due to the frequently write operation on the disk. We plan to continue our tests in order to find the best methods to use the GNU plotting facilities to develop graphical interpreters.</abstract><cop>Bristol</cop><pub>IOP Publishing</pub><doi>10.1088/1757-899X/591/1/012061</doi><tpages>19</tpages><oa>free_for_read</oa></addata></record> |
fulltext | fulltext |
identifier | ISSN: 1757-8981 |
ispartof | IOP conference series. Materials Science and Engineering, 2019-08, Vol.591 (1), p.12061 |
issn | 1757-8981 1757-899X |
language | eng |
recordid | cdi_proquest_journals_2561183805 |
source | Publicly Available Content Database; Free Full-Text Journals in Chemistry |
subjects | Access time Applications programs C plus plus C++ (programming language) Conversion Interpreters R&D Research & development Software |
title | Including GNU Octave in a numerical programming C++ rapid development software context for research models |
url | http://sfxeu10.hosted.exlibrisgroup.com/loughborough?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2024-12-27T09%3A23%3A04IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest_iop_j&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Including%20GNU%20Octave%20in%20a%20numerical%20programming%20C++%20rapid%20development%20software%20context%20for%20research%20models&rft.jtitle=IOP%20conference%20series.%20Materials%20Science%20and%20Engineering&rft.au=Oanta,%20E&rft.date=2019-08-01&rft.volume=591&rft.issue=1&rft.spage=12061&rft.pages=12061-&rft.issn=1757-8981&rft.eissn=1757-899X&rft_id=info:doi/10.1088/1757-899X/591/1/012061&rft_dat=%3Cproquest_iop_j%3E2561183805%3C/proquest_iop_j%3E%3Cgrp_id%3Ecdi_FETCH-LOGICAL-c3221-fd7dc7f00acf540f280a8c60b53d771e1ced7f135ccf04827b8c3497f95de6d43%3C/grp_id%3E%3Coa%3E%3C/oa%3E%3Curl%3E%3C/url%3E&rft_id=info:oai/&rft_pqid=2561183805&rft_id=info:pmid/&rfr_iscdi=true |