Size: a a a

Язык программирования Julia / Julia programming language

2020 December 06

АО

Андрей Оськин... in Язык программирования Julia / Julia programming language
It depends. What's up?
источник

A

ABC in Язык программирования Julia / Julia programming language
Андрей Оськин
It depends. What's up?
I have a question about julia program. Im a beginner and dont know well about it. How I can write a function with long args and using for loop and if statements
источник

АО

Андрей Оськин... in Язык программирования Julia / Julia programming language
There is very well explained manual section: https://docs.julialang.org/en/v1/manual/control-flow/
источник

АО

Андрей Оськин... in Язык программирования Julia / Julia programming language
Also, you can find tutorials on the pinned message
источник

АО

Андрей Оськин... in Язык программирования Julia / Julia programming language
Переслано от Kirill Tsaregorodtse...
What should I read in order to / Что мне почитать, чтобы:


1. Understand basics of Julia / Понять основы языка Julia ?

1.1 ThinkJulia: https://benlauwens.github.io/ThinkJulia.jl/latest/book.html
1.2 QuantEcon parts: https://julia.quantecon.org/
1.3 Zero2Hero Julia: https://www.youtube.com/watch?v=Fi7Pf2NveH0
1.4 Julia wiki: https://en.wikibooks.org/wiki/Introducing_Julia
1.5 From zero to Julia: https://techytok.com/from-zero-to-julia/
1.6 Jane Herriman intro to Julia: https://www.youtube.com/watch?v=8h8rQyEpiZA
1.7  Introduction to Computational Thinking with Julia, with applications to
modelling the COVID-19 pandemic: https://github.com/mitmath/6S083


2. Understand Julia more deeply / Лучше понять некоторые тонкие аспекты Julia?

2.1 Chris Rachauckas tutorial: https://ucidatascienceinitiative.github.io/IntroToJulia/
2.2 Tom Kwong. Hands-on Design Patterns and Best Practices with Julia.
2.3 Malcolm Sherrington. Mastering Julia.
2.4 Julia workshop 2019 (Finland): https://github.com/crstnbr/JuliaOulu20
2.5 D.P.Sanders workshop: https://github.com/dpsanders/hands_on_julia
2.6 Metaprogramming workshop: https://youtu.be/SeqAQHKLNj4


3. Learn some applications to specific branches of mathematics / Узнать больше о
приложениях к некоторым областям математики?

3.1 Linear algebra / Линейная алгебра:

3.1.1 Introduction to applied linear algebra: vectors, matrices and least
squares http://vmls-book.stanford.edu/
3.1.2 Folkmar Bornemann: Numerical Linear Algebra. A Concise Introduction  with MATLAB and Julia
3.1.3 MODERN APPLICATIONS OF NUMERICAL LINEAR ALGEBRA METHODS: https://github.com/ivanslapnicar/GIAN-Applied-NLA-Course

3.2 Differential equations, dynamical systems / Дифуры и динамич. системы:

3.2.1 DynamicalSystems.jl tutorial: https://www.youtube.com/watch?v=13hqE_1a158
3.2.2 DifferentialEquations tutorial: https://www.youtube.com/watch?v=13hqE_1a158
3.2.2 Partial Differential Equations tutorial: https://www.youtube.com/watch?v=13hqE_1a158

3.3 Optimization / Оптимизация:

3.3.1 Kochenderfer, Wheeler : Algorithms for Optimization
3.3.2 Kwong: Julia Programming for Operations Research, 2nd Edition

3.4 Data science / Наука о данных:

3.4.1 Data science workshop: https://youtu.be/SLE0vz85Rqo
3.4.2 Queryverse workshop: https://www.youtube.com/watch?v=OFPNph-WxLM

3.5 Statistics, bayesian, etc / Статистика, байесовский подход и др.:

3.5.1 Statistics with julia: https://github.com/h-Klok/StatsWithJuliaBook
3.5.2 Turing language tutorials: https://turing.ml/dev/tutorials/
3.5.3 Statistical rethinking in Julia: https://github.com/StatisticalRethinkingJulia/StatisticalRethinking.jl

