
How to solve random nonlinear system of equations?
20111111
I used matlab, the builtin solve function is amazing. It takes a set of strings with x,y,z or anything in it, and solve any nonlinear system of equations with almost all possible solutions. Like: x^2 + y^3 = 2 sin(y) * diff(log (x)) = 3 It can solve

non linear system of differential equations
20141102
i'm trying to solve the following non linear system of differential equations but i don't understand where is the problem in the code that i wrote. The system is non linear with complex coefficients and complex domain. from pylab import * from scipy.

Application for solving linear system of equations
20091216
I needed an application for solving linear systems of equations (N up to 10), so I got different codes, and compile them, and they seem to work, but I get lots of problems with precision. I mean, the solvers are really very sensitive to small changes

parallel iterative algorithms for solving Linear System of Equations
20120428
Does someone know any library or ready source code of parallel implementation of quick iterative methods (bicgstab, CG, etc) for solving Linear System of Equations for example using MPI or OpenMP? Solutions PetSC is a good

Solving linear systems of equations
20100724
I have a system of 6 equations that I need to solve over and over again in a program (with many different inputs of course). I am currently using the Cramer's rule method of solving the system and it works quite well (it seems that my processor reall

How to solve a linear system in Linux shell?
20100906
Does anyone know of a Linux command that reads a linear system of equations from its standard input and writes the solution (if exists) in its standard output? I want to do something like this: generate_system  solve_system Solutions

What good libraries are there for solving a system of nonlinear equations in C++?
20101120
In a C++ application I'm coding, I need to solve a system of nonlinear equations (N equations, N unknowns). The systems I'm solving will be rather small (up to 10 equations/unknowns), so performance is not going to be a real issue. I've searched the

Mathematica: help solving a system of nonlinear equations with inequality constraints
20110507
I have a system of 4 nonlinear equations in 4 unknowns. In addition I have 1 inequality constraint that I need a function of the four unknowns to satisfy (and then I need the four unknowns to be nonnegative). My problem has 12 or so parameters and

Solving system of linear and non linear equations?
20110824
My system of equations have both linear and non linear equations but not quadratic or cubic or equations having variable degree more than one. example : x + y = 3 (linear), y + z = 4 (linear), x * z = 6 (non linear), x / y = 3 (non linear), y * z / x

Specifying positive solutions for a system of nonlinear equations
20120409
I want to solve a system of nonlinear equations in matlab such that the solutions are positive. Can I specify in matlab that I want positive solutions for unknown variables? How? Solutions Yes, you can define the variables

Python non linear equation with lagrangian multipliers estimation
20111019
i 've been struggling for days on this thing....but to no avail. I'm not very good at difficult math let alone this kind of level of difficulty. I was trying to implement the maximum entropy application for the lottery in python for my graduation ass

Solution of nonlinear differential equation
20120305
I don't use Mathematica in general and I need it to compare with an other program. I want to solve a system of three differential and non linear equations. For this I use Dsolve. Everything goes wrong when I put the nonlinear term (exponential). Here

How to solve a symbolic nonlinear vector equation? (Matlab or other)
20110713
I'm trying to find a solution to this symbolic nonlinear vector equation: P = a*(V0*t+P0) + b*(V1*t+P1) + (1ab)*(V2*t+P2) for a, b and t where P, V0, V1, V2, P0, P1, P2 are known 3d vectors. I attempted to do that in Matlab like this: P = sym('P',

Fast linear system solver for D?
20110208
Where can I get a fast linear system solver written in D? It should be able to take a square matrix A and a vector b and solve the equation Ax = b for b and, ideally, also perform explicit inversion on A. I have one I wrote myself, but it's pretty sl

How to draw best fit non linear curve in C#
20110318
after lots of timing searching on net I come back to Stack overflow.can anyone tell me where i will get code for drawing best fit nonlinear curves in c# or wpf & combine curves of linear curve & non linear curves.Thank you Solut

Nonlinear regression in C#
20111017
I'm looking for a way to produce a nonlinear (preferably quadratic) curve, based on a 2D data set, for predictive purposes. Right now I'm using my own implementation of ordinary least squares (OLS) to produce a linear trend, but my trends are much m

Difference between a linear problem and a nonlinear problem? Essence of DotProduct and Kernel trick
20090718
The kernel trick maps a nonlinear problem into a linear problem. My questions are: 1. What is the main difference between a linear and a nonlinear problem? What is the intuition behind the difference of these two classes of problem? And How does ke

php  generate non linear urls
20091206
Update: Ok.. I have read a lot of solutions... Thank you so much everybody. I think I will keep it simple and avoid the encryption and just rely on two fields matching in the database. I can keep the id as it is (sequential) but add for example a tim

Java : linear algorithm but nonlinear performance drop, where does it come from?
20100216
I am currently having heavy performance issues with an application I'm developping in natural language processing. Basically, given texts, it gathers various data and does a bit of number crunching. And for every sentence, it does EXACTLY the same. T

Solving linear systems in Maxima: how to pass arbitrarily sized arrays into linsolve( )
20100223
I have a linear system I'm trying to solve in Maxima using linsolve(eqlist, varlist). For a specific problem, I can use linsolve( [ eq[0],eq[1],eq[2] ], [ a[0],a[1],a[2] ]), and this works. But this is rather ugly since it means I have to manually ad

reduce system of equations which is underdetermined in mathematica
20110214
I obtained the folloiwng equation (as an example): {2 w11 + 3 w21 == 2 w12, w11 == 4 w12 + 3 w22, w11 + 2 w21 + w22 == 0, 2 w12 + w21 + 2 w22 == 0} And I want to determine w11, w12, w21, w22. However, simply do the following: Solve[{3 w11 + 2 w21 ==

List/matrix of coefficients equation (system of equations)
20110302
I try to extract coefficient from equations (system of equations) into list (matrix). I have tried CoefficientList[poly, {var1, var2, ...}] but without success. This simple example should explain my problem: Eq1 = a D[U[x1, x2], {x1, 2}] + b D[V[x1,

Javascript and phpSolving system of equations with one unknown variable
20110804
I'm looking for a javascript or phpscript that is able to solve a system of equations with one unknown variable x. The equation can be of any kind, i.e. linear, quadratic, cubic etc. e.g. 102*x = 25*x or 12*sin(x³) = ln(x²) or e^x² = x^5 I hope I'v

How to create a slider with a nonlinear scale?
20110830
I have a slider with a minimum value of 0 and maximum of 500. I want to when the slider goes to 100, the thumb be in the middle of the slider. I know it seems wierd, but some programs do it with zoom slider, and I believe it's better. S

Quickselect with array of structs has non linear running time
20111212
Updated, original question below the line: I need to compute a median, and would like to use the O(N) quickselect algorithm. It turns out however that when the array is no longer a flat array of doubles, but rather an array of structs (of which one e