ViennaCL - The Vienna Computing Library  1.7.0
Free open-source GPU-accelerated linear algebra and solver library.
viennacl::tools::MATRIX_SIZE_DEDUCER< LHS, RHS, OP > Struct Template Reference

Deduces the size of the resulting vector represented by a vector_expression from the operands. More...

#include <matrix_size_deducer.hpp>

Static Public Member Functions

static vcl_size_t size1 (LHS &lhs, RHS &)
 
static vcl_size_t size2 (LHS &, RHS &rhs)
 

Detailed Description

template<typename LHS, typename RHS, typename OP>
struct viennacl::tools::MATRIX_SIZE_DEDUCER< LHS, RHS, OP >

Deduces the size of the resulting vector represented by a vector_expression from the operands.

Template Parameters
LHSThe left hand side operand
RHSThe right hand side operand
OPThe operation tag

Definition at line 47 of file matrix_size_deducer.hpp.

Member Function Documentation

template<typename LHS , typename RHS , typename OP >
static vcl_size_t viennacl::tools::MATRIX_SIZE_DEDUCER< LHS, RHS, OP >::size1 ( LHS &  lhs,
RHS &   
)
inlinestatic

Definition at line 50 of file matrix_size_deducer.hpp.

template<typename LHS , typename RHS , typename OP >
static vcl_size_t viennacl::tools::MATRIX_SIZE_DEDUCER< LHS, RHS, OP >::size2 ( LHS &  ,
RHS &  rhs 
)
inlinestatic

Definition at line 51 of file matrix_size_deducer.hpp.


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