Did I find the right examples for you? yes no

# base.spmatrix.__class__

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)

```                j = self._slicetoseq(j, self.shape[1])
if issequence(j):
return self.__class__([[self._get1(i, jj) for jj in j]])
elif issequence(i) and issequence(j):
return self.__class__([[self._get1(ii, jj) for (ii, jj) in zip(i, j)]])
elif issequence(i) or isinstance(i, slice):
if isinstance(i, slice):
i = self._slicetoseq(i, self.shape[0])
if np.isscalar(j):
return self.__class__([[self._get1(ii, j)] for ii in i])
```
```                j = self._slicetoseq(j, self.shape[1])
if issequence(j):
return self.__class__([[self._get1(ii, jj) for jj in j] for ii in i])
else:
raise IndexError
```

```                j = self._slicetoseq(j, self.shape[1])
if issequence(j):
return self.__class__([[self._get1(i, jj) for jj in j]])
elif issequence(i) and issequence(j):
return self.__class__([[self._get1(ii, jj) for (ii, jj) in zip(i, j)]])
elif issequence(i) or isinstance(i, slice):
if isinstance(i, slice):
i = self._slicetoseq(i, self.shape[0])
if np.isscalar(j):
return self.__class__([[self._get1(ii, j)] for ii in i])
```
```                j = self._slicetoseq(j, self.shape[1])
if issequence(j):
return self.__class__([[self._get1(ii, jj) for jj in j] for ii in i])
else:
raise IndexError
```