Generic size and resize functionality for different vector and matrix types. More...
#include <string>
#include <fstream>
#include <sstream>
#include "viennacl/forwards.h"
#include "viennacl/meta/result_of.hpp"
#include <vector>
#include <map>
Go to the source code of this file.
Namespaces | |
namespace | viennacl |
namespace | viennacl::traits |
Functions | |
template<typename MatrixType > | |
void | resize (MatrixType &matrix, size_t rows, size_t cols) |
template<typename VectorType > | |
void | resize (VectorType &vec, size_t new_size) |
template<typename VectorType > | |
result_of::size_type < VectorType >::type | size (VectorType const &vec) |
template<typename MatrixType > | |
result_of::size_type < MatrixType >::type | size1 (MatrixType const &mat) |
template<typename MatrixType > | |
result_of::size_type < MatrixType >::type | size2 (MatrixType const &mat) |
template<typename VectorType > | |
result_of::size_type < VectorType >::type | internal_size (VectorType const &vec) |
template<typename VectorType > | |
result_of::size_type < VectorType >::type | internal_size (viennacl::vector_range< VectorType > const &vec) |
template<typename MatrixType > | |
result_of::size_type < MatrixType >::type | internal_size1 (MatrixType const &mat) |
template<typename MatrixType > | |
result_of::size_type < MatrixType >::type | internal_size1 (viennacl::matrix_range< MatrixType > const &mat) |
template<typename MatrixType > | |
result_of::size_type < MatrixType >::type | internal_size2 (MatrixType const &mat) |
template<typename MatrixType > | |
result_of::size_type < MatrixType >::type | internal_size2 (viennacl::matrix_range< MatrixType > const &mat) |
Generic size and resize functionality for different vector and matrix types.