Skip to content

Commit

Permalink
v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelson-numerical-software committed Apr 27, 2024
1 parent d2918d6 commit 01abc6f
Show file tree
Hide file tree
Showing 85 changed files with 1,161 additions and 153 deletions.
86 changes: 86 additions & 0 deletions help/en_US/1_The_power_of_Python.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns = "http://www.w3.org/1999/xhtml">
<!--
SAME AS NELSON SOFTWARE
-->

<head>
<meta name="generator" content=
"HTML Generated by Nelson"/>
<link rel="stylesheet" type="text/css" href="style.css" />
<meta http-equiv="Content-Type" content = "text/html; charset=utf-8" />
<title>The power of calling Python from Nelson</title>

</head>
<body>

<div class = "manualnavbar">
<table width = "100%"><tr>

<td width="40%" class="center">
<span class="top"><a href="chapter_python_engine.html">Python engine</a></span>
</td>

<td width = "30%" class = "next">
<span class = "next"><a href = "2_How_to_install_python_package.html">How to install python package &gt;&gt;</a></span>
</td>

</tr></table>
<hr />

<h1 class="refname">The power of calling Python from Nelson</h1>
<hr/>

<h3>Description</h3>
<hr/>

<p></p>

<p>Python is a dominant force in various fields, including machine learning, data science, and general programming.</p>
<p>Its extensive libraries, such as NumPy, SciPy and Pandas, provide an arsenal of tools for scientific computing and data manipulation.</p>
<p>Combining the strengths of Nelson’s digital capabilities with Python’s vast ecosystem opens up a world of possibilities.</p>
<p/>
<p>Why call Python from Nelson?</p>
<p>- Access to a rich ecosystem: Python has a vast collection of libraries for various tasks, from advanced statistical analysis to machine learning and beyond.</p>
<p>By calling Python from Nelson, users can access this rich ecosystem without sacrificing Nelson's core functionality.</p>
<p>- Seamless integration: Nelson's ability to call external functions allows for seamless integration with Python.</p>
<p>This means Nelson users can leverage Python capabilities within their familiar Nelson environment, improving productivity and workflow efficiency.</p>
<p/>
<p>- Specialized Libraries: Although Nelson offers a wide range of built-in functions, there are some niche tasks that Python libraries excel at.</p>
<p>For example, deep learning tasks can be handled efficiently using Python libraries such as TensorFlow or PyTorch, seamlessly integrated into Nelson workflows.</p>
<p/>
<p>- Rapid prototyping and development: Python is often preferred for rapid prototyping and development due to its concise syntax and extensive library support.</p>
<p>By leveraging Python from Nelson, users can leverage Python's rapid prototyping capabilities while maintaining Nelson's digital computing environment for production-level work.</p>
<p/>
<p>- Community Collaboration: By integrating Python into Nelson workflows, users can leverage the collective wisdom of both communities, fostering collaboration and innovation.</p>
<p/>
<p>In conclusion, calling Python from Nelson offers a powerful synergy that combines the strengths of both platforms.</p>
<p>Whether accessing specialized libraries, prototyping algorithms, or fostering collaboration, integrating Python into Nelson workflows can improve productivity and open up new possibilities for scientific computing and data analysis.</p>


<h3>See also</h3>
<hr/>

<p>
<a href = "pyrun.html" class = "link">pyrun</a>, <a href = "pyenv.html" class = "link">pyenv</a>.</p>

<div class = "manualnavbar">
<table width = "100%"><tr>

<td width="40%" class="center">
<span class="top"><a href="chapter_python_engine.html">Python engine</a></span>
</td>

<td width = "30%" class = "next">
<span class = "next"><a href = "2_How_to_install_python_package.html">How to install python package &gt;&gt;</a></span>
</td>

</tr></table>
<hr />

</body>

</html>

110 changes: 110 additions & 0 deletions help/en_US/2_How_to_install_python_package.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns = "http://www.w3.org/1999/xhtml">
<!--
SAME AS NELSON SOFTWARE
-->

<head>
<meta name="generator" content=
"HTML Generated by Nelson"/>
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" href="mono-blue.css" type="text/css" />
<script src = "highlight.pack.js" type = "text/javascript">
</script>
<script type = "text/javascript">hljs.highlightAll();</script>
</script>
<meta http-equiv="Content-Type" content = "text/html; charset=utf-8" />
<title>How to install python package</title>

</head>
<body>

<div class = "manualnavbar">
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="1_The_power_of_Python.html">&lt;&lt; The power of calling Python from Nelson</a></span>
</td>

<td width="40%" class="center">
<span class="top"><a href="chapter_python_engine.html">Python engine</a></span>
</td>

<td width = "30%" class = "next">
<span class = "next"><a href = "pyargs.html">pyargs &gt;&gt;</a></span>
</td>

</tr></table>
<hr />

<h1 class="refname">How to install python package</h1>
<hr/>

<h3>Description</h3>
<hr/>

<p></p>

