|
linbox
|
The default butterfly switch object. More...
Data Structures | |
| struct | rebind |
Public Types | |
| typedef Field::Element | Element |
| Typedef. | |
| typedef CekstvSwitch< Field > | Self_t |
| typedef CekstvSwitchFactory< Field > | Factory |
Public Member Functions | |
| CekstvSwitch () | |
| CekstvSwitch (const typename Field::Element &a) | |
| Constructor from a field and a field element. | |
| ~CekstvSwitch () | |
| Destructor. | |
| bool | apply (const Field &F, Element &x, Element &y) const |
| Apply switch function. | |
| bool | applyTranspose (const Field &F, Element &x, Element &y) const |
| Apply switch transpose function. | |
| Field::Element & | getData () |
| const Field::Element & | getData () const |
The default butterfly switch object.
This is a predicate object that is applied to two elements to switch them as needed by the Butterfly\ Switching\ Network\ BlackBox\ Matrix\ Object following the exchange matrix introduced in "Efficient Matrix Preconditioners for Black Box Linear Algebra" by Chen, Eberly, Kaltofen, Saunders, Turner, and Villard.
| typedef CekstvSwitch<Field> Self_t |
| typedef CekstvSwitchFactory<Field> Factory |
|
inline |
|
inline |
Constructor from a field and a field element.
| a | vector of switches |
|
inline |
Destructor.
|
inline |
Apply switch function.
Switches the elements in references according to the exchange matrix introduced in "Efficient Matrix Preconditioners for Black Box Linear Algebra" by Chen, Eberly, Kaltofen, Saunders, Turner, and Villard and the current field element specified in the switch object.
| F | |
| x | reference to first element to be switched |
| y | reference to second element to be switched |
|
inline |
Apply switch transpose function.
Switches the elements in references according to the transpose of the exchange matrix introduced in "Efficient Matrix Preconditioners for Black Box Linear Algebra" by Chen, Eberly, Kaltofen, Saunders, Turner, and Villard and the current field element specified in the switch object.
| F | |
| x | reference to first element to be switched |
| y | reference to second element to be switched |
|
inline |
|
inline |