as_column_vector_or_scalar of a kernel generator expression.
Converts input argument to a var_value<>
with column vector or a scalar.
Converts std::vector
to a column vector.
- Template Parameters
-
- Parameters
-
a | input argument (must be a row or a column vector) |
- Returns
- as_column_vector_or_scalar of given expression
- Template Parameters
-
- Parameters
-
- Returns
- input converted to a column vector.
For column vector inputs this is an identity function.
- Template Parameters
-
- Parameters
-
- Returns
- Same vector.
Definition at line 325 of file as_column_vector_or_scalar.hpp.