Classes | |
| class | slim_builder |
| This function is for SCons integration with SLIMpy inline inside the SConstruct file. More... | |
| class | slim_builder_simple |
| This function is for SCons integration with SLIMpy inline inside the SConstruct file. More... | |
Functions | |
| def | SolveBuilder |
| Base solve routine with no default values env must define the following functions:. | |
| def slimproj_core.builders.NewSolve.SolveBuilder | ( | target, | ||
| source, | ||||
| env | ||||
| ) |
Base solve routine with no default values env must define the following functions:.
| problem | is a package containing default callbacks and documentation. see contrib_problems for a list of existing problems in SLIMpy | |
| setup_callback | defined as setup_callback( target, source, env ): returns the initial vector, useful for managing augmented vectors | |
| solver_callback | defined as solver_callback( target, source, env, A ): returns a solver instance | |
| precondition_callback | defined as precondition_callback( target, source, env, space ): returns the preconditioner linear operator 'P' | |
| transform_callback | defined as transform_callback( target, source, env, space ): returns the transform 'A' to pass to the solver 'solve' method | |
| inv_callback | defined as inv_callback( target, source, env, space ): optional, returns the linear operator 'C' in not specified uses the transform_callback | |
| result_callback | defined as result_callback( target, source, env, result ) returns None sets the name of the result, useful for managing augmented vectors |
>>> b = P*data
>>> x = solver.solve(A, b )
>>> result = P.adj() * ( C*x )
from slimproj import * from SLIMpy.problems import * def transform_callback( target, source, env, space ): return Identity( space ) Solve( target, source, problem=l2_min_problem, transform_callback=transform_callback )
Definition at line 90 of file NewSolve.py.
1.5.6