Peano
Loading...
Searching...
No Matches
Vector.h File Reference
#include "tarch/la/la.h"
#include "tarch/Assertions.h"
#include "tarch/accelerator/accelerator.h"
#include "tarch/compiler/CompilerSpecificSettings.h"
#include <string>
#include <bitset>
#include <sstream>
#include <initializer_list>
#include "tarch/la/Vector.cpph"
#include "tarch/la/VectorOperations.h"
#include "tarch/la/VectorScalarOperations.h"
#include "tarch/la/VectorVectorOperations.h"
#include "tarch/la/VectorSlice.h"
Include dependency graph for Vector.h:

Go to the source code of this file.

Data Structures

struct  tarch::la::Vector< Size, Scalar >
 Simple vector class. More...
 

Namespaces

namespace  tarch
 Have to include this header, as I need access to the SYCL_EXTERNAL keyword.
 
namespace  tarch::la
 My collection of tiny vector operations.
 

Functions

template<typename NewScalarType , int Size, typename Scalar >
tarch::la::Vector< Size, NewScalarType > tarch::la::convertScalar (const tarch::la::Vector< Size, Scalar > &vector)
 
template<int Size, typename Scalar >
std::string toString (const tarch::la::Vector< Size, Scalar > &vector)
 Pipes the elements of a vector into a std::string and returns the string.
 

Function Documentation

◆ toString()

template<int Size, typename Scalar >
std::string toString ( const tarch::la::Vector< Size, Scalar > & vector)

Pipes the elements of a vector into a std::string and returns the string.

Not a member of the class as I otherwise can't translate it for GPUs.

Definition at line 80 of file Vector.cpph.