| Home | Trees | Indices | Help |
|---|
|
|
Classes
-------
LinearOperator : Provides the LinearOperator class, which is the base
class for all operators. This class is shamelessly taken from the
scipy.sparse.linalg package.
Functions
---------
aslinearoperator : transforms a class with the matvec method into a
LinearOperator
concatenate : Transform a list of LinearOperators into a
LinearOperator by concatenation.
block_diagonal : Transform a list of LinearOperators into a
block-diagonal LinearOperator with given LinearOperators on the
diagonal.
|
|||
|
LinearOperator Common interface for performing matrix vector products |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
__package__ =
|
|||
|
|||
Return A as a LinearOperator. 'A' may be any of the following types: - ndarray - matrix - sparse matrix (e.g. csr_matrix, lil_matrix, etc.) - LinearOperator - An object with .shape and .matvec attributes See the LinearOperator documentation for additonal information. Examples -------- >>> from scipy import matrix >>> M = matrix( [[1,2,3],[4,5,6]], dtype='int32' ) >>> aslinearoperator( M ) <2x3 LinearOperator with dtype=int32> |
Concatenate LinearOperator in rows or in columns.
Parameters
----------
As : list of LinearOperators
The list of LinearOperators to concatenate.
axis : 0 or 1
The axis along which to concatenate the LinearOperators.
Returns
-------
out: LinearOperator
Output a LinearOperator which is the concatenation of a list of
LinearOpeartors.
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Thu Jun 2 17:46:14 2011 | http://epydoc.sourceforge.net |