Agentic Coding · Course · Numerical computing

NumPy and SciPy with Coding Agents: A Course in Correct and Efficient Numerical Python

Let agents write NumPy and SciPy code that calls the right routine, avoids needless loops and checks every result against reference values.

  • Workshops & trainings since 2014
  • jocapps GmbH · Freiburg, Germany
  • The team behind Mathe-VollLogo
Format
Course
Duration
6 weeks, one 3-hour session a week
Delivery
Live online · Hybrid
Group size
4–12 participants
Level
Intermediate
Language
German or English

Tools: Claude Code · Python · NumPy · SciPy · Jupyter · pytest

Coding agents know NumPy and SciPy well, but they often reach for the first solution that works: a Python loop instead of broadcasting, an explicit inverse instead of a solver, an integrator with default tolerances that do not suit your problem. This six-week course on NumPy and SciPy with coding agents shows how to phrase tasks so that the agent chooses suitable routines, and how to secure results with reference values, tolerances and tests. Each week you tackle a typical engineering or science problem and then transfer the approach to your own code.

Who the NumPy and SciPy course is for

Engineers, physicists, doctoral researchers and computing teams who already use Python for calculations and want to apply coding agents to numerical work in a targeted way.

What you'll walk away with

  • Use arrays, broadcasting and vectorisation so that agent-generated code stays readable and fast
  • Have the agent choose the right SciPy routine for linear systems, optimisation, integration and interpolation
  • Set tolerances and stopping criteria deliberately and evaluate convergence messages
  • Secure results with analytical solutions, reference values and pytest tests
  • Maintain an instruction file with numerical conventions for your team

Typical scenarios

  1. An engineering consultancy replaces a hand-written Newton iteration with scipy.optimize and uses test cases to confirm convergence and accuracy for every load case.
  2. A physics group smooths measurement data with scipy.interpolate and compares several methods on data whose underlying curve is known.
  3. In a doctoral project, an analysis with nested loops over large arrays is sped up, and tests show that the results have not changed.

Does this fit your team?

Pick a few dates that suit you. The request is non-binding, and the agenda is tailored in a short call beforehand.

Request dates

What the NumPy and SciPy course covers

  1. Week 1: Arrays and vectorisationBroadcasting, indexing and memory layout; you have loop code rewritten and check the result.
  2. Week 2: Linear algebraSolvers instead of inverses, decompositions, condition numbers and sparse matrices with scipy.sparse.
  3. Week 3: Optimisation and root findingscipy.optimize with starting values, bounds and constraints; reading convergence messages correctly.
  4. Week 4: Integration and interpolationQuadrature, splines and error estimates on examples with known solutions.
  5. Week 5: Tests and tolerancesRelative and absolute tolerances, numpy.testing, pytest and reference data as guard rails for the agent.
  6. Week 6: Your own codeYou rework a script from your daily work and present the approach and checks to the group.

Before the NumPy and SciPy course: prerequisites

  • Confident basic Python and some experience with NumPy
  • Linear algebra and calculus at the level of an engineering or science degree
  • An environment with Python, Jupyter and a coding agent such as Claude Code

Materials you keep

  • Notebooks for each week with exercises, solutions and tests
  • An instruction file with numerical conventions for coding agents
  • Your reworked script with its test suite

How it works

  1. Request with preferred datesTick the date proposals that suit you or name a period of your own.
  2. Short callWe talk about your goals, prior knowledge and the tools your team already uses.
  3. Agenda for your teamYou receive a plan tailored to your group, with exercises that match your subject and material.
  4. Course and materialsThe course runs online, on-site or hybrid, and you keep the materials afterwards.

Why train with us

  • jocapps GmbH has offered workshops and trainings since 2014. The topics have moved with the technology; today the focus is on agentic coding and prompt engineering.
  • Hands-on rather than slides: you practise on realistic examples from maths and STEM, or on your own tasks, code or prompts if you wish.
  • Online, on-site or hybrid, held in German or English.
  • jocapps GmbH is certified to ISO 27001 (information security) and ISO 9001 (quality management).

Questions about the NumPy and SciPy course

How does this differ from the scientific computing course?

This course concentrates on using the libraries safely: suitable routines, parameters and checks. The eight-week scientific computing course goes deeper into the numerical methods themselves and has you re-implement them to understand convergence and stability.

Which coding agent do we use?

We demonstrate with Claude Code; the approach carries over to Cursor or GitHub Copilot in agent mode. What matters are good task descriptions, an instruction file with conventions and tests the agent can use to check its own work.

Are the examples limited to one field?

No. The exercises come from mechanics, heat conduction, signal processing and measurement analysis. You are welcome to bring your own problems; in the final week everyone works on their own code, so your field then takes centre stage.

Is the course held online or on-site, and in which language?

Both are possible: live online, at your premises (in-house) or hybrid. The course is held in German or English; you choose when you send the request.

Can the content be tailored to our team?

Yes. The agenda, examples and emphasis are agreed in the call beforehand, based on your team's prior knowledge, subjects and tools. On request we work with your own exercises, data or code.