All Classes Namespaces Files Functions Variables Typedefs Pages
Public Types | Public Member Functions | List of all members
PEXSI::Vec3T< F > Class Template Reference

Tiny vectors of dimension 3. More...

#include <tinyvec.hpp>

Public Types

enum  { X =0, Y =1, Z =2 }

Public Member Functions

 Vec3T (const F *f)
 Vec3T (const F a, const F b, const F c)
 Vec3T (const Vec3T &c)
 operator F * ()
 operator const F * () const
F * Data ()
F & operator() (Int i)
const F & operator() (Int i) const
F & operator[] (Int i)
const F & operator[] (Int i) const
Vec3Toperator= (const Vec3T &c)
Vec3Toperator+= (const Vec3T &c)
Vec3Toperator-= (const Vec3T &c)
Vec3Toperator*= (const F &s)
Vec3Toperator/= (const F &s)
l1 (void) const
linfty (void) const
l2 (void) const

Detailed Description

template<class F>
class PEXSI::Vec3T< F >

Tiny vectors of dimension 3.

The main use of tiny vectors is to represent a triplet of three indices (Index3) and three real numbers (Point3).

The documentation for this class was generated from the following files: