Fixed point 64.61 math library for Cairo / Starknet

A fixed point 64.61 math library for Cairo & Starknet Signed 64.61 Fixed Point Numbers A signed 64.61-bit fixed point number is a fraction in which the numerator is a signed 125-bit integer and the denominator is 2^61. Since the denominator stays the same there is no need to store it (as in a floating point value). 64.61 is utilized as the 125 bit representation allows for overflow up to 2^125 * 2^125 (250 bits) during calculation taking advantage of […]

Read more

Simple mathematical operations on image, point and surface layers

This package provides a GUI interfrace for simple mathematical operations on image, point and surface layers. addition subtraction multiplication division logical and, or, xor z-projection (mean and sum) Operations can be peformed on a single layer or between Image layers (functionaly pending for Surface and Point layers), for example adding one layer to another. When performing operations on two images of different sizes, the result will be the size of the smallest of the two images. Installation You can install […]

Read more

A method for organizing and evaluating complicated decisions, using Maths and Psychology

INTRODUCTION The Analytic Hierarchy Process (AHP) is a method for organizing and evaluating complicated decisions, using Maths and Psychology. In 1970s, Thomas L. Saaty developed AHP which is a theory of measurement. AHP has been widely used, particularly in large-scale situations with several criteria and when the evaluation of alternatives is mostly subjective. It has quantifying capability which distinguishes the AHP from other decision making techniques. AHP is one of the extensively used Multi Criteria Decision Making (MCDM) tool for […]

Read more

A project helps to detect the mathematical formula from the given picture and the same formula is extracted and converted into the latex code

The goal of this project is to create a learning based system that takes an image of a math formula and returns corresponding LaTeX code. Requirements Model PyTorch (tested on v1.9) Python 3.7+ & dependencies (requirements.txt) pip install -r requirements.txt Dataset In order to render the math in many different fonts we use XeLaTeX, generate a PDF and finally convert it to a PNG. For the last step we need to use some third party tools: Using the model Download/Clone […]

Read more

Rapid fuzzy string matching in Python using various string metrics

RapidFuzz RapidFuzz is a fast string matching library for Python and C++, which is using the string similarity calculations from FuzzyWuzzy. However there are two aspects that set RapidFuzz apart from FuzzyWuzzy: It is MIT licensed so it can be used whichever License you might want to choose for your project, while you’re forced to adopt the GPL license when using FuzzyWuzzy It is mostly written in C++ and on top of this comes with a lot of Algorithmic improvements […]

Read more