cheshirekow  v0.1.0
mpblocks::cuda::linalg::Rotation2d< Scalar > Class Template Reference

#include <mpblocks/cuda/linalg/Rotation2d.h>

Inheritance diagram for mpblocks::cuda::linalg::Rotation2d< Scalar >:
mpblocks::cuda::linalg::RValue< Scalar, Rotation2d< Scalar > >

Public Member Functions

__device__ __host__ int cols () const
 
__device__ __host__ Scalar operator() (int i, int j) const
 matrix accessor More...
 
__device__ __host__ Scalar operator[] (int i) const
 vector accessor More...
 
__device__ __host__ Rotation2d (Scalar angle=0)
 
__device__ __host__ int rows () const
 
__device__ __host__ int size () const
 
- Public Member Functions inherited from mpblocks::cuda::linalg::RValue< Scalar, Rotation2d< Scalar > >
__device__ __host__ Size_t cols () const
 return the columns of a matrix expression More...
 
__device__ __host__ Scalar maxCoeff ()
 
__device__ __host__ Scalar norm () const
 
__device__ __host__ Scalar norm_squared () const
 
__device__ __host__ Scale
< Scalar, Rotation2d< Scalar > > 
normalized () const
 
__device__ __host__ Scalar operator() (Size_t i, Size_t j) const
 return the evaluated (i,j)'th element of a matrix expression More...
 
__device__ __host__ Scalar operator[] (Size_t i) const
 return the evaluated i'th element of a vector expression More...
 
__device__ __host__ Size_t rows () const
 return the rows of a matrix expression More...
 
__device__ __host__ Size_t size () const
 return the size for a vector More...
 

Protected Attributes

Scalar m_ca
 
Scalar m_sa
 

Additional Inherited Members

- Public Types inherited from mpblocks::cuda::linalg::RValue< Scalar, Rotation2d< Scalar > >
typedef unsigned int Size_t
 

Detailed Description

template<typename Scalar>
class mpblocks::cuda::linalg::Rotation2d< Scalar >

Definition at line 40 of file Rotation2d.h.

Constructor & Destructor Documentation

template<typename Scalar >
__device__ __host__ mpblocks::cuda::linalg::Rotation2d< Scalar >::Rotation2d ( Scalar  angle = 0)
inline

Definition at line 49 of file Rotation2d.h.

Member Function Documentation

template<typename Scalar >
__device__ __host__ int mpblocks::cuda::linalg::Rotation2d< Scalar >::cols ( ) const
inline

Definition at line 61 of file Rotation2d.h.

template<typename Scalar >
__device__ __host__ Scalar mpblocks::cuda::linalg::Rotation2d< Scalar >::operator() ( int  i,
int  j 
) const
inline

matrix accessor

Definition at line 75 of file Rotation2d.h.

template<typename Scalar >
__device__ __host__ Scalar mpblocks::cuda::linalg::Rotation2d< Scalar >::operator[] ( int  i) const
inline

vector accessor

Definition at line 65 of file Rotation2d.h.

template<typename Scalar >
__device__ __host__ int mpblocks::cuda::linalg::Rotation2d< Scalar >::rows ( ) const
inline

Definition at line 58 of file Rotation2d.h.

template<typename Scalar >
__device__ __host__ int mpblocks::cuda::linalg::Rotation2d< Scalar >::size ( ) const
inline

Definition at line 55 of file Rotation2d.h.

Member Data Documentation

template<typename Scalar >
Scalar mpblocks::cuda::linalg::Rotation2d< Scalar >::m_ca
protected

Definition at line 45 of file Rotation2d.h.

template<typename Scalar >
Scalar mpblocks::cuda::linalg::Rotation2d< Scalar >::m_sa
protected

Definition at line 44 of file Rotation2d.h.


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