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'm representing a shape as a set of coordinates in 3D, I'm trying to rotate the whole object around an axis (In this case the Z axis, but I'd like to rotate around all three once I get it working). I've written some code to do this using a rotation matrix: //Coord is a 3D vector of floats //pos is a coordinate //angl...
0
0
0
0
1
0
Let's say that we have two boxes of pencils (in first box just blue and in second just red pencils). So the question now is, in how many ways can we put x red and y blue pencils in the line? Example: we have 3 Red pencils, and 1 Blue. Then we have 4 different ways. Combinations: BRRR, RBRR, RRBR, RRRB. So with 10 Red ...
0
0
0
0
1
0
Is there an easy way to display math in the Safari web browser? My main target is the iPhone safari.
0
0
0
0
1
0
I two concentric circles on the screen and I want the circle on the inside to move around while the user drags their finger around the outside of the larger circle. This means that I have two point, center of the larger circle and the point at which the user touched. How do I calculate where the center of the smaller c...
0
0
0
0
1
0
I have 2 tables   1. Client   2. Operations Operations can result in: Credits or Debits ('C' or 'D' in a char field) along with date and ammount fields. I must calculate the balance for each client's account using linQ... The result should also show balance 0 for clients whom didn't make operations yet I have the follo...
0
0
0
0
1
0
I have two rows of numbers ... 1) 2 2 1 0 0 1 2) 1.5 1 0 .5 1 2 Each column is compared to each other. Lower values are better. For example Column 1, row 2's value (1.5) is more accurate than row 1 (2) In normal comparison I would take to the sum of each row and compare to the other row to find the l...
0
0
0
0
1
0
I have a system of (first order) ODEs with fairly expensive to compute derivatives. However, the derivatives can be computed considerably cheaper to within given error bounds, either because the derivatives are computed from a convergent series and bounds can be placed on the maximum contribution from dropped terms, or...
0
0
0
0
1
0
While trying to evaulate polynomials using Horner's Rule I have a sample code segment like so: int Horner( int a[], int n, int x ) { int result = a[n]; for(int i=n-1; i >= 0 ; --i) result = result * x + a[i]; return result; } I understand that a is an array of coefficients and that x is the value ...
0
0
0
0
1
0
I am trying to parse some text and diagram it, like you would a sentence. I am new to NLTK and am trying to find something in NLTK that will help me accomplish this. So far, I have seen nltk.ne_chunk and nltk.pos_tag. I find them to be not very helpful and I am not able to find any good online documentation. I have als...
0
1
0
0
0
0
I have two arrays (a and b) with n integer elements in the range (0,N). typo: arrays with 2^n integers where the largest integer takes the value N = 3^n I want to calculate the sum of every combination of elements in a and b (sum_ij_ = a_i_ + b_j_ for all i,j). Then take modulus N (sum_ij_ = sum_ij_ % N), and finally ...
0
0
0
0
1
0
I am writing a script to reverse all genders in a piece of text, so all gendered words are swapped - "man" is swapped with "woman", "she" is swapped with "he", etc. But there is an ambiguity as to whether "her" should be replaced with "him" or "his".
0
1
0
0
0
0
How can I modify the Smith-Waterman algorithm using a substitution matrix to align proteins in Perl? [citations needed]
0
0
0
0
1
0
This is a bit of a longshot. Suppose I am sampling signal at a fixed rate (say once per second). Is there mathematical Java Library I can use to calculate/extract the following metrics from the sampled data? 1) The rate of change of the signal 2) An extrapolation/prediction of what the signal value will be in X seconds...
0
0
0
0
1
0
I am looking for a fast way to calculate the line segment of two given rectangles in 3D. For instance, each 3D rectangle is defined by its four vertices. A solution in any reasonable programming language will do.
0
0
0
0
1
0
I've got a database filled up with doubles like the following one: 1.60000000000000000000000000000000000e+01 Does anybody know how to convert a number like that to a double in C++? Is there a "standard" way to do this type of things? Or do I have to roll my own function? Right now I'm doing sth like this: #include <s...
0
0
0
0
1
0
Here is some math code that adds A to B: Sub math() A = 23 B = 2 ABSumTotal = A + B strMsg = "The answer is " & "$" & ABSumTotal & "." MsgBox strMsg End Sub But how can I calculate a square root of ABSumTotal? Is it possible in PowerPoint VBA?
0
0
0
0
1
0
Here is my perceptron implementation in ANSI C: #include <stdio.h> #include <stdlib.h> #include <math.h> float randomFloat() { srand(time(NULL)); float r = (float)rand() / (float)RAND_MAX; return r; } int calculateOutput(float weights[], float x, float y) { float sum = x * weights[0] + y * weights[1];...
0
0
0
1
0
0
Wikipedia says on A* complexity the following (link here): More problematic than its time complexity is A*’s memory usage. In the worst case, it must also remember an exponential number of nodes. I fail to see this is correct because: Say we explore node A, with successors B, C, and D. Then we add B, C, and D t...
0
1
0
0
0
0
I am using an NLP library (Stanford NER) that throws java.lang.OutOfMemoryError errors for rare input documents. I plan to eventually isolate these documents and figure out what about them causes the errors, but this is hard to do (I'm running in Hadoop, so I just know the error occurs 17% through split 379/500 or some...
0
1
0
0
0
0
I'd like to find good way to find some (let it be two) sentences in some text. What will be better - use regexp or split-method? Your ideas? As requested by Jeremy Stein - there are some examples Examples: Input: The first thing to do is to create the Comment model. We’ll create this in the normal way, but with one sm...
0
1
0
0
0
0
I found by chance that int a = (h/2)*w+ ( (h+1)/2-h/2 ) * (w+1)/2 ; is equal to int b = (w * h + 1) / 2 ; when w and h are positive integers (assume no overflow). Can you show me why these 2 are the same? edit : integer -> positive integer.
0
0
0
0
1
0
I am new to dealing with 3D, and even simple stuff makes my head spin around. Sorry for the newbie question. Lets say I have 2 vectors: a(2,5,1) b(1,-1,3) These vectors "generate" a plane. How can I get a third vector perpendicular to both a and b? I can do this in 2D using a vector c(A,B) and turning it into c'(-B,A)...
0
0
0
0
1
0
I have recently been reading about the general use of prime factors within cryptography. Everywhere i read, it states that there is no 'PUBLISHED' algorithm which operates in polynomial time (as opposed to exponential time), to find the prime factors of a key. If an algorithm was discovered or published which did opera...
0
0
0
0
1
0
I am IT student and I have to make a project in VB6, I was thinking to make a 3D Software Renderer but I don't really know where to start, I found a few tutorials but I want something that goes in depth with the maths and algorithms, I will like something that shows how to make 3D transformations, Camera, lights, shadi...
0
0
0
0
1
0
I have an Image with the Value X width and Y height. Now I want to set the height ever to 60px. With which calculation I can calculate the height that the image is correct resized?
0
0
0
0
1
0
In an experimental project I am playing with I want to be able to look at textual data and detect whether it contains data in a tabular format. Of course there are a lot of cases that could look like tabular data, so I was wondering what sort of algorithm I'd need to research to look for common features. My first thoug...
0
0
0
1
0
0
Does MySQL (5.0.45) like to do strange internal typecasts with unsigned maths? I am storing integers unsigned but when selecting basic arithmetic I get outrageous numbers: mysql> create table tt ( a integer unsigned , b integer unsigned , c float ); Query OK, 0 rows affected (0.41 sec) mysql> insert into tt values (2...
0
0
0
0
1
0
I want to generate a permutation of an array a and I don't want to use utility functions such as java.util.Collections(). The permutations should be randomized and every permutation should be possible to occur - but there is no need for an equally distributed probability. The following code achieves this - but at poor ...
0
0
0
0
1
0
I have to write an algorithm in AS3.0 that plots the location of points radially. I'd like to input a radius and an angle at which the point should be placed. Obviously I remember from geometry coursework that 2(pi)r will give me an x on the point at the radius distance. The problem is I need to produce the x, y and th...
0
0
0
0
1
0
I am using net = newfit(in,out,lag(j),{'tansig','tansig'}); to generate a new neural network. The default value of the number of validation checks is 6. I am training a lot of networks and this is taking a lot of time. I guess it doesn't matter if my results are a bit less accurate if they can be made considerably f...
0
0
0
1
0
0
Awhile ago I read the novel Prey. Even though it is definitely in the realm of fun science fiction, it piqued my interest in swarm/flock AI. I've been seeing some examples of these demos recently on reddit such as the Nvidia plane flocking video and Chris Benjaminsen's flocking sandbox (source). I'm interested in wri...
0
1
0
0
0
0
I'm using Electro in Lua for some 3D simulations, and I'm running in to something of a mathematical/algorithmic/physics snag. I'm trying to figure out how I would find the "spin" of a sphere of a sphere that is spinning on some axis. By "spin" I mean a vector along the axis that the sphere is spinning on with a magnitu...
0
0
0
0
1
0
I am trying to add a table of contents for my LaTex document. The issue I am having is that this line: \subsubsection{The expectation of \(X^2\)} Causes an error in the file that contains the table of contents \contentsline {subsubsection}{ umberline {1.2.3} The expectation of \relax $X^2\relax \GenericError { }{ ...
0
0
0
0
1
0
Can anyone suggest resources that take a mathematical approach to relational databases? Essentially relational algebra I'd guess. I have a mathematics background and now work a great deal with databases and would like to close the gap.
0
0
0
0
1
0
A question in my university homework is why use the one's complement instead of just the sum of bits in a TCP checksum. I can't find it in my book and Google isn't helping. Any chance someone can point me in the right direction? Thanks, Mike
0
0
0
0
1
0
I have a variable that holds an angle, in degrees, which can be both positive and negative. I now need to make sure that this number is between 0 and 360 only. The number is a double. What would a nice algorithm for doing that be? Simply doing angle % 360 does not work, because negative numbers end up still being negat...
0
0
0
0
1
0
I have the following available: last reported lat,lon w/timestamp target lat,lon estimated time to target heading How can I interpolate an estimated position over time? I know that's enough to calculate the required average velocity for the remainder of the trip. Given a straight-line distance, it's pretty trivial. I...
0
0
0
0
1
0
Do you know any frameworks that implement natural language rendering concept ? I've found several NLP oriented frameworks like Anthelope or Open NLP but they have only parsers but not renderers or builders. For example I want to render a question about smth. I'm constructing sentence object, setting it's properties, sp...
0
1
0
0
0
0
I am playing with some neural network simulations. I'd like to get two neural networks sharing the input and output nodes (with other nodes being distinct and part of two different routes) to compete. Are there any examples/standard algorithms I should look at? Is this an appropriate question for this site? Right now I...
0
1
0
1
0
0
I've written two simple calculations with Ruby which match the way that Microsoft Excel calculates the upper and lower quartiles for a given set of data - which is not the same as the generally accepted method (surprise). My question is - how much and how best can these methods be refactored for maximum DRYness? # Ret...
0
0
0
0
1
0
PHP has many builtin trig math functions, but the inverse cotangent does not seem to be available as one of them. This is also referred to as arccot. Does anyone have the function equivalent in PHP to compute this?
0
0
0
0
1
0
I have got a variable amount of items, and a variable date range that I need to distribute them over. Lets say I have 3 items and I need to distribute them over 6 days. What I would want is to have every second day have an item, and it does not matter if the first day has an item or not. If I had 7 items over 6 days, o...
0
0
0
0
1
0
I'm trying to implement a geometry templating engine. One of the parts is taking a prototypical polygonal mesh and aligning an instantiation with some points in the larger object. So, the problem is this: given 3d point positions for some (perhaps all) of the verts in a polygonal mesh, find a scaled rotation that mini...
0
0
0
0
1
0
I thought I'd write a simple script to animate my webpage a little. The basic idea was to make a div grow bigger and smaller, when I push a button. I handled the growing part well, but I can't get it to shrink again. It would seem, after long debugging, that the subtraction in JavaScript just isn't working. Basically, ...
0
0
0
0
1
0
According to this FAQ the model format in libsvm should be straightforward. And in fact it is, when I call just svm-train. As an example, the first SV for the a1a dataset is 1 3:1 11:1 14:1 19:1 39:1 42:1 55:1 64:1 67:1 73:1 75:1 76:1 80:1 83:1 On the other hand, if I use the easy.py script, my first SV ends up being...
0
0
0
1
0
0
<% @pid = item.producto_id %> <br/> Producto: <%= Producto.find_by_id(@pid) %><br/> Costo de Compra: <%= @costo_de_compra = Producto.find(:all, :conditions => "id = '#{@pid}'").*.costo_de_compra %><br/> Precio de venta: <%= @precio_de_venta = item.precio_de_venta %><br/> Utilidad de este producto: <%= @precio_de_vent...
0
0
0
0
1
0
I've implemented this method in Javascript and I'm roughly 2.5% out and I'd like to understand why. My input data is an array of points represented as latitude, longitude and the height above the WGS84 ellipsoid. These points are taken from data collected from a wrist-mounted GPS device during a marathon race. My algor...
0
0
0
0
1
0
As an extension question my lecturer for my maths in computer science module asked us to find examples of when a surjective function is vital to the operation of a system, he said he can't think of any! I've been doing some googling and have only found a single outdated paper about non surjective rounding functions cre...
0
0
0
0
1
0
I'm doing a research which involves "unsupervised classification". Basically I have a trainSet and I want to cluster data in X number of classes in unsupervised way. Idea is similar to what k-means does. Let's say Step1) featureSet is a [1057x10] matrice and I want to cluster them into 88 clusters. Step2) Use previo...
0
0
0
1
0
0
I'm trying to understand some flash animation, and am having difficulty working out the following. Can anyone help? I want to convert a degree range of 0 to 90, to a value between 0 and 1 These is an existing function to convert from the range 0 to 1 to degrees, eg: function convertToDegrees(Int:Pos) { var rot = ...
0
0
0
0
1
0
So I'm just working on some simple arithmetic code. Here's what I got: echo "The number should be 2"; declare -i input added input= date +%w let added="input/2" echo "$added" when I run it the output is 4 0 I'm trying to just get 2. What the heck am I doing wrong?
0
0
0
0
1
0
Does there exist something like Canadian to US English e-dictionary which I can use in my application?
0
1
0
0
0
0
I assume a natural language processor would need to be used to parse the text itself, but what suggestions do you have for an algorithm to detect a user's mood based on text that they have written? I doubt it would be very accurate, but I'm still interested nonetheless. EDIT: I am by no means an expert on linguistics o...
0
1
0
0
0
0
Suppose you have several functions y1 = f1(x), y2 = f2(x), etc. and you want to plot their graphs together on one plot. Imagine now that for some reason it is easier to obtain the set of x for a given y; as in, there exists an oracle which given a y, will return all the x1, x2, etc. in increasing order for which y = f1...
0
0
0
0
1
0
So I want to be able to parse, and evaluate, "dice expressions" in C#. A dice expression is defined like so: <expr> := <expr> + <expr> | <expr> - <expr> | [<number>]d(<number>|%) | <number> <number> := positive integer So e.g. d6+20-2d3 would be allowed, and should evaluate as ran...
0
0
0
0
1
0
I am using a 3D engine called Electro which is programmed using Lua. It's not a very good 3D engine, but I don't have any choice in the matter. Anyway, I'm trying to take a flat quadrilateral and transform it to be in a specific location and orientation. I know exactly where it is supposed to go (i.e. I know the exact ...
0
0
0
0
1
0
i have mathematical problem which I'm unable to convert to PHP or explain differently. Can somebody send my in the right direction? I have two number which are in order (sequence). #1 and #2. I want to somehow compare those two numbers and get a positive number lower than 100 as the result of the comparison. The highe...
0
0
0
0
1
0
At first I have 5 cards by random, of course. Only one time I can change and also l have already taught [the program] the poker rules in my system. My problem is how can I choose "I don't need this card or there are cards?". I can change by myself but computer doesn't know. I think maybe it is difficult but have you gu...
0
1
0
0
0
0
For sure this is very trivial math stuff for some of you. But: When I rotate a view, lets say starting at 0 degrees and rotating forward 0.1, 1, 10, 100, 150, 160, 170, 179, 179,999, and keeping on rotating in the same direction, this happens, to say it loud and clear: BANG !!!! BAAAAAAAAANNNNNGGGG!!!! -179,9999, -170...
0
0
0
0
1
0
In my data structures class, we've been assigned a project in which we are required to make a fully functioning Quantum Tic-Tac-Toe game in which a player faces a bot that plays to win. The professor suggested we use a game tree in our AI. However, as usual, I am looking for something more challenging. Can anyone sugg...
0
1
0
0
0
0
My problem: How can I take two 3D points and lock them to a single axis? For instance, so that both their z-axes are 0. What I'm trying to do: I have a set of 3D coordinates in a scene, representing a a box with a pyramid on it. I also have a camera, represented by another 3D coordinate. I subtract the camera coordinat...
0
0
0
0
1
0
I do know that feedforward multi-layer neural networks with backprop are used with Reinforcement Learning as to help it generalize the actions our agent does. This is, if we have a big state space, we can do some actions, and they will help generalize over the whole state space. What do recurrent neural networks do, in...
0
1
0
0
0
0
Given a convex polygon represented by a set of vertices (we can assume they're in counter-clockwise order), how can this polygon be broken down into a set of right triangles whose legs are aligned with the X- and Y-axes? Since I probably lack some math terminology, "legs" are what I'm calling those two lines that are n...
0
0
0
0
1
0
int x = 73; int y = 100; double pct = x/y; Why do I see 0 instead of .73?
0
0
0
0
1
0
HI All, How can I calculate direction vector of a line segment, defined by start point (x1, y1) and end point (x2, y2)? Cheers.
0
0
0
0
1
0
I would like to extract the most used colors inside an image, or at least the primary tones Could you recommend me how can I start with this task? or point me to a similar code? I have being looking for it but no success.
0
0
0
1
0
0
I'm currently looking at python because I really like the text parsing capabilities and the nltk library, but traditionally I am a .Net/C# programmer. I don't think IronPython is an integration point for me because I am using NLTK and presumably would need a port of that library to the CLR. I've looked a little at Py...
0
1
0
0
0
0
While displaying the download status in a window, I have information like: 1) Total file size (f) 2) Downloaded file size (f') 3) Current download speed (s) A naive time-remaining calculation would be (f-f')/(s), but this value is way-to-shaky (6m remaining / 2h remaining / 5m remaining! deja vu?! :) Would there be a c...
0
0
0
0
1
0
afternoon all. Iv'e come across some mathematical problems that im not too good at. does anyone know how to calculate the ratio for Height against width? Regards Phil
0
0
0
0
1
0
Is there a utility to create an identity matrix of specified size in Java?
0
0
0
0
1
0
Are there are any good open source online math editors? I couldn't find anything searching on Google.
0
0
0
0
1
0
Here's something I'm trying to figure out concerning display objects in ActionScript3 / Flex. Let's say you have a display object who's registration point is in the top left and you want to scale it from its center (middle of the display object), How could you easily acheive this with the flash.geom.Matrix class Thanks...
0
0
0
0
1
0
I'm trying to output a value from xml this is what I do - <?php echo $responseTemp->Items->Item->CustomerReviews->AverageRating; ?> This outputs 4.5, but when I change it to the code below it displays as 8. Why isn't it displaying as 9? Thanks. <?php echo $responseTemp->Items->Item->CustomerReviews->AverageRating...
0
0
0
0
1
0
I'd like to write a program that lets users draw points, lines, and circles as though with a straightedge and compass. Then I want to be able to answer the question, "are these three points collinear?" To answer correctly, I need to avoid rounding error when calculating the points. Is this possible? How can I represent...
0
0
0
0
1
0
Is it possible to programmatically convert regular English into English haiku? Or is this something too complicated to contemplate? I have a feeling that this is a lot more involved than a Pig Latin formatter.
0
1
0
0
0
0
I know I am not the only one who does not like progress bars or time estimates which give unrealistic estimates in software. Best examples are installers which jump from 0% to 90% in 10 seconds and then take an hour to complete the final 10%. Most of the time programmers just estimate the steps to complete a task and t...
0
0
0
1
0
0
I have a few sets of information available to me, currently: position on screen (Point) orientation of point (double, say 15 degrees) distance (length from point) What I want to do is pick X (less than 6 I think) number of points in an angular spread facing the same orientation as the position with a distance of dist...
0
0
0
0
1
0
Motivation: I'd like to be able to use toy functional programming in languages without first-order functions, by using natural numbers instead of functions. A universal function is a function f : N -> (N -> N), equivalently f : N * N -> N that enumerates all possible computable functions. In other words, there's a numb...
0
0
0
0
1
0
I'm interested in developing a natural language command language for a domain with existing rules. I was very impressed when Terry Winograd's SHRDLU showed the way (the conversation below is 40 years old! Astonishing). Can we do better now and if so where can I get examples? Person: Pick up a big red block. Computer...
0
1
0
0
0
0
I am looking for an open source Natural Language Processing library for c/c++ and especially i am interested in Part of speech tagging.
0
1
0
0
0
0
I will phrase the problem in the precise form that I want below: Given: Two floating point lists N and D of the same length k (k is multiple of 2). It is known that for all i=0,...,k-1, there exists j != i such that D[j]*D[i] == N[i]*N[j]. (I'm using zero-based indexing) Return: A (length k/2) list of pairs...
0
0
0
0
1
0
I've wrote a parser in PHP that converts a string representation of an equation to RPN based on feedback from an earlier question. Whilst testing it I found two different equations that parse to the same thing in RPN. Because they end up as the same thing in RPN when you solve them you get the same answer. 3 + 4 * 8 /...
0
0
0
0
1
0
Is there an algorithm that checks whether creating a new thread pays off performance wise? I'll set a maximum of threads that can be created anyway but if I add just one task it wouldn't be an advantage to start a new thread for that. The programming language I use is python. Edit 1# Can this question even be answered ...
0
0
0
0
1
0
There are plenty of Chess AI's around, and evidently some are good enough to beat some of the world's greatest players. I've heard that many attempts have been made to write successful AI's for the board game Go, but so far nothing has been conceived beyond average amateur level. Could it be that the task of mathematic...
0
1
0
0
0
0
9 = 2^X mod 11 What is X and how do you find X? Its related to finding the plain text in RSA algorithm and I'm writing a C program for it.
0
0
0
0
1
0
I am looking for a way to convert any number to a percentage in the following way: 1.00 is 50% numbers below 1.00 approach 0% logarithmically numbers above 1.00 approach 100% logarithmically. x > 0. So y needs to approach 0 as x becomes infinitely small on the positive side. I'm sure this is simple to do, but I ...
0
0
0
0
1
0
I've 3 .jsp files. index.jsp and sqrtcalculator.jsp and error.jsp. In index.jsp there's a text field and a button. In sqrtcalculator.jps there's the, well, calculator. Now, when I leave the field empty and press the button, an expection is called, because the field is empty. And I can then reroute to an individual erro...
0
0
0
0
1
0
Any examples, tips, guidance for the following scenario? I have retrieved updates from several different news websites. I then analyse that information to predict on current trend in the world. I could only find the information on data mining when searching for above idea, but it is for database systems. While data min...
0
1
0
1
0
0
I have to do a final project for my computational linguistics class. We've been using OCaml the entire time, but I also have familiarity with Java. We've studied morphology, FSMs, collecting parse trees, CYK parsing, tries, pushdown automata, regular expressions, formal language theory, some semantics, etc. Here are so...
0
1
0
0
0
0
Is there a lowest common denominator format for multidimensional images or matrices analogous to netpbm/netpgm for 2d images? How would you use protocol buffers to define a 3d image or matrix of 16 bit unsigned numbers? Why didn't the netpbm people allow more dimensions in the row, column line?
0
0
0
0
1
0
I am trying to check the location of a point(px, py) on 2D graph in relation to a line segment (lx1, ly1) (lx2, ly2), using logic of North South East West directions. The logic I have implemented is to draw a perpendicular on the line segment from the point. if perpendicular is on line that means its south. If point ...
0
0
0
0
1
0
What would be a fast way to implent this osscilation function. A signature would look like this: public static double Calculate(UInt64 currentCounter, uint duration, uint inDuration, uint outDuration) And the result should be a double that as currentCounter advances, ossciates between 0 and 1. The osscialtion speed is...
0
0
0
0
1
0
I have a double which is: double mydouble = 10; and I want 10^12, so 10 * 10 * 10 * 10 * 10 * 10 * 10 * 10 * 10 * 10 * 10 * 10. I tried double newDouble = pow(10, 12); and it returns me in NSLog: pow=-1.991886 makes not much sense... I think pow isn't my friend right?
0
0
0
0
1
0
Algorithm for a drawing and painting robot - Hello I want to write a piece of software which analyses an image, and then produces an image which captures what a human eye perceives in the original image, using a minimum of bezier path objects of varying of colour and opacity. Unlike the recent twitter super compressi...
0
1
0
0
0
0
I'm interested in implementing an algorithm on the GPU using HLSL, but one of my main concerns is that I would like a variable level of precision. Are there techniques out there to emulate 64bit precision and higher that could be implemented on the GPU. Thanks!
0
0
0
0
1
0
How can i generate dynamically this array. var posX:Array = [0,-20,20,-40,0,40,-60,-20,20,60,-80,-40,0,40,80,-100,-60,-20,20,60,100] The numbers in the array refer to the x position of the object. I use it to place objects in triangular formation. 0 -20 20 -40 0 40 -60 -20 20 60 etc Thank you in advance
0
0
0
0
1
0
and we need to put these balls into boxes. How many states of the states could there be? This is part of a computer simulation puzzle. I've almost forget all my math knowledges.
0
0
0
0
1
0
I'm trying to write a function that can calculate revenue at different tiered levels... For example you sell $10000 worth of widgets. Any earnings from $1 - $999 we take 50%, $1000 - $4999 we take 25%, $5000 - $9999 we take 10%, $10000 - $19999 5%. The percentage is not taken based on the final value. So if you earned...
0
0
0
0
1
0
In javascript, I am trying to draw a line that is at an angle that is user defined. Basically, I have a point (x,y) and an angle to create the next point at. The length of the line need to be 10px. Let's say that the point to start with is (180, 200)... if I give it angle "A" and the (I guess)hypotenuse is 10, what wo...
0
0
0
0
1
0
What are the (practical) applications of Unification? Where it is actually being used in real world? I couldn't understand the whole idea of what it is really about and why it's considered as a part of Artificial Intelligence.
0
1
0
0
0
0