ViennaCL - The Vienna Computing Library  1.2.0
Namespaces | Functions
clear.hpp File Reference

Generic clear functionality for different vector and matrix types. More...

#include <string>
#include <fstream>
#include <sstream>
#include "viennacl/forwards.h"
#include "viennacl/traits/size.hpp"
#include <vector>
#include <map>

Go to the source code of this file.

Namespaces

namespace  viennacl
namespace  viennacl::traits

Functions

template<typename VectorType >
void clear (VectorType &vec)
template<typename ScalarType , unsigned int ALIGNMENT>
void clear (viennacl::vector< ScalarType, ALIGNMENT > &vec)

Detailed Description

Generic clear functionality for different vector and matrix types.