Package parsimony :: Package utils :: Module linalgs :: Class Solver
[hide private]
[frames] | no frames]

Class Solver

source code

object --+
         |
        Solver
Known Subclasses:

Nested Classes [hide private]
  __metaclass__
Metaclass for defining Abstract Base Classes (ABCs).
Instance Methods [hide private]
 
solve(A, b, eps=5e-08, max_iter=10000)
Solves a linear system on the form
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  __abstractmethods__ = frozenset([])
  _abc_cache = <_weakrefset.WeakSet object at 0x308f190>
  _abc_negative_cache = <_weakrefset.WeakSet object at 0x308f210>
  _abc_negative_cache_version = 10
  _abc_registry = <_weakrefset.WeakSet object at 0x308f0d0>
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

solve(A, b, eps=5e-08, max_iter=10000)

source code 
Solves a linear system on the form

    A.x = b,

for x.

Parameters
----------
A : A matrix with shape n-by-p. The coefficient matrix.

b : Numpy array, n-by-1. The right-hand-side vector.