This repository has been archived by the owner on Oct 26, 2022. It is now read-only.
Cannot retrieve contributors at this time
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
JuliaByExample/src/using_packages.jlGo to file
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|# You might not want to run this file completely, as the Pkg-commands can take a|
|# long time to complete.|
|# list all available packages:|
|# install one package (e.g. [Calculus](https://github.com/johnmyleswhite/Calculus.jl)) and all its dependencies:|
|# to list all installed packages|
|# to update all packages to their newest version|
|# to use a package:|
|# will import all functions of that package into the current namespace, so that|
|# it is possible to call|
|derivative(x -> sin(x), 1.0)|
|# without specifing the package it is included in.|
|# will enable you to specify which package the function is called from|
|Calculus.derivative(x -> cos(x), 1.0)|
|# Using `import` is especially useful if there are conflicts in function/type-names|
|# between packages.|