Category "math"

One-to-one integer mapping function

We are using MySQL and developing an application where we'd like the ID sequence not to be publicly visible... the IDs are hardly top secret and there is no sig

Average transformation matrix for a list of transformations

I have multiple estimates for a transformation matrix, from mapping two point clouds to each other via ICP (Iterative Closest Point). How can I generate the av

Line of intersection between two planes

How can I find the line of intersection between two planes? I know the mathematics idea, and I did the cross product between the the planes normal vectors bu

Problem solving differential equations using odeint and sympy

I am trying to solve and display a graph of the following equation: f'=af²-bf Therefore I have tried to use scipy.integrate.odeint library function to so

Algorithm for pow(float, float)

I need an efficent algorithm to do math::power function between two floats, do you have any idea how to do this, (i need the algorithm not to use the function

How to round up value C# to the nearest integer?

I want to round up double to int. Eg, double a=0.4, b=0.5; I want to change them both to integer. so that int aa=0, bb=1; aa is from a and bb is from b

Remove insignificant trailing zeros from a number?

Have I missed a standard API call that removes trailing insignificant zeros from a number? var x = 1.234000; // to become 1.234 var y = 1.234001; // stays 1.234

Draw the midpoint lines between points

I am making generated shapes in a fragment shader and part of it involves drawing the border between objects ie the dividing line between them. Currently I have