Implementation of the toeplitz_matrix class for efficient manipulation of Toeplitz matrices. Experimental in 1.2.x. More...
#include "viennacl/forwards.h"
#include "viennacl/vector.hpp"
#include "viennacl/ocl/context.hpp"
#include "viennacl/fft.hpp"
#include "viennacl/linalg/toeplitz_matrix_operations.hpp"
Go to the source code of this file.
Data Structures | |
class | toeplitz_matrix< SCALARTYPE, ALIGNMENT > |
A Toeplitz matrix class. More... | |
Namespaces | |
namespace | viennacl |
Functions | |
template<typename SCALARTYPE , unsigned int ALIGNMENT> | |
void | copy (std::vector< SCALARTYPE > const &cpu_vec, toeplitz_matrix< SCALARTYPE, ALIGNMENT > &gpu_mat) |
Copies a Toeplitz matrix from the std::vector to the OpenCL device (either GPU or multi-core CPU). | |
template<typename SCALARTYPE , unsigned int ALIGNMENT> | |
void | copy (toeplitz_matrix< SCALARTYPE, ALIGNMENT > const &gpu_mat, std::vector< SCALARTYPE > &cpu_vec) |
Copies a Toeplitz matrix from the OpenCL device (either GPU or multi-core CPU) to the std::vector. | |
template<typename SCALARTYPE , unsigned int ALIGNMENT, typename MATRIXTYPE > | |
void | copy (toeplitz_matrix< SCALARTYPE, ALIGNMENT > const &tep_src, MATRIXTYPE &com_dst) |
Copies a Toeplitz matrix from the OpenCL device (either GPU or multi-core CPU) to the matrix-like object. | |
template<typename SCALARTYPE , unsigned int ALIGNMENT, typename MATRIXTYPE > | |
void | copy (MATRIXTYPE const &com_src, toeplitz_matrix< SCALARTYPE, ALIGNMENT > &tep_dst) |
Copies a the matrix-like object to the Toeplitz matrix from the OpenCL device (either GPU or multi-core CPU). | |
template<class SCALARTYPE , unsigned int ALIGNMENT> | |
std::ostream & | operator<< (std::ostream &s, toeplitz_matrix< SCALARTYPE, ALIGNMENT > &gpu_matrix) |
Prints the matrix. Output is compatible to boost::numeric::ublas. |
Implementation of the toeplitz_matrix class for efficient manipulation of Toeplitz matrices. Experimental in 1.2.x.