mgcpp
A C++ Math Library Based on CUDA
Namespaces | Typedefs | Functions
pad.hpp File Reference
#include <mgcpp/matrix/dense_matrix.hpp>
#include <mgcpp/matrix/device_matrix.hpp>
#include <mgcpp/type_traits/host_value_type.hpp>
#include <mgcpp/vector/dense_vector.hpp>
#include <mgcpp/vector/device_vector.hpp>
#include <tuple>
#include <mgcpp/operations/pad.tpp>
Include dependency graph for pad.hpp:

Go to the source code of this file.

Namespaces

 mgcpp
 
 mgcpp::strict
 

Typedefs

using mgcpp::pad_size_t = std::pair< size_t, size_t >
 

Functions

template<typename DenseVec , typename Type >
decltype(auto) mgcpp::strict::pad (dense_vector< DenseVec, Type > const &vec, pad_size_t pad, typename value_type< Type >::type pad_constant=typename value_type< Type >::type{})