|
ViennaCL - The Vienna Computing Library
1.5.1
|
Implementation of the circulant_matrix class for efficient manipulation of circulant matrices. Experimental. More...
#include "viennacl/forwards.h"#include "viennacl/vector.hpp"#include "viennacl/ocl/backend.hpp"#include "viennacl/linalg/circulant_matrix_operations.hpp"#include "viennacl/fft.hpp"Go to the source code of this file.
Data Structures | |
| class | circulant_matrix< SCALARTYPE, ALIGNMENT > |
| A Circulant matrix class. More... | |
Namespaces | |
| namespace | viennacl |
Main namespace in ViennaCL. Holds all the basic types such as vector, matrix, etc. and defines operations upon them. | |
Functions | |
| template<typename SCALARTYPE , unsigned int ALIGNMENT> | |
| void | copy (std::vector< SCALARTYPE > &cpu_vec, circulant_matrix< SCALARTYPE, ALIGNMENT > &gpu_mat) |
| Copies a circulant matrix from the std::vector to the OpenCL device (either GPU or multi-core CPU) | |
| template<typename SCALARTYPE , unsigned int ALIGNMENT> | |
| void | copy (circulant_matrix< SCALARTYPE, ALIGNMENT > &gpu_mat, std::vector< SCALARTYPE > &cpu_vec) |
| Copies a circulant 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 (circulant_matrix< SCALARTYPE, ALIGNMENT > &circ_src, MATRIXTYPE &com_dst) |
| Copies a circulant 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 &com_src, circulant_matrix< SCALARTYPE, ALIGNMENT > &circ_dst) |
| Copies a the matrix-like object to the circulant matrix from the OpenCL device (either GPU or multi-core CPU) | |
| template<class SCALARTYPE , unsigned int ALIGNMENT> | |
| std::ostream & | operator<< (std::ostream &s, circulant_matrix< SCALARTYPE, ALIGNMENT > &gpu_matrix) |
| Prints the matrix. Output is compatible to boost::numeric::ublas. | |
Implementation of the circulant_matrix class for efficient manipulation of circulant matrices. Experimental.
1.7.6.1