Ask Your Question

oren's profile - activity

2022-02-17 13:21:50 +0200 received badge  Famous Question (source)
2016-09-15 18:00:32 +0200 received badge  Notable Question (source)
2016-09-15 18:00:32 +0200 received badge  Popular Question (source)
2014-09-18 19:48:41 +0200 commented question Linear equations with errors

Update: I created a matrix $M$ with rows representing the equations, used M.SVD(), and took the vectors corresponding to the very small singular values. It worked.

2014-09-18 19:45:25 +0200 commented question Linear equations with errors

@tmontiel: The numbers are real numeric.

2014-09-16 18:04:30 +0200 asked a question Linear equations with errors

I have a system of $n^2$ homogeneous linear equations in $n^2$ variables. Each equation is sparse and only involves $2n$ variables.

I create a list of equations and use solve(). I only get the "all-zero" solution. This is because of inaccuracies in the equations. I know (from theory) that there is be a nonzero kernel.

So, I'd like to find an approximate solution. That is - a solution of norm 1, which "almost fulfills" the equations. Behind the scenes I probably need the SVD decomposition of the matrix describing the equations (or at least, the input vectors corresponding to the small singular values).

  1. Do I have to create a matrix to represent the equations, or can I use my equations directly?
  2. Can it be a sparse matrix?
  3. Do I have to use an SVD routine, or is there some convenient way to solve my problem directly?
  4. Do you have an example of how to do it?
2010-12-16 10:05:14 +0200 received badge  Student (source)
2010-12-12 11:11:21 +0200 asked a question intersection of subgroups

I have a group and I'd like to compute the intersection of 2 certain subgroups. How can I compute the intersection in Sage?