Tags

algorithms

Euclid’s Algorithm

Euclid’s algorithm for finding the greatest common divisor of two integers and its partial proof.

Back to Top ↑

cogs501

Assignment in lambda expressions

We closed the post More state power with a function that collects n random numbers between start and end into a list. Here is the function again:

Back to Top ↑

cogsci

Language primer

Initial steps for cognitive science students interested in language.

Back to Top ↑

dictionary

Back to Top ↑

discrete

Euclid’s Algorithm

Euclid’s algorithm for finding the greatest common divisor of two integers and its partial proof.

Back to Top ↑

functional programming

Assignment in lambda expressions

We closed the post More state power with a function that collects n random numbers between start and end into a list. Here is the function again:

Back to Top ↑

funprog

The way of lambda

An introduction to lambda expressions in Python and their use in (functional) programming.

funcutils

python · module

A utility module for functional abstractions.

A sequence processor

python · module

A generic function to process sequences based on user-defined behavior.

Back to Top ↑

grammar

Back to Top ↑

i/o

Files

python · snippet

Working with files in Python.

Back to Top ↑

if expression

The way of lambda

An introduction to lambda expressions in Python and their use in (functional) programming.

Back to Top ↑

iteration

Euclid’s Algorithm

Euclid’s algorithm for finding the greatest common divisor of two integers and its partial proof.

Iteration by while

An introduction to iteration using while loops in Python, illustrated with the Collatz conjecture.

Iteration

A set of programming exercises to practice iteration.

Back to Top ↑

lambda

Assignment in lambda expressions

We closed the post More state power with a function that collects n random numbers between start and end into a list. Here is the function again:

The way of lambda

An introduction to lambda expressions in Python and their use in (functional) programming.

Back to Top ↑

language

Language primer

Initial steps for cognitive science students interested in language.

Tokenization

python · snippet

Various text tokenization techniques in Python.

Back to Top ↑

linear algebra

Back to Top ↑

lists

Back to Top ↑

number theory

Euclid’s Algorithm

Euclid’s algorithm for finding the greatest common divisor of two integers and its partial proof.

Back to Top ↑

numerical

Back to Top ↑

parsing

Back to Top ↑

plotting

Plotting

python · snippet

Plotting in Python.

Back to Top ↑

probability

Back to Top ↑

programming

Assignment in lambda expressions

We closed the post More state power with a function that collects n random numbers between start and end into a list. Here is the function again:

The way of lambda

An introduction to lambda expressions in Python and their use in (functional) programming.

Iteration

A set of programming exercises to practice iteration.

Back to Top ↑

proof

Euclid’s Algorithm

Euclid’s algorithm for finding the greatest common divisor of two integers and its partial proof.

Back to Top ↑

python

Iteration

A set of programming exercises to practice iteration.

Plotting

python · snippet

Plotting in Python.

Sorting

python · snippet

Sorting in Python.

Strings

python · snippet

String operations in Python.

Back to Top ↑

recursion

Back to Top ↑

scientific

Back to Top ↑

semantics

Back to Top ↑

sequence

Back to Top ↑

sets

Sets

Math and programming exercises based on basic set theory.

Back to Top ↑

sorting

Sorting

python · snippet

Sorting in Python.

Back to Top ↑

strings

Strings

python · snippet

String operations in Python.

Tokenization

python · snippet

Various text tokenization techniques in Python.

Back to Top ↑

tuples

Back to Top ↑

typing

Back to Top ↑