molecular
Public Member Functions | List of all members
molecular::util::IntVector4 Class Reference

Integer vector with four components. More...

#include <Vector.h>

Inheritance diagram for molecular::util::IntVector4:
molecular::util::VectorTmpl< 4, IntVector4, int32_t >

Public Member Functions

 IntVector4 ()=default
 
 IntVector4 (int32_t x, int32_t y, int32_t z, int32_t w)
 
- Public Member Functions inherited from molecular::util::VectorTmpl< 4, IntVector4, int32_t >
 VectorTmpl ()
 
T operator[] (const int n) const
 
Toperator[] (const int n)
 
 operator const T * () const
 
 operator T * ()
 
Subclass operator* (T r) const
 Component-wise multiplication. More...
 
Subclass operator* (const VectorTmpl &in) const
 Component-wise multiplication. More...
 
Subclassoperator+= (const VectorTmpl &in)
 
Subclassoperator*= (T r)
 Component-wise in-place multiplication. More...
 
Subclassoperator*= (const VectorTmpl &in)
 Component-wise in-place multiplication. More...
 
Subclass operator/ (T r) const
 Component-wise scalar division. More...
 
Subclassoperator/= (T r)
 Component-wise in-place scalar division. More...
 
Subclassoperator/= (const VectorTmpl &in)
 Component-wise in-place division. More...
 
Subclass operator- (const VectorTmpl &in) const
 
Subclass operator- () const
 
Subclass operator+ (const VectorTmpl &in) const
 
bool operator== (const VectorTmpl &in) const
 
T LengthSquared () const
 
T Length () const
 
Subclass Normalized () const
 
T Dot (const VectorTmpl &in)
 Dot product. More...
 

Additional Inherited Members

- Public Types inherited from molecular::util::VectorTmpl< 4, IntVector4, int32_t >
typedef int32_t T
 
using Subclass = IntVector4
 
- Protected Attributes inherited from molecular::util::VectorTmpl< 4, IntVector4, int32_t >
T v [components]
 

Detailed Description

Integer vector with four components.

Constructor & Destructor Documentation

molecular::util::IntVector4::IntVector4 ( )
default
molecular::util::IntVector4::IntVector4 ( int32_t  x,
int32_t  y,
int32_t  z,
int32_t  w 
)
inline

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