ViennaCL - The Vienna Computing Library  1.5.2
Data Structures | Namespaces | Functions
vandermonde_matrix.hpp File Reference

Implementation of the vandermonde_matrix class for efficient manipulation of Vandermonde matrices. Experimental. More...

#include <cmath>
#include "viennacl/forwards.h"
#include "viennacl/vector.hpp"
#include "viennacl/ocl/backend.hpp"
#include "viennacl/fft.hpp"
#include "viennacl/linalg/vandermonde_matrix_operations.hpp"

Go to the source code of this file.

Data Structures

class  vandermonde_matrix< SCALARTYPE, ALIGNMENT >
 A Vandermonde matrix class. More...
 

Namespaces

 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, vandermonde_matrix< SCALARTYPE, ALIGNMENT > &gpu_mat)
 Copies a Vandermonde matrix from the std::vector to the OpenCL device (either GPU or multi-core CPU) More...
 
template<typename SCALARTYPE , unsigned int ALIGNMENT>
void copy (vandermonde_matrix< SCALARTYPE, ALIGNMENT > &gpu_mat, std::vector< SCALARTYPE > &cpu_vec)
 Copies a Vandermonde matrix from the OpenCL device (either GPU or multi-core CPU) to the std::vector. More...
 
template<typename SCALARTYPE , unsigned int ALIGNMENT, typename MATRIXTYPE >
void copy (vandermonde_matrix< SCALARTYPE, ALIGNMENT > &vander_src, MATRIXTYPE &com_dst)
 Copies a Vandermonde matrix from the OpenCL device (either GPU or multi-core CPU) to the matrix-like object. More...
 
template<typename SCALARTYPE , unsigned int ALIGNMENT, typename MATRIXTYPE >
void copy (MATRIXTYPE &com_src, vandermonde_matrix< SCALARTYPE, ALIGNMENT > &vander_dst)
 Copies a the matrix-like object to the Vandermonde matrix from the OpenCL device (either GPU or multi-core CPU) More...
 
template<class SCALARTYPE , unsigned int ALIGNMENT>
std::ostream & operator<< (std::ostream &s, vandermonde_matrix< SCALARTYPE, ALIGNMENT > &gpu_matrix)
 Prints the matrix. Output is compatible to boost::numeric::ublas. More...
 

Detailed Description

Implementation of the vandermonde_matrix class for efficient manipulation of Vandermonde matrices. Experimental.