Collective Variables Module - Developer Documentation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Friends | List of all members
colvarmodule::rmatrix Class Reference

2-dimensional array of real numbers with three components along each dimension (works with colvarmodule::rvector) More...

#include <colvartypes.h>

Public Member Functions

COLVARS_HOST_DEVICE rmatrix ()
 Default constructor.
 
COLVARS_HOST_DEVICE rmatrix (cvm::real xxi, cvm::real xyi, cvm::real xzi, cvm::real yxi, cvm::real yyi, cvm::real yzi, cvm::real zxi, cvm::real zyi, cvm::real zzi)
 Constructor component by component.
 
COLVARS_HOST_DEVICE void reset ()
 
COLVARS_HOST_DEVICE cvm::real determinant () const
 Return the determinant.
 
COLVARS_HOST_DEVICE cvm::rmatrix transpose () const
 
COLVARS_HOST_DEVICE rmatrixoperator+= (const rmatrix &rhs)
 

Public Attributes

cvm::real xx
 
cvm::real xy
 
cvm::real xz
 
cvm::real yx
 
cvm::real yy
 
cvm::real yz
 
cvm::real zx
 
cvm::real zy
 
cvm::real zz
 

Friends

COLVARS_HOST_DEVICE friend cvm::rvector operator* (cvm::rmatrix const &m, cvm::rvector const &r)
 

Detailed Description

2-dimensional array of real numbers with three components along each dimension (works with colvarmodule::rvector)


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