cheshirekow  v0.1.0
mpblocks::cuda::linalg Namespace Reference

Classes

class  Difference
 expression template for difference of two matrix expressions More...
 
class  LValue
 expression template for rvalues More...
 
class  LView
 expression template for subset of a matrix expression More...
 
class  Matrix
 
class  Normalize
 expression template for difference of two matrix expressions More...
 
class  Product
 expression template for product of two matrix expressions More...
 
class  Rotation2d
 
class  RValue
 expression template for rvalues More...
 
class  RView
 expression template for subset of a matrix expression More...
 
class  Scale
 forward declared for normalized() More...
 
class  StreamAssignment
 assignment More...
 
class  Sum
 expression template for sum of two matrix expressions More...
 
class  Transpose
 expression template for difference of two matrix expressions More...
 

Functions

template<typename Scalar , class Exp >
__device__ __host__ LView
< Scalar, Exp > 
block (LValue< Scalar, Exp > &A, int i, int j, int rows, int cols)
 
template<typename Scalar , class Exp >
__device__ __host__ LView
< Scalar, Exp > 
column (LValue< Scalar, Exp > &A, int j)
 
template<typename Scalar , class Exp >
__device__ __host__ RView
< Scalar, Exp > 
columnView (RValue< Scalar, Exp > const &A, int j)
 
template<typename Scalar , class Exp >
__device__ __host__ Normalize
< Scalar, Exp > 
normalize (RValue< Scalar, Exp > const &A)
 
template<typename Scalar , class Exp >
__device__ __host__ Scale
< Scalar, Exp > 
operator* (Scalar s, RValue< Scalar, Exp > const &A)
 
template<typename Scalar , class Exp1 , class Exp2 >
__device__ __host__ Product
< Scalar, Exp1, Exp2 > 
operator* (RValue< Scalar, Exp1 > const &A, RValue< Scalar, Exp2 > const &B)
 
template<typename Scalar , class Exp >
__device__ __host__ Scale
< Scalar, Exp > 
operator* (RValue< Scalar, Exp > const &A, Scalar s)
 
template<typename Scalar , class Exp1 , class Exp2 >
__device__ __host__ Sum
< Scalar, Exp1, Exp2 > 
operator+ (RValue< Scalar, Exp1 > const &A, RValue< Scalar, Exp2 > const &B)
 
template<typename Scalar , class Exp1 , class Exp2 >
__device__ __host__ Difference
< Scalar, Exp1, Exp2 > 
operator- (RValue< Scalar, Exp1 > const &A, RValue< Scalar, Exp2 > const &B)
 
template<typename Scalar , class Mat >
std::ostream & operator<< (std::ostream &out, RValue< Scalar, Mat > const &M)
 
template<typename Scalar , class Exp >
__device__ __host__ LView
< Scalar, Exp > 
row (LValue< Scalar, Exp > &A, int i)
 
template<typename Scalar , class Exp >
__device__ __host__ RView
< Scalar, Exp > 
rowView (RValue< Scalar, Exp > const &A, int i)
 
template<typename Scalar , class Exp >
__device__ __host__ Transpose
< Scalar, Exp > 
transpose (RValue< Scalar, Exp > const &A)
 
template<typename Scalar , class Exp >
__device__ __host__ RView
< Scalar, Exp > 
view (RValue< Scalar, Exp > const &A, int i, int j, int rows, int cols)
 

Function Documentation

template<typename Scalar , class Exp >
__device__ __host__ LView< Scalar, Exp > mpblocks::cuda::linalg::block ( LValue< Scalar, Exp > &  A,
int  i,
int  j,
int  rows,
int  cols 
)

Definition at line 236 of file View.h.

template<typename Scalar , class Exp >
__device__ __host__ LView< Scalar, Exp > mpblocks::cuda::linalg::column ( LValue< Scalar, Exp > &  A,
int  j 
)

Definition at line 254 of file View.h.

template<typename Scalar , class Exp >
__device__ __host__ RView< Scalar, Exp > mpblocks::cuda::linalg::columnView ( RValue< Scalar, Exp > const &  A,
int  j 
)

Definition at line 121 of file View.h.

template<typename Scalar , class Exp >
__device__ __host__ Normalize< Scalar, Exp > mpblocks::cuda::linalg::normalize ( RValue< Scalar, Exp > const &  A)

Definition at line 92 of file Normalize.h.

template<typename Scalar , class Exp >
__device__ __host__ Scale< Scalar, Exp > mpblocks::cuda::linalg::operator* ( Scalar  s,
RValue< Scalar, Exp > const &  A 
)

Definition at line 92 of file Scale.h.

template<typename Scalar , class Exp1 , class Exp2 >
__device__ __host__ Product<Scalar,Exp1,Exp2> mpblocks::cuda::linalg::operator* ( RValue< Scalar, Exp1 > const &  A,
RValue< Scalar, Exp2 > const &  B 
)

Definition at line 95 of file Product.h.

template<typename Scalar , class Exp >
__device__ __host__ Scale< Scalar, Exp > mpblocks::cuda::linalg::operator* ( RValue< Scalar, Exp > const &  A,
Scalar  s 
)

Definition at line 99 of file Scale.h.

template<typename Scalar , class Exp1 , class Exp2 >
__device__ __host__ Sum<Scalar,Exp1,Exp2> mpblocks::cuda::linalg::operator+ ( RValue< Scalar, Exp1 > const &  A,
RValue< Scalar, Exp2 > const &  B 
)

Definition at line 96 of file Sum.h.

template<typename Scalar , class Exp1 , class Exp2 >
__device__ __host__ Difference<Scalar,Exp1,Exp2> mpblocks::cuda::linalg::operator- ( RValue< Scalar, Exp1 > const &  A,
RValue< Scalar, Exp2 > const &  B 
)

Definition at line 94 of file Difference.h.

template<typename Scalar , class Mat >
std::ostream& mpblocks::cuda::linalg::operator<< ( std::ostream &  out,
RValue< Scalar, Mat > const &  M 
)

Definition at line 39 of file iostream.h.

template<typename Scalar , class Exp >
__device__ __host__ LView< Scalar, Exp > mpblocks::cuda::linalg::row ( LValue< Scalar, Exp > &  A,
int  i 
)

Definition at line 246 of file View.h.

template<typename Scalar , class Exp >
__device__ __host__ RView< Scalar, Exp > mpblocks::cuda::linalg::rowView ( RValue< Scalar, Exp > const &  A,
int  i 
)

Definition at line 113 of file View.h.

template<typename Scalar , class Exp >
__device__ __host__ Transpose< Scalar, Exp > mpblocks::cuda::linalg::transpose ( RValue< Scalar, Exp > const &  A)

Definition at line 90 of file Transpose.h.

template<typename Scalar , class Exp >
__device__ __host__ RView< Scalar, Exp > mpblocks::cuda::linalg::view ( RValue< Scalar, Exp > const &  A,
int  i,
int  j,
int  rows,
int  cols 
)

Definition at line 103 of file View.h.