|
ViennaCL - The Vienna Computing Library
1.5.1
|
Specialization of a scalar expression for norm_1. Allows for a final reduction on the CPU. More...
#include <scalar.hpp>
Public Types | |
| typedef viennacl::result_of::cpu_value_type < LHS >::type | ScalarType |
Public Member Functions | |
| scalar_expression (LHS &lhs, RHS &rhs) | |
| LHS & | lhs () const |
| Returns the left hand side operand. | |
| RHS & | rhs () const |
| Returns the left hand side operand. | |
| operator ScalarType () const | |
| Conversion operator to a ViennaCL scalar. | |
Specialization of a scalar expression for norm_1. Allows for a final reduction on the CPU.
| LHS | The left hand side operand |
| RHS | The right hand side operand |
| typedef viennacl::result_of::cpu_value_type<LHS>::type ScalarType |
| scalar_expression | ( | LHS & | lhs, |
| RHS & | rhs | ||
| ) | [inline] |
| LHS& lhs | ( | ) | const [inline] |
Returns the left hand side operand.
| operator ScalarType | ( | void | ) | const [inline] |
Conversion operator to a ViennaCL scalar.
| RHS& rhs | ( | ) | const [inline] |
Returns the left hand side operand.
1.7.6.1