|
|
template<typename TargetType , typename TVector > |
| const TVector & | pm::convert_to (const GenericVector< TVector, TargetType > &v) |
| | explicit conversion of vector elements to another type
|
| |
|
template<typename E > |
| auto | pm::same_element_vector (E &&x, Int dim=0) |
| | Create a vector with all entries equal to the given element x.
|
| |
|
template<typename E > |
| auto | pm::ones_vector (Int dim=0) |
| | Create a vector with all entries equal to 1.
|
| |
|
template<typename E > |
| auto | pm::zero_vector (Int dim=0) |
| | Create a vector with all entries equal to 0.
|
| |