What's all this, then?
open-menu closeme
Home
Tags
About
  • Image dithering (2): error diffusion

    calendar Jul 8, 2023 · 4 min read · julia image-processing  ·
    Share on: twitter facebook linkedin copy

    A totally different approach to dithering is error diffusion. Here, the image is scanned pixel by pixel. Each pixel is thresholded t0 1 or 0 depending on whether the pixel value is greater than 0.5 or not, and the error - the difference between the pixel value and its threshold - is diffuse across neighbouring pixels. …


    Read More
  • Image dithering (1): half toning

    calendar Jul 7, 2023 · 2 min read · julia image-processing  ·
    Share on: twitter facebook linkedin copy

    Image dithering, also known as half-toning, is a method for reducing the number of colours in an image, while at the same time trying to retain as much of its “look and feel” as possible. Originally this was required for newspaper printing, where no shades of grey were possible, and only black and white could be …


    Read More
  • The Pegasus and related methods for solving equations

    calendar Jul 6, 2023 · 3 min read · mathematics julia computation  ·
    Share on: twitter facebook linkedin copy

    In the previous post, we saw that a small change to the method of false position provided much faster convergence, while retaining its bracketing. This was the Illinois method which is only one of a whole host of similar methods, some of which converge even faster. And as a reminder, here’s its definition, with a very …


    Read More
  • The Illinois method for solving equations

    calendar Jul 5, 2023 · 6 min read · mathematics julia computation  ·
    Share on: twitter facebook linkedin copy

    Such a long time since a last post! Well, that’s academic life for you … If you look at pretty much any modern textbook on numerical methods, of which there are many, you’ll find that the following methods will be given for the solution of a single non-linear equation \(f(x)=0\): direct iteration, also known as …


    Read More
  • Carroll’s “improved” Doublets: allowing permutations

    calendar Nov 7, 2022 · 3 min read · programming julia  ·
    Share on: twitter facebook linkedin copy

    Carroll originally invented his Doublets in 1877, they were published in “Vanity Fair” (the magazine, not the Thackeray novel) in 1879. Some years later, in an 1892 letter, Carroll added another rule: that permutations were allowed. This allows very neat chains such as: roses, noses, notes, steno, stent, scent Because …


    Read More
  • Super Doublets: more word ladders with Julia

    calendar Nov 5, 2022 · 2 min read · programming julia  ·
    Share on: twitter facebook linkedin copy

    Apparently there’s a version of Doublets (see previous post) which allows you to add or delete a letter each turn. Thus we can go from WHEAT to BREAD as WHEAT, HEAT, HEAD, READ, BREAD which is shorter than the ladder given in that previous post. However, we can easily adjust the material from that post to implement …


    Read More
  • Word ladders with Julia

    calendar Nov 3, 2022 · 12 min read · programming julia  ·
    Share on: twitter facebook linkedin copy

    Lewis Carroll’s game of Doublets Such a long time since my last post! Well, that’s the working life for you. Anyway, recently I was reading about Lewis Carroll - always one of my favourite people - and was reminded of his word game “Doublets” in which one word is turned into another by changing one letter at a time, …


    Read More
  • Wordle

    calendar Jan 24, 2022 · 4 min read · Julia  ·
    Share on: twitter facebook linkedin copy

    Wordle is a pleasant game, basically Mastermind with words. You choose an English word (although it can also be played in other languages), and then you’re told if your letters are incorrect, correct but in the wrong place, or correct and in the right place. These are shown by the colours grey, yellow, and green. The …


    Read More
  • Voting power (5): The Deegan-Packel and Holler power indices

    calendar Jan 14, 2021 · 5 min read · voting algebra python julia  ·
    Share on: twitter facebook linkedin copy

    We have explored the Banzhaf and Shapley-Shubik power indices, which both consider the ways in which any voter can be pivotal, or critical, or necessary, to a winning coalition. A more recent power index, which takes a different approach, was defined by Deegan and Packel in 1976, and considers only minimal winning …


    Read More
  • Voting power (4): Speeding up the computation

    calendar Jan 6, 2021 · 6 min read · voting algebra julia  ·
    Share on: twitter facebook linkedin copy

    Introduction and recapitulation Recall from previous posts that we have considered two power indices for computing the power of a voter in a weighted system; that is, the ability of a voter to influence the outcome of a vote. Such systems occur when the voting body is made up of a number of “blocs”: these may be …


    Read More
    • ««
    • «
    • 1
    • 2
    • »
    • »»

Recent Posts

  • Self-avoiding walks on infinite grids
  • Self-avoiding walks
  • Thirty years of the ATCM conference
  • The Aberth-Ehrlich method
  • The Weierstrass-Durand-Kerner method
  • Parabolas, numerically
  • Parameterization of the parabola
  • Four point parabolas
  • General expressions
  • Bicentric heptagons

Tags

MATHEMATICS 21 VOTING 15 JULIA 14 PYTHON 14 COMPUTATION 11 ALGEBRA 10 GIS 8 GEOMETRY 4 JSXGRAPH 4 PROGRAMMING 4 CAD 3 IMAGE-PROCESSING 3 LINEAR-PROGRAMMING 3 ANALYSIS 1 ASTRONOMY 1 CRYPTOGRAPHY 1 EDUCATION 1 GEOGEBRA 1 HASKELL 1 HISTORY 1 HUGO 1 HUMOUR 1 MUSIC 1 ORG 1 SCIENCE 1
What's all this, then?

Copyright  WHAT'S ALL THIS, THEN?. All Rights Reserved

to-top