blMatrix3d — A simple 3×3 matrix in c++

This entry is part 6 of 6 in the series blMathAPI -- BarbatoLabs Math API

Introduction As I have mentioned in most of my articles, over the years, I have developed many mathematical tools that I have used time over time. In this article, I present a simple 3×3 matrix class, which I use in many applications, from machine vision to physics simulation, to 3d graphics.…

Continue reading

blRectangle — A simple Rectangle class in c++ with useful functions

This entry is part 5 of 6 in the series blMathAPI -- BarbatoLabs Math API

Introduction This is part of my on going effort to publish all the mathematical tools that I have developed and used over the years. In this article, I present a simple rectangle class, which is very useful when dealing with images or graphics in general. As with the rest of…

Continue reading

c++ functions — Working with numbers

This entry is part 4 of 6 in the series blMathAPI -- BarbatoLabs Math API

Introduction I’m collecting all the common numeric function I have used over the years in a small file, keeping track of their dependencies. In this post, I will present to you all the functions I use, what they’re used for, and their dependencies.  I will be updating this post as…

Continue reading

blQuaternion — A simple quaternion in c++

This entry is part 3 of 6 in the series blMathAPI -- BarbatoLabs Math API

Introduction This is part of my on going effort to publish all the mathematical tools that I have developed and used over the years.  In this article, I present a simple quaternion class, which I use in many applications, from machine vision to physics simulation, to 3d graphics. As with the…

Continue reading

blVector3d — A simple 3d vector in c++

This entry is part 2 of 6 in the series blMathAPI -- BarbatoLabs Math API

Introduction As I have mentioned in my blPoint2d article, over the years, I have developed many mathematical tools that I have used time over time. In this article, I present a simple three-dimensional vector class, which I use in many applications, from machine vision to physics simulation, to 3d graphics.…

Continue reading

blPoint2d — A simple 2d point structure in c++

This entry is part 1 of 6 in the series blMathAPI -- BarbatoLabs Math API

Introduction When developing physics, engineering or any other type of technical applications, there are basic mathematical tools that I have found myself using time over time. In this article, I design and build a simple two-dimensional point/vector structure with some basic functionality, keeping in mind code readability. Here’s a snippet of…

Continue reading