algorithm « math « Javascript Data Type Q&A

Home
Javascript Data Type Q&A
1.Array
2.Clojure
3.date
4.decimal
5.function
6.global
7.loop
8.math
9.number
10.object
11.Regular Expression
12.scope
13.String
14.Var
15.variable
Javascript Data Type Q&A » math » algorithm 

1. Inverting binary networks    stackoverflow.com

How can I invert a binary equation, such that I can find which inputs will produce a given output. Example:

Inputs: i0 through i8
Outputs: o0 through o8
Operators: ^ = XOR, & = AND
Binary ...

2. Influence Math.random()    stackoverflow.com

I'm looking for a way to influence Math.random(). I have this function to generate a number from min to max:

var rand = function(min, max) {
    return Math.floor(Math.random() * (max ...

3. Solver for TSP-like Puzzle, perhaps in Javascript    stackoverflow.com

I have created a puzzle which is a derivative of the travelling salesman problem, which I call Trace Perfect. It is essentially an undirected graph with weighted edges. The goal is to ...

4. Looking for good physics/maths/algorithm learning resources for JavaScript    stackoverflow.com

I have been playing around with JavaScript and Canvas for a while. Very often when I dissect a code people have put on the web, it is really hard to understand the ...

5. looking for a good random algorithm    stackoverflow.com

I'm not satisfied with Math.random() from javascript. I would like to create a function that generates random numbers. What I need is that if I generate 100.000 numbers from 1 to ...

6. Edge detection in Javascript    stackoverflow.com

I have a matrix (here's the plot: http://i.imgur.com/GNIWp.png) and I'd like find out, where the edges are. Here's a picture of the same plot with lines which indicate the edges: ...

7. Julia Set In Javascript    stackoverflow.com

I'm messing around with some Mandlebrot set stuff because I think the pictures it produces are pretty. I thought I might try to tackle the problem of drawing one in javascript ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.