The math tag has no wiki summary.
4
votes
0answers
143 views
How to find contour lines for Appel's Hidden Line Removal Algorithm
For fun I am trying to make a wire-frame viewer for the DCPU-16. I understand how do do everything except how to hide the lines that are hidden in the wire frame. All of the questions here on SO all ...
2
votes
3answers
238 views
How to learn the math behind the code? [closed]
I have recently gotten into programming. (Although I know that the number of books you have read does not determine your programming competency or ability, just to paint a "map" of where I am in terms ...
10
votes
5answers
373 views
Long term plan of attack to learn math?
I am a web-developer with a desire to expand my skill-set to mathematics relevant to programming.
As 2nd career, I am stuck in college doing some of the requirements while working.
I was hoping the ...
2
votes
4answers
94 views
Large sparse (stiff) ODE system needed for testing
I hope this is the right place for this question. I have been working on a sparse stiff implicit ODE solver and have finished the code so far. I now tested the solver with the Van der Pol equation, ...
2
votes
7answers
447 views
Where is the application of Calculus(of continuous quantities) in Computer Science or programming
I am a Software Engineer professional. I have studied calculus as a core course in my graduation studies. I want to ask question, that what/where is the implementation of calculus in computer science?
...
2
votes
2answers
249 views
What maths should I learn to become a better computer scientist? [closed]
I'm a self taught programmer, and although I know many people feel math isn't necessary, I find that in many examples of algorithms I come across talk about (what sounds to be) some pretty complex ...
0
votes
3answers
156 views
Calculate Ellipse based on 4 points
I need to move an object based on 100 images rotating. The object needs to move in a path that is forming an ellipse when I'm rotating the image based on my gestures.
I have 4 points, 2 pairs of ...
3
votes
2answers
88 views
Do Databases Optimize Queries with Sum/Average or Other Aggregates?
Imagine a database that has billions of rows with, say, payments. You need to calculate an average payment sum. That will be
SELECT avg(amount) FROM payments;
Now, if you need to re-calculate this ...
0
votes
1answer
128 views
How important is maths depending on what your coding? [closed]
Possible Duplicate:
What does mathematics have to do with programming?
How often do you have to solve pure mathematical or algorithmical problems?
I heard that math can be very important in ...
50
votes
23answers
4k views
What does mathematics have to do with programming?
I just started a diploma in software development. Right now we're starting out with basic Java and such (so right from the bottom you might say) - which is fine, I have no programming experience apart ...
2
votes
1answer
124 views
What will generate an adjacency matrix file with a specified topology for me?
I am writing an application that takes some file specifying an adjacency matrix and uses this to construct a graph (in this case, a directed social network).
What I would like to do is specify the ...
0
votes
0answers
98 views
What degree of mathematical knowledge should a programmer have? [closed]
Possible Duplicate:
Do you have to be good at math to be a good programmer?
When I was a kid they used to tell me "You can't become a programmer unless you're a math wiz". I'll face it, I'm ...
6
votes
7answers
421 views
What mathematics should I review & master before enrolling in CS program (early 40s student, 20 years dev exp, no degree)
I am in my early 40s and plan to enroll in university this fall to pursue a long-postponed CS degree. I have been working as a developer for almost 20 years, but have found further advancement at ...
4
votes
3answers
146 views
What function or method can I use to equally distribute a workload
This is more of mathematical question than an algorithmic one; nevertheless it will be implemented in php.
I have an array of N tasks. Each task has taken t time to complete(e.g. task 1 has taken 5 ...
-6
votes
4answers
210 views
Situations where 2+2 does not necessarily equal 4? [closed]
I was reviewing interview questions for a dev position and stumbled upon this question. What are your thoughts?
0
votes
1answer
73 views
How to calculate how much does a set of arrays changes? [closed]
maybe it's a math question, maybe not... but I try:
I have a set of arrays that describes a sequence of 3D positions. The structure is:
arr[N][0] = X;
arr[N][1] = Y;
arr[N][2] = Z;
where N goes ...
2
votes
1answer
125 views
Is the Leptonica implementation of 'Modified Median Cut' not using the median at all?
I'm playing around a bit with image processing and decided to read up on how color quantization worked and after a bit of reading I found the Modified Median Cut Quantization algorithm.
I've been ...
2
votes
3answers
265 views
How do I determine how many numbers are in a floating point number system?
I'm trying to make floating point number systems a bit more intuitive for myself. There are a few things I am confused about, and I think the best way to clear up my confusions would be for someone ...
3
votes
8answers
398 views
Is it possible to learn maths via programming, or you should learn maths for programming?
I am not the best in maths, not very horrid either, but lower than the average, I've always been thinking to improve my maths, but schools and books didn't do the job because I get bored too fast. The ...
11
votes
3answers
406 views
Handling extremely large numbers in a language which can't?
I'm trying to think about how I would go about doing calculations on extremely large numbers (to infinitum - intergers no floats) if the language construct is incapable of handling numbers larger than ...
7
votes
1answer
200 views
Why is a Bayes classifier used for spam filtering?
I've been reading about Bayesian spam filtering and I think I understand the theory, but I just don't see why this approach is needed in order to calculate the likelihood of a message being spam, ...
5
votes
5answers
493 views
How to handle large numbers?
Well, I've just started doing puzzles and it's so annoying to see puzzles which are easy to do but also need to handle very large numbers. That's the problem.
Say I have to deal with numbers like 10 ...
7
votes
8answers
437 views
What would be an appropriate algorithm to factorise numbers in the range of a few billion?
I'm learning Python at the moment and to give me reasons to apply what i'm learning I'm having a crack at some of the problems on Project Euler
I'm currently on number 3, which is to determine the ...
4
votes
5answers
283 views
Why disallow int-to-short assignment but allow multiplication and other math?
In Java, the following code does not compile:
int val = 1;
short shortVal = val; // Incompatible types
Anyone know why Java chooses to complain about this assignment, instead of simply truncating, ...
1
vote
3answers
105 views
How would you go about education yourself in math in a way that is relevant to programming? [closed]
Possible Duplicate:
Is there a canonical book on mathematics for programmers?
My undergraduate math educating was mostly breadth with little to know depth. Yes, I passed the tests; i got ...
4
votes
1answer
124 views
Is there a formula to figure out the total execution time of sequential asyncronous processes?
I have a set of steps that need to run sequentially over a list of data. However each step only operates on a single piece of data at a time. Because of this, I can run the steps asynchronously.
For ...
3
votes
3answers
312 views
How does a website like Mathway work?
I recently found a website called Mathway
Basically, it works by allowing you to choose your "level of math" (which it uses to determine what tools it should provide to you) and then allows you to ...
4
votes
3answers
251 views
CPU Architecture and floating-point math
I'm trying to wrap my head around some details about how floating point math is performed on the CPU, trying to better understand what data types to use etc.
I think I have a fairly good ...
26
votes
17answers
2k views
Introducing Programming To a Mathematician [closed]
I currently am a programmer, I'm almost 16 years of age and have pretty much narrowed my careers down to something involving a Computer Science degree or Electrical Engineering degree (I know they are ...
5
votes
2answers
227 views
Recommendations for teaching kids math concepts & skills for programming? [closed]
I've got two very bright kids who are showing interest in learning programming. Of course their primary goal is to develop video games. They have decided they want to be game developers when they ...
17
votes
7answers
509 views
How can a large, Fortran-based number crunching codebase be modernized?
A friend in academia asked me for advice (I'm a C# business application developer).
He has a legacy codebase which he wrote in Fortran in the medical imaging field. It does a huge amount of number ...
12
votes
9answers
553 views
How is fundamental mathematics efficiently evaluated by programming languages?
As I get more and more involved with the theory behind programming, I find myself fascinated and dumbfounded by seemingly simple things..
I realize that my understanding of the majority of fundamental ...
0
votes
4answers
195 views
What other languages, beside Transact SQL, state that 22/7 is equal to 3?
I was using Microsoft SQL Query Analyzer the other day and wrote a very simple select statement:
SELECT 22/7 as [PI Equiv]
I was suprized that the result was 3, when I was expecting to see ...
6
votes
6answers
430 views
Languages/Methods to Learn for Scientific Computing?:
I'm a second-semester Junior working towards a Computer Science degree with a Scientific Computing concentration and a Mathematics degree with a concentration on Applied Discrete Mathematics. So, ...
6
votes
6answers
265 views
Formatting 'Complex' Math
Note: by 'complex' math I mean an equation with many steps involved and a wide mix of operators.
A programmer should know the order that operators are evaluated in an equation. However it can be a ...
12
votes
4answers
670 views
why are all the functional programming tutorials so mathy?
I've been trying to learn functional programming and most tutorials I have found use math as examples for the more complicated constructs (even the simple ones in some cases). Why is this? I would ...
7
votes
4answers
364 views
Mathematics book for entry level programming? [closed]
Possible Duplicate:
Mathematics for Computer Science
I'm new to programming, currently learning python with MIT on-line course. Are there any good maths book for entry level computer ...
11
votes
11answers
214 views
Should 'mathematical' functions follow mathematical notation?
I suppose this question is going to be immediately flagged as subjective, but which do you think is better:
double volume(double pressure, double n_moles, double temperature) {
return n_moles * ...
7
votes
3answers
3k views
Good way to learn how to solve questions on InterviewStreet [closed]
Possible Duplicate:
How do I adapt to pre-interview challenge questions?
InterviewStreet is a new company that essentially acts as a filter for companies to find programmers that can code. ...
4
votes
1answer
197 views
Using Quadratic Bezier Curves to generate a cave that stays within certain bounds
I'm working on a project that generates a series of quadratic bezier curves and connects them together, maintaining slope from the end of one segment to the beginning of the next to make the ...
1
vote
3answers
920 views
How much math do you learn in computer science?
How much do you need to know for computer science? When you get out of a PhD program in computer science at most schools how much math do you come out knowing? I'm guessing beyong the high school ...
5
votes
5answers
966 views
Math Major wants to become a Software Engineer
I am a math major, what would be the best field of computer science/computer engineering for me to go into, where I could apply my skills that I used as a math major(i.e. Linear Algebra, Real ...
3
votes
3answers
215 views
software/libraries for traffic road simulation
I am interested about road traffic simulation. In particular, I'd like to play with math and graph theory, and try to build algorithms for traffic management. I don't know much about the software used ...
3
votes
4answers
556 views
What are some math concepts to review for an interview?
What are some good math concepts to review for a software engineering interview? The position is not expected to be particularly math heavy, i.e graphics programming, but I imagine refreshing on some ...
5
votes
5answers
315 views
Which language should I use for a computationaly intensive program?
This is a multi-part question. I am writing a computational intensive program that will preform computations on very large numbers, on the scale of factorial(100) . I'm considering using Java or c++ ...
2
votes
3answers
221 views
How to start with 2d or 3d modeling?
My goal is that i can show fractals either into a plane or an space... I thought opengl is the best beggining, but which is the best book oriented to "maths" and "maths graphics"?
Red book? ...
1
vote
1answer
179 views
Developing basic drawing tool involving lines, curves
I am developing a CAD - drawings to CNC machine code software. These CNC's have sort of a Instruction set which receive parameters,etc to do some blah blah job. I am quite comfortable with the CNC ...
1
vote
1answer
122 views
Help me understand this “mindmap / constellation” visual pattern
Please help me identify and understand this visual pattern, what's the common name used for such mindmap / constellation visualisations?
http://asterisq.com/products/constellation/roamer/demo
...
34
votes
14answers
2k views
Is there a canonical book on mathematics for programmers?
I'm a self-taught programmer. I am honestly not good in math. What advice you can give to improve my Mathematical skills so that I will not be so insecure around my fellow programmers? What are the ...
14
votes
4answers
794 views
Is Haskell good at teaching fundamentals of mathematics?
I'm involved in teaching mathematics to classes with requirements such as AS and A level Mathematics specification.
Class books normally provide examples of computer software applied to mathematics ...