StatMech
Loading...
Searching...
No Matches
HilbertSpace< Derived > Class Template Reference

#include <HilbertSpace.hpp>

Inheritance diagram for HilbertSpace< Derived >:
Inheritance graph
Collaboration diagram for HilbertSpace< Derived >:
Collaboration graph

Public Member Functions

__host__ __device__ int dim () const
 
Operator overloads
__host__ __device__ bool operator== (HilbertSpace const &other) const
 

Member Function Documentation

◆ dim()

template<class Derived >
__host__ __device__ int HilbertSpace< Derived >::dim ( ) const
inline
34 {
35 return static_cast<Derived const*>(this)->dim_impl();
36 };

◆ operator==()

template<class Derived >
__host__ __device__ bool HilbertSpace< Derived >::operator== ( HilbertSpace< Derived > const &  other) const
inline
40 {
41 return this->dim() == other.dim();
42 }
__host__ __device__ int dim() const
Definition HilbertSpace.hpp:34

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