Hello,
I have a problem, more mathematical than computational, to solve, but I have not been able to solve it myself until now ...
I have a set of 3 atoms connected to each other forming an angle X between the bond. I need to implement a c...
I do not know if this is the best place to ask this question, but I searched a lot on the internet for some algorithm for cutting plan - which, by informing the dimensions of the pieces, shows the best arrangement so that it is minimized as litt...
In Python:
How to convert screen coordinates to Cartesian coordinates, where there may be positive and negative points and the center of the screen is (0,0)?
I need to return the relative positions between two lines, at this point in the program I'm sure they are competing. My method performs the following equation to avoid using linear systems: Ifindalambdaandreplaceitintheequationtofindthepointinco...
Is there a function in the R that checks whether a polygon is regular or not and some that checks whether it is convex or not?
If either answer is no, any ideas? As I thought:
#Por exemplo um quadrilátero, a primeira coluna é x e a segunda...
I'm having a hard time ...
Currently I have the data Latitude and Longitude of company records in my database, with this I need to bring data close to me, in case I would have latitude and longitude of my position, for example, to bring compa...
I'm trying to complement my answer to a circumference intersection question . In this answer, at a given moment, I get an equation of the line through the coefficients a,b,c :
r: a*x + b*y + c = 0
I would like to represent this line...
How do I check if a polygon is convex?
The input can be given by:
#Por exemplo um quadrilátero, a primeira coluna é x e a segunda coluna é y.
quadrilatero = matrix(c(0,2,-7,1,4,3, 4,5), ncol = 2)
Output is TRUE or FALSE .
I need to implement some vector and matrix operations, such as internal product, vector, other operations with matrices (inverse calculation, transposed, conjugated, determinant, etc.) and solving certain problems of linear algebra and analytic...
Given three points p1, p2 and p3, what is the best way to know if this order is clockwise, counterclockwise, or neither (all three are collinear)?
For example, in the following image the points are clockwise:
In the same case, if the...