<p>Nelson allows users to seamlessly integrate Python packages into their workflows.</p>
<p>Installing Python packages within Nelson expands its functionality and enables users to leverage a wide array of libraries for data analysis, machine learning, scientific computing, and more.</p>
<p>This help file provides a comprehensive guide on installing Python packages from within Nelson.</p>
<p/>
<p>Tips and Considerations:</p>
<p/>
<p>- Package Availability: Ensure that the Python package you intend to install is available on the Python Package Index (PyPI) or another compatible repository.</p>
<p>- Dependencies: Some Python packages may have dependencies on other packages. Make sure to install any required dependencies beforehand.</p>
<p>- Version Compatibility: Check the compatibility of the package with your current Python environment and Nelson version to avoid compatibility issues.</p>
<p>- Virtual Environments: Consider using virtual environments within Nelson to isolate package installations and manage dependencies for different projects.</p>
<p>- Permission Rights: When installing packages that require write access to the Python directory, ensure that you have the necessary permissions. On some systems, administrative privileges may be required to install packages globally. If you encounter permission errors, consider using a virtual environment or contacting your system administrator for assistance.</p>


<h3>Examples</h3>
<hr/>

<p>Get info from the pyenv environment:</p>
<pre>
<code class = "nelson">pe = pyenv
</code>
</pre>
<p>Construct the command to install the package:</p>
<pre>
<code class = "nelson">package_to_install = "scipy";
command_to_install = '"' + pe.Executable + '"' + " -m pip install " + package_to_install;
</code>
</pre>
<p>Construct the command to install the package:</p>
<pre>
<code class = "nelson">[status, msg] = system(command_to_install);
</code>
</pre>

<h3>See also</h3>
<hr/>

<p>
<a href = "system.html" class = "link">system</a>, <a href = "pyenv.html" class = "link">pyenv</a>.</p>

<div class = "manualnavbar">
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="1_The_power_of_Python.html">&lt;&lt; The power of calling Python from Nelson</a></span>
</td>

<td width="40%" class="center">
<span class="top"><a href="chapter_python_engine.html">Python engine</a></span>
</td>

<td width = "30%" class = "next">
<span class = "next"><a href = "pyargs.html">pyargs &gt;&gt;</a></span>
</td>

</tr></table>
<hr />

</body>

</html>

4 changes: 2 additions & 2 deletions help/en_US/chapter_JSON.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.3.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.4.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down Expand Up @@ -49,7 +49,7 @@ <h3>Functions to transmit data objects consisting of attribute–value pairs and
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.3.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.4.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down
4 changes: 2 additions & 2 deletions help/en_US/chapter_MEX.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.3.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.4.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down Expand Up @@ -61,7 +61,7 @@ <h3>MEX C API is allow to access Nelson, GNU Octave and commercial software func
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.3.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.4.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down
4 changes: 2 additions & 2 deletions help/en_US/chapter_assert_functions.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.3.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.4.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down Expand Up @@ -52,7 +52,7 @@ <h3>The aim of these functions is to provide tools to test some other functions.
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.3.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.4.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down
4 changes: 2 additions & 2 deletions help/en_US/chapter_audio.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.3.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.4.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down Expand Up @@ -70,7 +70,7 @@ <h3>Audio playback functions.</h3>
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.3.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.4.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down
4 changes: 2 additions & 2 deletions help/en_US/chapter_characters_encoding.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.3.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.4.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down Expand Up @@ -49,7 +49,7 @@ <h3>characters encoding functions</h3>
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.3.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.4.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down
4 changes: 2 additions & 2 deletions help/en_US/chapter_com_engine.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.3.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.4.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down Expand Up @@ -65,7 +65,7 @@ <h3>Component Object Model (COM) client interface: binary-interface standard for
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.3.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.4.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down
4 changes: 2 additions & 2 deletions help/en_US/chapter_console.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.3.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.4.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down Expand Up @@ -49,7 +49,7 @@ <h3>Console</h3>
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.3.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.4.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down
4 changes: 2 additions & 2 deletions help/en_US/chapter_constructors_functions.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.3.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.4.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down Expand Up @@ -55,7 +55,7 @@ <h3>Create scalars, vectors, or matrices</h3>
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.3.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.4.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down
4 changes: 2 additions & 2 deletions help/en_US/chapter_control_system.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.3.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.4.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down Expand Up @@ -107,7 +107,7 @@ <h3>Algorithms for designing, analyzing and tuning linear control systems.</h3>
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.3.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.4.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down
4 changes: 2 additions & 2 deletions help/en_US/chapter_core.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.3.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.4.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down Expand Up @@ -71,7 +71,7 @@ <h3>core functions</h3>
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.3.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.4.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down
4 changes: 2 additions & 2 deletions help/en_US/chapter_data_analysis.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.3.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.4.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down Expand Up @@ -57,7 +57,7 @@ <h3>data analysis</h3>
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.3.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.4.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down
Loading

0 comments on commit 01abc6f

Please sign in to comment.