Julia: Difference between revisions

From David's Wiki
Created page with "__FORCETOC__ ==Basic Usage== ===String Interpolation=== <syntaxhighlight lang="julia"> "Variable x is $x, y is $y, and x+y is $(x+y)" </syntaxhighlight>"
 
No edit summary
Line 1: Line 1:
__FORCETOC__
__FORCETOC__


==Basic Usage==
===Package Management===
[https://www.simonwenkel.com/2018/10/06/a-brief-introduction-to-package-management-with-julia.html Guide]
Initializing a new project
<syntaxhighlight lang="bash">
cd project_folder
julia
] activate ./
# Add your packages
</syntaxhighlight>


==Basic Usage==
Loading an existing project
<syntaxhighlight lang="bash">
cd project_folder
julia
] activate .
instantiate
\b
</syntaxhighlight>
===String Interpolation===
===String Interpolation===
<syntaxhighlight lang="julia">
<syntaxhighlight lang="julia">
"Variable x is $x, y is $y, and x+y is $(x+y)"
"Variable x is $x, y is $y, and x+y is $(x+y)"
</syntaxhighlight>
</syntaxhighlight>

Revision as of 20:18, 6 September 2019


Basic Usage

Package Management

Guide Initializing a new project

cd project_folder
julia
] activate ./
# Add your packages

Loading an existing project

cd project_folder
julia
] activate .
instantiate
\b

String Interpolation

"Variable x is $x, y is $y, and x+y is $(x+y)"