|
FlexBox - A Flexible Primal-Dual ToolBox
|
represents a diagonal operator More...
#include <flexDiagonalOperator.h>
Classes | |
| struct | flexDiagonalOperatorFunctor |
Public Member Functions | |
| flexDiagonalOperator (std::vector< T > aDiagonalElements, bool aMinus) | |
| initializes the concatenation operator for non-CUDA versions More... | |
| flexDiagonalOperator (Tdata aDiagonalElements, bool aMinus) | |
| initializes the concatenation operator for CUDA versions More... | |
| flexDiagonalOperator< T > * | copy () |
| copies the linear operator More... | |
| void | times (bool transposed, const Tdata &input, Tdata &output) |
| applies linear operator on vector More... | |
| void | timesPlus (bool transposed, const Tdata &input, Tdata &output) |
| applies linear operator on vector and adds its result to y More... | |
| void | timesMinus (bool transposed, const Tdata &input, Tdata &output) |
| applies linear operator on vector and substracts its result from y More... | |
| std::vector< T > | getAbsRowSum (bool transposed) |
| returns a vector of sum of absolute values per row used for preconditioning More... | |
| T | getMaxRowSumAbs (bool transposed) |
| returns the maximum sum of absolute values per row used for preconditioning More... | |
| thrust::device_vector< T > | getAbsRowSumCUDA (bool transposed) |
| same function as getAbsRowSum() but implemented in CUDA More... | |
Public Member Functions inherited from flexLinearOperator< T > | |
| flexLinearOperator (int aNumRows, int aNumCols, linOp aType, bool aIsMinus) | |
| initializes the linear operator More... | |
| int | getNumCols () const |
| returns number of columns of the linear operator More... | |
| int | getNumRows () const |
| returns number of rows of the linear operator More... | |
| void | setNumCols (int aNumCols) |
| sets the number of columns of the linear operator More... | |
| void | setNumRows (int aNumRows) |
| sets the number of rows of the linear operator More... | |
| void | setMinus (bool aIsMinus) |
| constrols if operator should be negated or not More... | |
Additional Inherited Members | |
Public Attributes inherited from flexLinearOperator< T > | |
| linOp | type |
| type of linear operator More... | |
| bool | isMinus |
| determines if operator is negated | |
represents a diagonal operator
|
inline |
initializes the concatenation operator for non-CUDA versions
| aDiagonalElements | vector of diagonal Elements |
| aMinus | determines if operator is negated |
|
inline |
initializes the concatenation operator for CUDA versions
| aDiagonalElements | vector of diagonal Elements where Tdata is of type thrust::device_vector<T> |
| aMinus | determines if operator is negated |
|
inlinevirtual |
|
inlinevirtual |
returns a vector of sum of absolute values per row used for preconditioning
| transposed | is true if operator should be (temporarily) transposed before usage |
Implements flexLinearOperator< T >.
|
inlinevirtual |
same function as getAbsRowSum() but implemented in CUDA
| transposed | is true if operator should be (temporarily) transposed before usage |
Implements flexLinearOperator< T >.
|
inlinevirtual |
returns the maximum sum of absolute values per row used for preconditioning
| transposed | is true if operator should be (temporarily) transposed before usage |
Implements flexLinearOperator< T >.
|
inlinevirtual |
applies linear operator on vector
equals
| transposed | is true if operator should be (temporarily) transposed before usage |
| input | data to be processed |
| output | output data |
Implements flexLinearOperator< T >.
|
inlinevirtual |
applies linear operator on vector and substracts its result from y
equals
| transposed | is true if operator should be (temporarily) transposed before usage |
| input | data to be processed |
| output | output data |
Implements flexLinearOperator< T >.
|
inlinevirtual |
applies linear operator on vector and adds its result to y
equals
| transposed | is true if operator should be (temporarily) transposed before usage |
| input | data to be processed |
| output | output data |
Implements flexLinearOperator< T >.
1.8.13