text
stringlengths
0
27.6k
python
int64
0
1
DeepLearning or NLP
int64
0
1
Other
int64
0
1
Machine Learning
int64
0
1
Mathematics
int64
0
1
Trash
int64
0
1
I want to implement math function power to double, can you advice algorithm for this? I've reviewed sources of Java ME Open Source Software - Math but I want to implement it from the scratch. Thank you!
0
0
0
0
1
0
Thanks for reading my question. I have a CSV file, I read it and store it in a variable. Now i just want to PLUS all the column to see its sum. For example 3,34 12,673 23,8543 SUM ------------- 965,12658 Columns and rows can be N limit. Looks easy but don't know, its taking my all time. Please do let me know whi...
0
0
0
0
1
0
I am reading Elements of Statistical Learning ESLII and in chapter 2, they have a gaussian mixture data set to illustrate some learning algorithms. To generate this data set, they first generate 10 means from a bivariate gaussian distribution N((1,0)', I). I am not sure what they mean? How can you generate 10 means fro...
0
0
0
1
0
0
I'm developing a scheduler for an embedded system. This scheduler will call each process every X milliseconds; this time can be configured separately for each process, of course. Everything is coded and calls every process as it should; the problem I'm facing is this: Imagine I set 4 processes to be called every 10, 1...
0
0
0
0
1
0
My current method allows me to determine the most accurate array but I cannot figure out a good way to display informative results. Here’s my situation … I compare X amount of integer arrays to a static integer array. For each position in the array I calculate the position’s accuracy result by comparing to the equivale...
0
0
0
0
1
0
I have an issue that I can't quite seem to find a starting point on; I'm not even sure I can describe it well enough to get an answer. I need to find the normal of an equilateral triangle in 3D space without knowing the points of the triangle beforehand. Think about taking a photo of a triangular "yield" street sign f...
0
0
0
0
1
0
I have the following function that I am so close to cracking but can't find a mod function in obj-c. I hope someone can help suss this. -(void)estimatePosition{ float lat1 = 50.000; float lon1 = -1.666; float d = 500; float tc = 90; float lat; float dlon; float lon; lat =asin(sin(lat1...
0
0
0
0
1
0
Simple online games of 20 questions powered by an eerily accurate AI. How do they guess so well?
0
1
0
0
0
0
Are there any good Java libraries with prebuilt dictionaries that I can use to try and extract word roots from input words? I asked a more general question which supersedes this question. It is here. Please vote to close this question.
0
1
0
0
0
0
After performing a cluster analysis to my dataset (a dataframe named data.matrix), I added a new column, named cluster, at the end (col 27) containing the cluster name that each instance belongs to. What I want now, is a representative instance from each cluster. I tried to find the instance having the smallest euclide...
0
0
0
1
0
0
I've found functions which follow the pattern of 1 / bc produce nice curves which can be coupled with interpolation functions really nicely. The way I use the function is by treating 'c' as the changing value, i.e. the interpolation value between 0 and 1, while varying b for 'sharpness'. I use it to work out an interpo...
0
0
0
0
1
0
Using C#: How do I get the (x, y) coordinates on the edge of a circle for any given degree, if I have the center coordinates and the radius? There is probably SIN, TAN, COSIN and other grade ten math involved... :)
0
0
0
0
1
0
I'm creating a word search and am trying to calculate quality of the generated puzzles by verifying the word set is "distributed evenly" throughout the grid. For example placing each word consecutively, filling them up row-wise is not particularly interesting because there will be clusters and the user will quickly not...
0
0
0
0
1
0
I am pulling a set of numbers from a MySQL database and am trying to do some simple math on them to calculate a total price to put into an invoice, but PHP isn't cooperating. I thought it might be a type-coercion issue, so I tried adding some intval and floatval calls, but still the total always comes out to 0. Here i...
0
0
0
0
1
0
So I have a 3D Plane described by 2 Vectors: P : a point which lies on the Plane N : the surface normal for the Plane And i have a very large, flat square Polygon, which I want to render to represent this Plane. I can easily translate the polygon to the given point, but then I need to find the proper rotation to ap...
0
0
0
0
1
0
So there is a method for NaN, but divide by zero creates infinity or negative infinity. There is a method for Infinity (also positive infinite and negative infinity). What I want is IsARealNumber function that returns true when the value is an expressible number. Obviously I can write my own... public bool IsARealNumbe...
0
0
0
0
1
0
I am looking to calculate the X and Y points of each point on a polygon, given the number of sides, and the fact that all sides are equal. I would also have the width and height constraints of the entire shape. If it helps any, I would be doing this in Java (most likely using Line2D).
0
0
0
0
1
0
I have a problem to detect object in images or video frames. I have a task that is detect some people or something who enter into the sight of web camera, and then my system will be alarm. Next step is recognize which kind of thing the object is, in this phase I know use Hough transform to detect line, circle, even rec...
0
0
0
1
0
0
Is there any open source code which does similar to MS Photosynth Photosynth is a potent mixture of two independent breakthroughs: the ability to reconstruct the scene or object from a bunch of flat photographs, and the technology to bring that experience to virtually anyone over the Internet. Using techni...
0
0
0
1
0
0
I have some question regarding principal component and factor analysis. For PCA, does it matter whether the eigenvalues are computed from the covariance matrix or the correlation matrix É And what about FA, are the results of the eigenvalues the same if I use the covariance or the correlation matrix É
0
0
0
0
1
0
I have a 16x16 matrix of grayscale values representing handwriting digits. Is there a plot in R that I can use to visualize it? Matlab has pcolor, I am looking for something along those lines. pcolor
0
0
0
1
0
0
I'm working on a code to do a software skinner (bone/skin animation), and I'm at the "optimization" phase (the skinner works pretty well and skin a 4900 triangles mesh with 22 bones in 1.09 ms on a Core Duo 2 Ghz (notebook)). What I need to know is : 1) Can someone show me the way (maybe with pseudocode) to transform a...
0
0
0
0
1
0
who recommend me a professional computer vision web site so i can ask question in it. thanks a lot
0
0
0
1
0
0
I'm writing a text tag parser and I'm currently using this recursive method to create tags of n words. Is there a way that it can be done non-recursively or at least be optimized? Assume that $this->dataArray could be a very large array. /** * A recursive function to add phrases to the tagTracker array * @param strin...
0
1
0
0
0
0
Is there anyway to ensure the that the fewest number of turns heuristic is met by anything except a breadth first search? Perhaps some more explanation would help. I have a random graph, much like this: 0 1 1 1 2 3 4 5 6 7 9 a 5 b c 9 d e f f 9 9 g h i Starting in the top left corner, I need to know the fewest number...
0
1
0
0
0
0
x+2y=8 , 2x+y=14 this are equations this is just example i gave for understanding . from this equation i like to find x,y values using c# program anybody help for me.how can implement this in program?...
0
0
0
0
1
0
I have a 256x256 texture in my view frustum that I need to move to a z-position where the texture is replicated on-screen at ACTUAL size. What I have so far is: const float zForTrueScale = -((itemSize/2) / tanf(DEGREES_TO_RADIANS(fieldOfView/2)) ) * 2; where itemSize is the size of my texture in world space (...
0
0
0
0
1
0
how can i construct the bezier curve if i only have points in x axis?can i do this act or need points for x and y axes related to t parameter? i want constructe a bezier curve(from degree N)in a given interval and known point in that interval(that are random), but i have points only in x axes!!Whether this is feasible?...
0
0
0
0
1
0
This is an odd one I'm puzzled about. I recently noticed at the Gnu Octave prompt, it's possible to enter in negative zeroes, like so: octave:2> abomination = -0 And it remembers it, too: octave:3> abomination abomination = -0 In the interest of sanity, negative zero does equal regular zero. But I also noticed that...
0
0
0
0
1
0
I would like to take surveys (2 or more choices), and place the results in a table. I just want to know how I would tally up the results in a sql query. Even more, should i be doing the math within the query, or just use PHP to do the math? Example Questions Table question_id (int) question (text) answer_1 (varchar) an...
0
0
0
0
1
0
I have a couple of questions about searching in graphs/trees: Let's assume I have an empty chess board and I want to move a pawn around from point A to B. A. When using depth first search or breadth first search must we use open and closed lists ? This is, a list that has all the elements to check, and other with all o...
0
1
0
0
0
0
I am using jama libarary for matrix. I used following matrix but when i tried to get S, it gave me error. 1.0 1.0 0.0 1.0 0.0 0.0 0.0 0.0 0.0 11.0 1.0 1.0 0.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 12.0 2.0 1.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0 1.0 13.0...
0
0
0
0
1
0
this is a picture of a dog's contour and a horse's contour alt text http://www.tlnews.cn/forum/attachments/month_0810/20081024_2f055de790b83aced18atjm8EVN4Gyay.jpg how to make computer know it is a horse or a dog or a person. alt text http://www.pocketgo.com.cn/upload/2008-10/122465306490637600.jpg
0
0
0
1
0
0
How does: 1 + 2 + ... + N-1 + N + N + N-1 + ... + 2 + 1 --------------------------- N+1 + N+1 + ... + N+1 + N+1 equal N(N + 1)? Shouldn't it be 4N + 4 or 4(N + 1)?
0
0
0
0
1
0
If this is OT, please tell me where to repost it. I need to render some math equations, in real time. Where can I find a mapping of the LaTeX "english" names (like \sum ) to symbol XYZ of ABC.ttf ? I can read + render ttf's fine; I just don't know where to get the ttfs that have the math symbols and how they're indexed...
0
0
0
0
1
0
Draw two circles which has intersect each other, from that I need to find that intersect point using c# using directx. I need to find two points.
0
0
0
0
1
0
I'm having a logic problem here. I want to add the result of the factorial values but I'm not sure how to add them. Here's my code: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Task_8_Set_III { class Program { static void Main(s...
0
0
0
0
1
0
Lets say I divide 14 / 15 times it by 100 to get the percentage which is 93.33333333333333 how can I display it as 93.3% using php? Here is the code. $percent = ($avg / 15) * 100;
0
0
0
0
1
0
I am having a problem handling large numbers. I need to calculate the log of a very large number. The number is the product of a series of numbers. For example: log(2x3x66x435x444) though my actual series are longer. I am getting a math overflow because product grows very large, very quickly. Are there special math...
0
0
0
0
1
0
Im having a trouble with the flex calculation, im trying to transform a pixel value to mm and reversing it. Starting out with 69.8: Calculating MM to pixel from: 69.8 mm 69.8*300 = 20940 20940 / 2.54 = 8244.094488188975 8244.094488188975 / 10 = 824.4094488188975 And calculating back: Calculating pixel to MM from: 824....
0
0
0
0
1
0
I'd like to get an idea what kind of math is typically necessary for 3D game engine programming? Any specific math (such as vector geometry) or calculation algorithms (such as fast fourier transforms), or is this all abstracted away with DirectX/OpenGL so that highly complex math isn't really necessary any more?
0
0
0
0
1
0
I would like to calculate the distance between two x/y coordinates on the surface of a torus. So, this is a normal grid that has the property that its corners and sides are 'connected'. For example, on a grid of 500x500, the point at (499, 499) is adjacent to (0, 0) and the distance between e.g. (0,0) and (0,495) shoul...
0
0
0
0
1
0
Back to the basics... For reference types, one can do this: SomeType someObject = firstObject as SomeType; if (someObject == null) { // Handle the situation gracefully } else { // Do stuff } For value types, my understanding is that we hav...
0
0
0
0
1
0
Making a simple app for my android. in my xml interface there is a text box in which the user will input a number (for example: 10). the id of this text box is "input1" how do I call the value of input1 in java and then perform a calculation on it? For example... suppose input1 = x x + 5 or x*2 and for that matter, ...
0
0
0
0
1
0
In my program, I think my count variable is not holding the value. What do I do so that it can hold? here`s my code. static void Main(string[] args) { double a; double count = 0; Console.WriteLine("Enter the Numbers : "); for (double i = 1; i <= 10; i++) { a = Con...
0
0
0
0
1
0
I've seen in a lot of AI related stuff the symbol <-. For example, delta <- 0 x <- x + 1 etc. I always assume its meaning is the same as =(assigment), but probably they have a meaning that's a bit different from assigment, I assume? Thanks
0
1
0
0
0
0
I had to build a concept analyzer for computer science field and I used for this machine learning, the orange library for Python. I have the examples of concepts, where the features are lemma and part of speech, like algorithm|NN|concept. The problem is that any other word, that in fact is not a concept, is classified ...
0
1
0
1
0
0
I have an math problem in Isometric projection. I have reading an article: Axonometric projections - a technical overview. For the Isometric projection part, it give an mathematical formula for conversion 3D point into 2D point for the x part the formula is: x' = ( x − z ) cos(30); But i also check for wiki for Isome...
0
0
0
0
1
0
I need to calculate the overlap (amount or yes/no) that two rectangles make on a special x/y grid. The grid is 500x500 but the sides and corners connect (are continuous). So the next point after 499 becomes 0 again. In a previous question I asked for a way to calculate the distance between two points in this grid. This...
0
0
0
0
1
0
Coding a calculation tool for my android. On of the inputs is distance in Feet and Inches. I have two inputs (input3 and input4) for feet and inches, respectively. In my calculation I am trying to convert these two inputs to a decimal number to be used in the rest of the equation. Here's the part of my code that does t...
0
0
0
0
1
0
This should be a very simple question for anyone who has some experience in this area, but I'm still new to this. I have the following system (or here is an image with better resolution): alt text http://img199.imageshack.us/img199/2140/equation1.png Given the following input: u = min(2 - t/7.5, 2*(mod(t, 2) < 1)); I ...
0
0
0
0
1
0
I try to determine the angle from a point (n,m) to (0,0). Without arctan2 being available, I'm running into the problem that m can be 0, which leads to a possible division by zero. What would be an elegant, correct solution to tackling this issue?
0
0
0
0
1
0
Ok - I have someone I work with who has written somthing like this if() if() if() if() if() I dont like this!! If there are ten different boolean flags how many combinations are there? 10 factorial? I am trying to explain why this is bad
0
0
0
0
1
0
I am working on a C# 2d soft body physics engine and I need to assign masses to an object's vertices given: a list of vertices (x,y positions), the total mass for the object, and the center of mass. The center of mass is given as: where, R = center of mass M = total mass mj = mass of vertex j rj = position of vertex j...
0
0
0
0
1
0
My problem is this: I have a set of points in 3D space, and their positions are updated from time to time with a certain velocity. But i need to keep a minimal distance between them. Can you help me with this? EDIT: I am using C for the implementation of the algorithm. Thanks in advance.
0
0
0
0
1
0
import android.app.Activity; import android.os.Bundle; import android.view.KeyEvent; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.EditText; import android.widget.Spinner; import android.widget.SpinnerAdapter; import ...
0
0
0
0
1
0
I would like to have some kind of project-wide fail fast mechanism (maybe a RuntimeException) for any code that causes assignment of NaN. In my project NaN is never a valid value. I realise I could add asserts (using isNaN) or other tests throughout but I want to know if there is a more elegant way.
0
0
0
0
1
0
I'm primarily a Flash AS3 dev, but I'm jumping into openframeworks and having trouble using 3D (these examples are in AS) In 2D you can simulate an object orbiting a point by using Math.Sin() and Math.cos(), like so function update(event:Event):void { dot.x = xCenter + Math.cos(angle*Math.PI/180) * range; dot.y...
0
0
0
0
1
0
Backpropagation calculates dW (weight delta) per weight per pattern, so it's straightforward how to modify weights when doing stochastic training. How do I use it for batch training, though? Simply accumluate dW over the entire training set and then apply the modfication, or is there more to it?
0
0
0
1
0
0
If I have a decimal, how do I get a string version of it with two decimal places? This isn't working: Math.Round(myDecimal, 2).ToString("{0.00}");
0
0
0
0
1
0
I'm designing architecture of a text parser. Example sentence: Content here, content here. Whole sentence is a... sentence, that's obvious. The, quick etc are words; , and . are punctuation marks. But what are words and punctuation marks all together in general? Are they just symbols? I simply don't know how to name ...
0
1
0
0
0
0
I asked this question about 2 months ago but found none of the answers to be helpful enough. So I am giving it another shot. I think it was my fault not describing it well enough. So lets try again. (source: bja888.com) Here is a rough idea of what I am trying to accomplish. The goal is to send a projectile from poin...
0
0
0
0
1
0
I'm doing a Natural Language Processing project where I compute a bunch of attributes of a text, giving me a vector of values for each text. I want to compare these vectors with multidimensional scaling. What Java libraries/toolkits do you recommend for doing this?
0
1
0
0
0
0
import java.lang.Math; import java.awt.* public class Triangle implements Shape { java.awt.Point a; java.awt.Point b; java.awt.Point c; public Triangle(java.awt.Point a, java.awt.Point b, java.awt.Point c) { this.a = a; this.b = b; this.c = c; } public double getArea...
0
0
0
0
1
0
alt text http://pascallin.ecs.soton.ac.uk/challenges/VOC/voc2007/examples/person_06.jpg alt text http://pascallin.ecs.soton.ac.uk/challenges/VOC/voc2007/examples/dog_08.jpg alt text http://pascallin.ecs.soton.ac.uk/challenges/VOC/voc2007/examples/sheep_07.jpg this picture is download from a website,the team show their ...
0
0
0
1
0
0
In Java, (Number/0) throws an ArithmeticException while (Number/0.0) = Infinity. Why does this happen?
0
0
0
0
1
0
Well, after solving this problem by naive STL set,I was reading the forum entries,there I find this entry : #include <iostream> #include <cmath> #define MAX 100 using namespace std; int main(){ int res=(MAX-1)*(MAX-1); for(int i=2;i<MAX;i++) for(int j=i*i;j<=MAX;j=j*i) res = res-in...
0
0
0
0
1
0
I'm trying to figure out some calculations using arcs in 3d space but am a bit lost. Lets say that I want to animate an arc in 3d space to connect 2 x,y,z coordinates (both coordinates have a z value of 0, and are just points on a plane). I'm controlling the arc by sending it a starting x,y,z position, a rotation, a ve...
0
0
0
0
1
0
How would you find the signed angle theta from vector a to b? And yes, I know that theta = arccos((a.b)/(|a||b|)). However, this does not contain a sign (i.e. it doesn't distinguish between a clockwise or counterclockwise rotation). I need something that can tell me the minimum angle to rotate from a to b. A positive s...
0
0
0
0
1
0
I'm taking my first AI course this semester at uni and we were asked to do a project on any AI topic that we find interesting and to impliment the code in "Prolog". One example is Implementing 4 or 5 search algorithms and comparing the effeciency in different selected special cases. I just need a topic in the same leve...
0
1
0
0
0
0
I am VERY new at Prolog I am looking for any beginner material on Prolog. I am very interested in learning the language. Where' s good place to start? Online preferably I also am having a bit of trouble writing some code. I need to return a sentence but all I am getting is a list of atoms (i believe that's the term)...
0
1
0
0
0
0
Given two points, A and B, defined by longitude and latitude I want to determine if another point C is ~between~ A and B. ~between~ is hard for me to define. I don't mean on the line - it almost certainly won't be. Geometric diagram http://www.freeimagehosting.net/uploads/b5c5ebf480.jpg In this diagram, point C is ~bet...
0
0
0
0
1
0
This is a question I have been toying with for a week or so, proposed by a colleague: Imagine a game played on a 36x36 grid. The goal of the game is to create four corners of a square of any size (eg., 2x2, 3x3, 4x4, and so on). The first player places a game-piece anywhere except the center four grid spaces. After...
0
1
0
0
0
0
Given a hypoteneuse (c in the typical equation a*a + b*b = c*c), what is an efficient way to calculate all possible integer values of a and b, such that a < b? Note: I've seen c be greater than 1e12, thus c*c is greater than long.MaxValue, from what I can tell, c*c does fit into a decimal, though.
0
0
0
0
1
0
To understand the problem,let us consider these examples first:                                  46 = (22)6 = 212 = (23)4 = 84 = 163 = 4096. Thus,we can say that 46,212,84 and 163 are same.                                  273 = 39 = 19683 so, both 273 and 39 are identical. Now the problem is, for any given pair of ab...
0
0
0
0
1
0
i want to multiply 2 polynomials in gf(2) in c#. please help.
0
0
0
0
1
0
I am trying to set a variable based on some maths logic (to wrap specific html around elements). I worked half the problem, to hit 0, 3, 6, 9, 12 if(($i % 3) == 0) { // blah } Now I need to hit the following numbers, 2, 5, 8, 11, 14, etc What possible maths operation could I do to hit this sequence?
0
0
0
0
1
0
I have a number of small algorithms that I would like to write up in a paper. They are relatively short, and concise. However, instead of writing them in pseudo-code (à la Cormen or even Knuth), I would like to write an algebraic representation of them (more linear and better LaTeX rendering) . However, I cannot find r...
0
0
0
0
1
0
From http://discuss.joelonsoftware.com/default.asp?interview.11.794054.1 The sequence A is defined as follows: Start with the natural numbers 1,2,3,... Initialize count = 1; while(there are uncrossed numbers) { pick the first uncrossed number say n. set A[count] = n. Cross out the number co...
0
0
0
0
1
0
Ok so I have bunch of balls: What I'm trying to figure out is how to make these circles: Rotate based on the surfaces they are touching Fix collision penetration when dealing with multiple touching objects. EDIT: This is what I mean by rotation Ball 0 will rotate anti-clockwise as it's leaning on Ball 3 Ball 5 w...
0
0
0
0
1
0
Would someone be able to explain to me or point me to some resources of why (or situations where) more than one hidden layer would be necessary or useful in a neural network?
0
0
0
1
0
0
I'm building a spelling corrector for search engine queries by implementing the method described in "Spelling correction as an iterative process that exploits the collective knowledge of web users". The high-level approach is as follows: for a given query, come up with possible correction candidates (words in the qu...
0
1
0
0
0
0
The need for having part of the training set used as verification data is straightforward, but I am not really clear on how and at what stage of the training should it be incoperated? Is it at the end of the training (after reaching a good minimum for the training data)? If so, what should be done if the verification d...
0
0
0
1
0
0
I have the start point (x1,y1) and the desired length and angle of the line. If the angles were directions, 0 degrees is W, 90 is N, 180 is E and 270 is S. I can modify this if needed. How can I use the start point, length and angle to determine the end point(x2, y2)?
0
0
0
0
1
0
I am doing A/B testing and I am facing Simpson's paradox in my results (day vs month vs total duration of the test). Does it mean that my a/b testing is not correct/representative? (Some external factor impacted the testing?) If it is a sign of problem, what are the directions to follow? Thanks for your great help. F...
0
0
0
0
1
0
I've been meaning to do a little bit of brushing up on my knowledge of statistics. One area where it seems like statistics would be helpful is in profiling code. I say this because it seems like profiling almost always involves me trying to pull some information from a large amount of data. Are there any subjects in ...
0
0
0
0
1
0
And now after some work, I finally understand how the KDop bounding volume are created and how the collisions are intersected and I maked a working implementation of them. Now the problem is another. :D How can I intersect (it has to be possible, or it would not make any sense) 2 K-Dop of different K values? (obviously...
0
0
0
0
1
0
This question on getting random values from a finite set got me thinking... It's fairly common for people to want to retrieve X unique values from a set of Y values. For example, I may want to deal a hand from a deck of cards. I want 5 cards, and I want them to all be unique. Now, I can do this naively, by picking ...
0
0
0
0
1
0
I'm writing a tool that is going to be used to process a bunch of 3D data, doing things like rotating objects, translating, scaling and all that good stuff. Does anyone know of a good library that already does some of this common 3D stuff? I'm not interested in visualizing the data at the moment, and am primarily inter...
0
0
0
0
1
0
I'm looking to submit a patch to the D programming language standard library that will allow much of std.math to be evaluated at compile time using the compile-time function evaluation facilities of the language. Compile-time function evaluation has several limitations, the most important ones being: You can't use as...
0
0
0
0
1
0
What include statement do I need to access the math functions in this C code? unsigned int fibonacci_closed(unsigned int n) { double term_number = (double) n; double golden_ratio = (1 + sqrt(5)) / 2; double numerator = pow(golden_ratio, term_number); return round(numerator/sqrt(5)); } I tried #include <math.h> but...
0
0
0
0
1
0
I am trying to have flash draw a line from the center of the stage out and increment around the stage. Not sure what math I would use to do this though. So far I have the line going out to a certain point but not sure how to change that point so that it circles around whatever the dimensions of my stage would be. So fa...
0
0
0
0
1
0
I'm doing a surface app where I need to scale my scene (zoom) while the user scales with their fingers (i.e pinching) Currently I have it working ok, but the issue is that I need to zoom in on the center point between the users fingers. I have the point, but the maths behind the translation is hard to grasp. When I app...
0
0
0
0
1
0
Here is the real world issue that we are solving. We have some rather large data sets that need to be aggregated and summarized in real time with a number of filters and formulas applied to them. It works fine to apply these to each record in real time when the data set is less than 50,000 records but as we approach 10...
0
0
0
0
1
0
I have an array of numbers from 5 to 6.4 but the numbers are relating to feet and inches and I am using them for calculation. When I come to use 5.10 it removes the zero and I have the same output as though it was 5.1. Is there anyway to prevent PHP removing the 0. I presume it does some sort of default casting. Thanks...
0
0
0
0
1
0
And here we are for another question. After the previous one, i finally completed the kDop system and everything related. (Hierarchycal tree of kDop, etc..) Everything works fine. Now i want to draw on screen the collision for debug purpose and to see the result of the work. (To see if the hierarchical choice i've done...
0
0
0
0
1
0
After I have seen a lot of questions here using the DATE_SUB() or DATE_ADD() functions instead of the arithmetic operators + or -, I was wondering if there was any difference: Quote from the MySQL-manual: Date arithmetic also can be performed using INTERVAL together with the + or - operator: date + INTERVAL expr uni...
0
0
0
0
1
0
When designing a feed forward neural network with multiple outputs, is there a conceptual difference (other than computational efficency) between having a single network with multiple outputs, and having multiple networks, each having a single output? Although output neurons in the same network don't affect each other ...
0
0
0
1
0
0
I'm using a python library called Guess Language: http://pypi.python.org/pypi/guess-language/0.1 "justwords" is a string with unicode text. I stick it in the package, but it always returns English, even though the web page is in Japanese. Does anyone know why? Am I not encoding correctly? §ç©ºéå ¶ä»æ¡å°±æ²æéç¨®å¾ ...
0
1
0
0
0
0
I'm building a video player and am kinda stuck at the volume slider part. It's a YouTube style vertical slider, meaning if the slider is in the top position volume should be 100% and if the slider is dragged to the bottom position sound should be 0. Currently it's doing the opposite of what I want :( Dragging the slide...
0
0
0
0
1
0