Jet  v1.3.3
Public Member Functions | List of all members
jet::MatrixMul< T, E1, E2 > Class Template Reference

Matrix expression for matrix-matrix multiplication. More...

#include <jet/matrix_expression.h>

Inheritance diagram for jet::MatrixMul< T, E1, E2 >:
jet::MatrixExpression< T, MatrixMul< T, E1, E2 > >

Public Member Functions

 MatrixMul (const E1 &u, const E2 &v)
 
Size2 size () const
 Size of the matrix. More...
 
size_t rows () const
 Number of rows. More...
 
size_t cols () const
 Number of columns. More...
 
operator() (size_t i, size_t j) const
 Returns matrix element at (i, j). More...
 
- Public Member Functions inherited from jet::MatrixExpression< T, MatrixMul< T, E1, E2 > >
Size2 size () const
 Size of the matrix. More...
 
size_t rows () const
 Number of rows. More...
 
size_t cols () const
 Number of columns. More...
 
const MatrixMul< T, E1, E2 > & operator() () const
 Returns actual implementation (the subclass). More...
 

Detailed Description

template<typename T, typename E1, typename E2>
class jet::MatrixMul< T, E1, E2 >

Matrix expression for matrix-matrix multiplication.

This matrix expression represents a matrix-matrix operation that takes two input matrices.

Template Parameters
TElement value type.
MEMatrix expression.
VEVector expression.

Constructor & Destructor Documentation

◆ MatrixMul()

template<typename T , typename E1 , typename E2 >
jet::MatrixMul< T, E1, E2 >::MatrixMul ( const E1 &  u,
const E2 &  v 
)

Constructs matrix-matrix multiplication expression for given two input matrices.

Member Function Documentation

◆ cols()

template<typename T , typename E1 , typename E2 >
size_t jet::MatrixMul< T, E1, E2 >::cols ( ) const

Number of columns.

◆ operator()()

template<typename T , typename E1 , typename E2 >
T jet::MatrixMul< T, E1, E2 >::operator() ( size_t  i,
size_t  j 
) const

Returns matrix element at (i, j).

◆ rows()

template<typename T , typename E1 , typename E2 >
size_t jet::MatrixMul< T, E1, E2 >::rows ( ) const

Number of rows.

◆ size()

template<typename T , typename E1 , typename E2 >
Size2 jet::MatrixMul< T, E1, E2 >::size ( ) const

Size of the matrix.


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