Mosè Giordano
  • Blog
    Home Tags
  • About Me
  • Source

Julia's Adventures in Wonderland

Returned value of assignment in Julia

Posted on December 2, 2017

Today I realized by chance that in the Julia programming language, like in C/C++, assignment returns the assigned value. [Read More]
Tags: julia

Computing the hexadecimal value of pi

Posted on November 21, 2017

The Bailey–Borwein–Plouffe formula is one of the several algorithms to compute \(\pi\). Here it is: [Read More]
Tags: julia maths pi

Drawing the analemma with Julia

Posted on November 12, 2017

You may know that if you check the position of the Sun every day in the same place at the same time (accounting for daylight saving time if necessary), you’ll find that it slightly moves. This is a combination of the tilt of the Earth’s axis and the Earth’s orbital... [Read More]
Tags: julia juliaastro astrolib astronomy plotting

Rock–paper–scissors game in less than 10 lines of code

Posted on November 3, 2017

Rock–paper–scissors is a popular hand game. However, some nerds may prefer playing this game on their computer rather than actually shaking their hands. [Read More]
Tags: julia game multiple dispatch
  • ← Newer Posts
  • RSS
  • GitHub
  • Twitter
  • LinkedIn
  • StackOverflow

Mosè Giordano  •  2025

Theme by beautiful-jekyll