I have a well-formed tree that represents a mathematical expression.For example, given the string: \"1+2-3*4/5\", this gets parsed into:
I was wondering if it would be possible to get a vector with an X and a Y value as a single number, knowing that both X and Y can range from -65000 to +65000.
I have an expr开发者_JAVA技巧ession that includes divisions, for which some of the denominators are sometimes zero. However, in those cases I would like that division to result in 1, instead of throwi
I read about logistic regression on Wikipedia and it talks of t开发者_运维百科he equation where z, the output depends on the values of beta1, beta2, beta3, and so on which are termed as regression coe
Let\'s say I开发者_StackOverflow have to have a cart with a subtotal of 1836.36.I must achieve this exact amount by adding up several products from a list with a range of prices.
I have a bunch of blocks that needs to be drawn into a grid. Now displaying them unscaled everything is fine but when I try to scale them down to fit withing a window I get \"scale-artifacts\" because
EDIT: I wasn\'t sure if this should be a new question or not so I am just updating this one for now. The snowflake is now being generated properly, unless I change the original coordinates. For exampl
I am trying to convert from meter to nautical miles. I need to multiply met开发者_StackOverflow中文版ers by 5.4x10-3 but I am not sure how express this number in objective-c.
Im looking to create a ranking system for users on a gaming site. The system should be based of a weighted win percentage with the weighted element being the number of games played.
i am trying to make my algorithm more efficient but for som开发者_如何转开发e reason its not working correctly could someone tell me if my logic is correct. The general problem is that if u have a hei