Commit 970477b1 authored by Daniel Brown's avatar Daniel Brown
Browse files

removing unused information

parent da26b2e0
......@@ -124,8 +124,6 @@ cdef class SubCCSView:
complex_t* ptr
np.ndarray A
readonly complex_t[:, ::1] from_rhs_view # rhs[rhs index, rhs values]
tuple __shape
tuple __strides
cdef void fill_za(self, complex_t a)
cdef void fill_zd(self, complex_t[::1] D)
......
# cython profile=True
# cython: profile=True
"""
Sparse matrix objects with factorisation and solving routines performed via KLU.
"""
......@@ -560,8 +560,6 @@ cdef class SubCCSView:
self.A = None
self._from = _from
self._to = _to
self.__shape = None
self.__strides = None
self.conjugate_fill = conjugate_fill
@property
......@@ -572,7 +570,11 @@ cdef class SubCCSView:
@property
def shape(self):
return self.__shape
return (self.size1, self.size2)
@property
def strides(self):
return (self.stride1, self.stride2)
@property
def view(self):
......@@ -852,6 +854,9 @@ cdef class SubCCSMatrixView(SubCCSView):
# double* access to imaginary part
((<double*>self.ptr) + 2*i*stride + 1)[0] *= -1
def do_fill_prop_za_zm(self, SubCCSView V, Py_ssize_t rhs_idx, complex_t a, complex_t[:,::1] M, bint increment):
self.fill_prop_za_zm(V, rhs_idx, a, M, increment)
@cython.boundscheck(False)
@cython.wraparound(False)
@cython.initializedcheck(False)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment