linear-equation Questions

2

Solved

What is the most appropriate way to express the following in SymPy: A sum over samples 'x[i]' with 'i' going from concrete 0 to symbolic 'N'. 'x[i]' itself shall be symbolic, i.e. always appear as ...
Evanesce asked 29/9, 2017 at 15:54

1

I want to solve the linear equation for n given points in n dimensional space to get the equation of hyper-plane. for example, in two dimensional case, Ax + By + C = 0. How can I get one solution...
Acclamation asked 24/5, 2018 at 13:23

11

Solved

I need to programmatically solve a system of linear equations in C, Objective C, or (if needed) C++. Here's an example of the equations: -44.3940 = a * 50.0 + b * 37.0 + tx -45.3049 = a * 43.0 + ...
Adroit asked 3/8, 2008 at 18:14

4

Solved

I have a system of linear equations that make up an NxM matrix (i.e. Non-square) which I need to solve - or at least attempt to solve in order to show that there is no solution to the system....
Secretary asked 25/10, 2011 at 17:2

1

Solved

I have a system of linear inequalities/equalities to solve in Matlab and I use linprog. As some of the inequalities are strict I use a very small costant eps to get get the strict inclusion as exp...
Halfback asked 25/10, 2017 at 18:20

1

Solved

How to solve a homogenous system Ax = 0, when A is any m * n matrix (not necessarily a square one) in R? # A=[-0.1 0.1]= 1x2 matrix; x=2x1 to be found; 0: 1x1 zero matrix A <- t(matrix(c(-0.1,0...
Heald asked 5/4, 2017 at 6:36

3

Is there any algorithm to solve a system of equations expressed in different modulo spaces? For exemple, consider this system of equations: (x1 + x2 ) % 2 = 0 ( x2 + x3) % 2 = 0 (x1 + x2 + x3) % 3...
Burress asked 4/2, 2017 at 19:46

1

I don't work with tiles but cubes drawn with sf::Vertex. Each cubes have 6 sides with 4 points each. So i just have to cubes[numCube].sides()[numSide].... to select a side. I create cubes layer....
Floyfloyd asked 25/11, 2015 at 0:34

2

Solved

I was wondering whether there exist any packages or other pre-built solutions for R that are capable of translating sets of linear equations into matrix form (e.g. for solution via the Gauss Seidel...
Gurgle asked 22/11, 2014 at 11:36

1

Solved

I'm programming in fortran and trying to use the DGETRI matrix inverter from the Lapack package: http://www.netlib.org/lapack/explore-html/df/da4/dgetri_8f.html But very strangely it seems to be ...
Stoma asked 20/10, 2014 at 22:28

1

Solved

I have a linear equation: vt = v1*x1 + v2*x2 + v3*x3 vt, v1, v2, v3 are scalars with values between 0 and 1. What is the best way to generate one set (any set will be fine) of x1, x2 and x3 that...
Quinquefid asked 16/7, 2014 at 15:40

2

Solved

Hi I would like to ask my fellow python users how they perform their linear fitting. I have been searching for the last two weeks on methods/libraries to perform this task and I would like ...
Scarface asked 26/3, 2014 at 18:32

2

Solved

I have to solve a system that consists of 32 xor equations, each involving 15 of 32 variables. One would look like this: i[0] = p[0] ^ p[4] ^ p[5] ^ p[10] ^ p[11] ^ p[20] ^ p[21] ^ p[22] ^ p[23] ^...
Recently asked 13/10, 2013 at 21:58

4

Solved

My problem is that I have a Matrix where the sum of all rows, and the sum of all columns is zero. All numbers are rounded to x decimals. Then I multiply the entire matrix with a number between 0 a...
Pithos asked 5/12, 2012 at 14:16

3

Solved

I am trying to convert the equation below into programming code. The purpose is to find the intersecting point of the two lines. And to pront (y1 - y2)x - (x1 - x2)y = (y1 - y2)x1 - (x1 - x...
Interracial asked 27/9, 2012 at 0:31

4

I'd like to combine a few metrics of nodes in a social network graph into a single value for rank ordering the nodes: in_degree + betweenness_centrality = informal_power_index The problem is tha...
Kraska asked 1/4, 2009 at 3:9

1

Solved

I am starting use PETSc library to solve linear system of equations in parallel. I have installed all packages, build and run successfully the examples in petsc/src/ksp/ksp/examples/tutorials/ fold...
Caterpillar asked 30/5, 2012 at 11:32

0

I am trying to build a script that will dynamically arrange photos like a collage very similar to what is done on http://lightbox.com/explore#spotlight. I can off course write code that would hand...
Aphorize asked 16/12, 2011 at 14:34

2

Solved

What are the advantages of using a permutation matrix to swap rows? Why one would create a permutation matrix and then apply a matrix multiplication, is it easier and more efficient than just swapp...
Henton asked 11/6, 2011 at 2:16

3

Solved

I have to finding any solution (there may exist many or none) of any number of given liner equations with any number of variables. In Java. What libraries and method use? What to implement? I want ...
Cherianne asked 17/1, 2011 at 20:38

4

Solved

I want to solve a system of n linear equations containing n variables using a genetic algorithm. I am having difficulty in defining the crossover operation as the solution may consist of floating ...
Lanlana asked 7/11, 2009 at 8:25
1

© 2022 - 2024 — McMap. All rights reserved.