warming up your workspace

Julia Foundations through High-Performance Computing

Build Julia functions from values, arithmetic, conditions, loops and arrays. Trace small examples, define empty-input behavior, and assemble a numerical report. These foundations prepare you to reason about both correctness and later performance choices.

First functions

  1. A function that returns a value
  2. A function with an input
  3. Two inputs, one formula
  4. Returning text
  5. A two-step calculation

Variables and types

  1. A value with a name
  2. Change a value
  3. Whole numbers and decimals
  4. Turn a decimal into a whole number
  5. A clearly named formula

Making choices

  1. Return a yes or no
  2. if and else return a value
  3. Pick the larger of two
  4. Three-way bands
  5. Combine conditions

Doing it again

  1. Sum 1 to n
  2. Count with a condition
  3. Accumulate by a step
  4. Stop early with return
  5. A loop inside a loop

Arrays and reuse

  1. Read one item from an array
  2. Find the largest in an array
  3. One function using another
  4. A multi-input formula
  5. Capstone: summarize and classify

Explore the full field