/usr/lib/python2.7/dist-packages/pysparse/directSolver.py is in python-sparse 1.1.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | """
A framework for solving sparse linear systems of equations using a direct
factorization.
"""
__docformat__ = 'restructuredtext'
import pysparseMatrix as psm
import numpy
class PysparseDirectSolver:
"""
`PysparseDirectSolver` is a generic class and should be subclassed.
"""
def __init__(self, A, **kwargs):
return
def solve(self, b, **kwargs):
raise NotImplementedError
return
|