3.6 Calculus, symbolic computations, ... / Анализ, символьные вычисления:

3.6.1 Calculus with julia : http://calculuswithjulia.github.io/



4. Ecosystem, packages, etc / Экосистема, пакеты и иное:

4.1 How to write a package (Rackauckas) https://youtu.be/QVmU29rCjaA
4.2 How to install https://youtu.be/oyx8M1yoboY
источник

A

ABC in Язык программирования Julia / Julia programming language
Андрей Оськин
Also, you can find tutorials on the pinned message
Thanks for your help
источник

АО

Андрей Оськин... in Язык программирования Julia / Julia programming language
What have you already tried? Do you have any issues with any particular code? Snippet would be a good start, so we can provide more details help.
источник

A

ABC in Язык программирования Julia / Julia programming language
Андрей Оськин
What have you already tried? Do you have any issues with any particular code? Snippet would be a good start, so we can provide more details help.
yeah
Could you please send me message in private, I will explain to you🙏
источник

АО

Андрей Оськин... in Язык программирования Julia / Julia programming language
Oh, it is ok to discuss everything publicly, so everyone can participate and benefit from the discussion.
источник

A

ABC in Язык программирования Julia / Julia programming language
Андрей Оськин
Oh, it is ok to discuss everything publicly, so everyone can participate and benefit from the discussion.
I know but I want to show my project code, I cant share it in public
источник
2020 December 07

ЕП

Евгений Погребняк... in Язык программирования Julia / Julia programming language
ABC
I know but I want to show my project code, I cant share it in public
Sounds you want someone to work in your project and that is beyond our discussion here. Send in some minimal, focused questions here, as you would in Stack Overflow.
источник

A

ABC in Язык программирования Julia / Julia programming language
Евгений Погребняк
Sounds you want someone to work in your project and that is beyond our discussion here. Send in some minimal, focused questions here, as you would in Stack Overflow.
Okay. I will explain about my question. please guide me🙏🙏
I have nested long function with some args and inside this, I have some for loops and if statements.
Now, I get confused how could I write this program!
For example:

function fun1(a,b,c,d,e,f)
res = .....including some args
for  j1 = 1, j2 =1
for k1 = n1:n1-n2
for...
for...
for..
some for loops are here
if k2+m1+j1==0 & k1-j2+k1==0 &...
test = function including args as defined above
end
end
end
....

Is it correct the way of writing this program? Please help me. I really need to write this program. Thanks in advance for your help🙏🙏
источник

АО

Андрей Оськин... in Язык программирования Julia / Julia programming language
Looks legit. Though, when you are using & is better to wrap conditions in brackets like (k2 + m1 + j1 == 0) & (k1 - j2 + k1 == 0) & ...
Or use &&
k2 + m1 + j1 == 0 && k1 - j2 + k1 == 0 && ...
источник

A

ABC in Язык программирования Julia / Julia programming language
Андрей Оськин
Looks legit. Though, when you are using & is better to wrap conditions in brackets like (k2 + m1 + j1 == 0) & (k1 - j2 + k1 == 0) & ...
Or use &&
k2 + m1 + j1 == 0 && k1 - j2 + k1 == 0 && ...
so I can write these conditions with one "if"?
источник

АО

Андрей Оськин... in Язык программирования Julia / Julia programming language
Yes, of course.
источник

A

ABC in Язык программирования Julia / Julia programming language
thanks, How about "for loops"? Is it correct to write like this?
источник

АО

Андрей Оськин... in Язык программирования Julia / Julia programming language
Yes.
Only j1 = 1 makes little sense, cause it iterate over single value. Probably you want something like for j1 = 1:a
источник

A

ABC in Язык программирования Julia / Julia programming language
Андрей Оськин
Yes.
Only j1 = 1 makes little sense, cause it iterate over single value. Probably you want something like for j1 = 1:a
but the value is just 1
источник

АО

Андрей Оськин... in Язык программирования Julia / Julia programming language
Then why would you want to loop over it?
источник

АО

Андрей Оськин... in Язык программирования Julia / Julia programming language
Just write j1 = 1 without for
источник