|
Tiny Vector Matrix library using Expression Templates | Sourceforge Project Page |
![]() |
Functions | |
template<class T , std::size_t Rows, std::size_t Cols> | |
XprMatrix< XprBinOp< Fcnl_pow < std::complex< T >, T > , MatrixConstReference < std::complex< T >, Rows, Cols >, XprLiteral< T > >, Rows, Cols > | tvmet::pow (const Matrix< std::complex< T >, Rows, Cols > &lhs, const T &rhs) TVMET_CXX_ALWAYS_INLINE |
template<class T , std::size_t Rows, std::size_t Cols> | |
XprMatrix< XprBinOp< Fcnl_pow < std::complex< T >, int > , MatrixConstReference < std::complex< T >, Rows, Cols >, XprLiteral< int > >, Rows, Cols > | tvmet::pow (const Matrix< std::complex< T >, Rows, Cols > &lhs, int rhs) TVMET_CXX_ALWAYS_INLINE |
template<class T , std::size_t Rows, std::size_t Cols> | |
XprMatrix< XprBinOp< Fcnl_pow < T, std::complex< T > >, MatrixConstReference< T, Rows, Cols >, XprLiteral < std::complex< T > > >, Rows, Cols > | tvmet::pow (const Matrix< T, Rows, Cols > &lhs, const std::complex< T > &rhs) TVMET_CXX_ALWAYS_INLINE |
power function on Matrix and std::complex<T>. | |
template<class T , std::size_t Rows, std::size_t Cols> | |
XprMatrix< XprBinOp< Fcnl_pow < std::complex< T > , std::complex< T > >, MatrixConstReference < std::complex< T >, Rows, Cols >, XprLiteral < std::complex< T > > >, Rows, Cols > | tvmet::pow (const Matrix< std::complex< T >, Rows, Cols > &lhs, const std::complex< T > &rhs) TVMET_CXX_ALWAYS_INLINE |
template<class T , std::size_t Rows, std::size_t Cols> | |
XprMatrix< XprBinOp < Fcnl_polar< T, T > , MatrixConstReference< T, Rows, Cols >, XprLiteral< T > >, Rows, Cols > | tvmet::polar (const Matrix< T, Rows, Cols > &lhs, const T &rhs) TVMET_CXX_ALWAYS_INLINE |
template<class T1 , std::size_t Rows1, std::size_t Cols1, class T2 , std::size_t Cols2> | |
XprMatrix< XprMMProduct < MatrixConstReference< T1, Rows1, Cols1 >, Rows1, Cols1, MatrixConstReference< T2, Cols1, Cols2 >, Cols2 >, Rows1, Cols2 > | tvmet::prod (const Matrix< T1, Rows1, Cols1 > &lhs, const Matrix< T2, Cols1, Cols2 > &rhs) TVMET_CXX_ALWAYS_INLINE |
Function for the matrix-matrix-product. | |
template<class E1 , std::size_t Rows1, std::size_t Cols1, class T2 , std::size_t Cols2> | |
XprMatrix< XprMMProduct < XprMatrix< E1, Rows1, Cols1 > , Rows1, Cols1, MatrixConstReference< T2, Cols1, Cols2 >, Cols2 >, Rows1, Cols2 > | tvmet::prod (const XprMatrix< E1, Rows1, Cols1 > &lhs, const Matrix< T2, Cols1, Cols2 > &rhs) TVMET_CXX_ALWAYS_INLINE |
Evaluate the product of XprMatrix and Matrix. | |
template<class T1 , std::size_t Rows1, std::size_t Cols1, class E2 , std::size_t Cols2> | |
XprMatrix< XprMMProduct < MatrixConstReference< T1, Rows1, Cols1 >, Rows1, Cols1, XprMatrix< E2, Cols1, Cols2 > , Cols2 >, Rows1, Cols2 > | tvmet::prod (const Matrix< T1, Rows1, Cols1 > &lhs, const XprMatrix< E2, Cols1, Cols2 > &rhs) TVMET_CXX_ALWAYS_INLINE |
Evaluate the product of Matrix and XprMatrix. | |
template<class T1 , std::size_t Rows1, std::size_t Cols1, class T2 , std::size_t Cols2> | |
XprMatrix < XprMMProductTransposed < MatrixConstReference< T1, Rows1, Cols1 >, Rows1, Cols1, MatrixConstReference< T2, Cols1, Cols2 >, Cols2 >, Cols2, Rows1 > | tvmet::trans_prod (const Matrix< T1, Rows1, Cols1 > &lhs, const Matrix< T2, Cols1, Cols2 > &rhs) TVMET_CXX_ALWAYS_INLINE |
Function for the trans(matrix-matrix-product)Perform on given Matrix M1 and M2:
| |
template<class T1 , std::size_t Rows1, std::size_t Cols1, class T2 , std::size_t Cols2> | |
XprMatrix< XprMtMProduct < MatrixConstReference< T1, Rows1, Cols1 >, Rows1, Cols1, MatrixConstReference< T2, Rows1, Cols2 >, Cols2 >, Cols1, Cols2 > | tvmet::MtM_prod (const Matrix< T1, Rows1, Cols1 > &lhs, const Matrix< T2, Rows1, Cols2 > &rhs) TVMET_CXX_ALWAYS_INLINE |
Function for the trans(matrix)-matrix-product. | |
template<class T1 , std::size_t Rows1, std::size_t Cols1, class T2 , std::size_t Rows2> | |
XprMatrix< XprMMtProduct < MatrixConstReference< T1, Rows1, Cols1 >, Rows1, Cols1, MatrixConstReference< T2, Rows2, Cols1 >, Cols1 >, Rows1, Rows2 > | tvmet::MMt_prod (const Matrix< T1, Rows1, Cols1 > &lhs, const Matrix< T2, Rows2, Cols1 > &rhs) TVMET_CXX_ALWAYS_INLINE |
Function for the matrix-trans(matrix)-product. | |
template<class T1 , class T2 , std::size_t Rows, std::size_t Cols> | |
XprVector< XprMVProduct < MatrixConstReference< T1, Rows, Cols >, Rows, Cols, VectorConstReference< T2, Cols > >, Rows > | tvmet::prod (const Matrix< T1, Rows, Cols > &lhs, const Vector< T2, Cols > &rhs) TVMET_CXX_ALWAYS_INLINE |
Function for the matrix-vector-product. | |
template<class T1 , class E2 , std::size_t Rows, std::size_t Cols> | |
XprVector< XprMVProduct < MatrixConstReference< T1, Rows, Cols >, Rows, Cols, XprVector< E2, Cols > >, Rows > | tvmet::prod (const Matrix< T1, Rows, Cols > &lhs, const XprVector< E2, Cols > &rhs) TVMET_CXX_ALWAYS_INLINE |
Function for the matrix-vector-product. | |
template<class T1 , class T2 , std::size_t Rows, std::size_t Cols> | |
XprVector< XprMtVProduct < MatrixConstReference< T1, Rows, Cols >, Rows, Cols, VectorConstReference< T2, Rows > >, Cols > | tvmet::Mtx_prod (const Matrix< T1, Rows, Cols > &lhs, const Vector< T2, Rows > &rhs) TVMET_CXX_ALWAYS_INLINE |
Function for the trans(matrix)-vector-productPerform on given Matrix M and vector x:
| |
template<class T , std::size_t Rows, std::size_t Cols> | |
XprVector< XprMatrixRow < MatrixConstReference< T, Rows, Cols >, Rows, Cols > , Cols > | tvmet::row (const Matrix< T, Rows, Cols > &m, std::size_t no) TVMET_CXX_ALWAYS_INLINE |
Returns a row vector of the given matrix. | |
template<class T , std::size_t Rows, std::size_t Cols> | |
XprVector< XprMatrixCol < MatrixConstReference< T, Rows, Cols >, Rows, Cols > , Rows > | tvmet::col (const Matrix< T, Rows, Cols > &m, std::size_t no) TVMET_CXX_ALWAYS_INLINE |
Returns a column vector of the given matrix. | |
template<class T , std::size_t Sz> | |
XprVector< XprBinOp< Fcnl_pow < T, std::complex< T > >, VectorConstReference< T, Sz >, XprLiteral< std::complex < T > > >, Sz > | tvmet::pow (const Vector< T, Sz > &lhs, const std::complex< T > &rhs) TVMET_CXX_ALWAYS_INLINE |
power function on Vector and std::complex<T>. | |
template<class T , std::size_t Sz> | |
XprVector< XprBinOp< Fcnl_pow < std::complex< T > , std::complex< T > >, VectorConstReference < std::complex< T >, Sz > , XprLiteral< std::complex< T > > >, Sz > | tvmet::pow (const Vector< std::complex< T >, Sz > &lhs, const std::complex< T > &rhs) TVMET_CXX_ALWAYS_INLINE |
template<class T , std::size_t Sz> | |
XprVector< XprBinOp< Fcnl_pow < std::complex< T >, T > , VectorConstReference < std::complex< T >, Sz > , XprLiteral< T > >, Sz > | tvmet::pow (const Vector< std::complex< T >, Sz > &lhs, const T &rhs) TVMET_CXX_ALWAYS_INLINE |
template<class T , std::size_t Sz> | |
XprVector< XprBinOp< Fcnl_pow < std::complex< T >, int > , VectorConstReference < std::complex< T >, Sz > , XprLiteral< int > >, Sz > | tvmet::pow (const Vector< std::complex< T >, Sz > &lhs, int rhs) TVMET_CXX_ALWAYS_INLINE |
template<class T , std::size_t Sz> | |
XprVector< XprBinOp < Fcnl_polar< T, T > , VectorConstReference< T, Sz > , XprLiteral< T > >, Sz > | tvmet::polar (const Vector< T, Sz > &lhs, const T &rhs) TVMET_CXX_ALWAYS_INLINE |
template<class T1 , class T2 , std::size_t Sz> | |
PromoteTraits< T1, T2 >::value_type | tvmet::dot (const Vector< T1, Sz > &lhs, const Vector< T2, Sz > &rhs) TVMET_CXX_ALWAYS_INLINE |
Compute the dot/inner productCompute the dot product as:
where lhs is a column vector and rhs is a row vector, both vectors have the same dimension. | |
template<class T1 , class T2 > | |
Vector< typename PromoteTraits < T1, T2 >::value_type, 3 > | tvmet::cross (const Vector< T1, 3 > &lhs, const Vector< T2, 3 > &rhs) TVMET_CXX_ALWAYS_INLINE |
Compute the cross/outer product. | |
template<class E1 , std::size_t Rows1, std::size_t Cols1, class E2 , std::size_t Cols2> | |
XprMatrix< XprMMProduct < XprMatrix< E1, Rows1, Cols1 > , Rows1, Cols1, XprMatrix< E2, Cols1, Cols2 >, Cols2 >, Rows1, Cols2 > | tvmet::prod (const XprMatrix< E1, Rows1, Cols1 > &lhs, const XprMatrix< E2, Cols1, Cols2 > &rhs) TVMET_CXX_ALWAYS_INLINE |
Evaluate the product of two XprMatrix. | |
template<class E1 , std::size_t Rows1, std::size_t Cols1, class E2 , std::size_t Cols2> | |
XprMatrix < XprMMProductTransposed < XprMatrix< E1, Rows1, Cols1 > , Rows1, Cols1, XprMatrix< E2, Cols1, Cols2 >, Cols2 >, Cols2, Rows1 > | tvmet::trans_prod (const XprMatrix< E1, Rows1, Cols1 > &lhs, const XprMatrix< E2, Cols1, Cols2 > &rhs) TVMET_CXX_ALWAYS_INLINE |
Function for the trans(matrix-matrix-product) Perform on given Matrix M1 and M2:
| |
template<class E1 , std::size_t Rows1, std::size_t Cols1, class E2 , std::size_t Cols2> | |
XprMatrix< XprMtMProduct < XprMatrix< E1, Rows1, Cols1 > , Rows1, Cols1, XprMatrix< E2, Rows1, Cols2 >, Cols2 >, Cols1, Cols2 > | tvmet::MtM_prod (const XprMatrix< E1, Rows1, Cols1 > &lhs, const XprMatrix< E2, Rows1, Cols2 > &rhs) TVMET_CXX_ALWAYS_INLINE |
Function for the trans(matrix)-matrix-product. | |
template<class E1 , std::size_t Rows1, std::size_t Cols1, class E2 , std::size_t Rows2> | |
XprMatrix< XprMMtProduct < XprMatrix< E1, Rows1, Cols1 > , Rows1, Cols1, XprMatrix< E2, Rows2, Cols1 >, Cols1 >, Rows1, Rows2 > | tvmet::MMt_prod (const XprMatrix< E1, Rows1, Cols1 > &lhs, const XprMatrix< E2, Rows2, Cols1 > &rhs) TVMET_CXX_ALWAYS_INLINE |
Function for the matrix-trans(matrix)-product. | |
template<class E1 , std::size_t Rows, std::size_t Cols, class E2 > | |
XprVector< XprMVProduct < XprMatrix< E1, Rows, Cols > , Rows, Cols, XprVector< E2, Cols > >, Rows > | tvmet::prod (const XprMatrix< E1, Rows, Cols > &lhs, const XprVector< E2, Cols > &rhs) TVMET_CXX_ALWAYS_INLINE |
Evaluate the product of XprMatrix and XprVector. | |
template<class E , std::size_t Rows, std::size_t Cols> | |
XprVector< XprMatrixRow < XprMatrix< E, Rows, Cols > , Rows, Cols >, Cols > | tvmet::row (const XprMatrix< E, Rows, Cols > &m, std::size_t no) TVMET_CXX_ALWAYS_INLINE |
Returns a row vector of the given matrix. | |
template<class E , std::size_t Rows, std::size_t Cols> | |
XprVector< XprMatrixCol < XprMatrix< E, Rows, Cols > , Rows, Cols >, Rows > | tvmet::col (const XprMatrix< E, Rows, Cols > &m, std::size_t no) TVMET_CXX_ALWAYS_INLINE |
Returns a column vector of the given matrix. | |
template<class E1 , class E2 , std::size_t Sz> | |
PromoteTraits< typename E1::value_type, typename E2::value_type >::value_type | tvmet::dot (const XprVector< E1, Sz > &lhs, const XprVector< E2, Sz > &rhs) TVMET_CXX_ALWAYS_INLINE |
Compute the dot/inner productCompute the dot product as:
where lhs is a column vector and rhs is a row vector, both vectors have the same dimension. | |
template<class T , class E , std::size_t Sz> | |
PromoteTraits< T, typename E::value_type >::value_type | tvmet::dot (const Vector< T, Sz > &lhs, const XprVector< E, Sz > &rhs) TVMET_CXX_ALWAYS_INLINE |
Compute the dot/inner productCompute the dot product as:
where lhs is a column vector and rhs is a row vector, both vectors have the same dimension. | |
template<class E , class T , std::size_t Sz> | |
PromoteTraits< T, typename E::value_type >::value_type | tvmet::dot (const XprVector< E, Sz > &lhs, const Vector< T, Sz > &rhs) TVMET_CXX_ALWAYS_INLINE |
Compute the dot/inner productCompute the dot product as:
where lhs is a column vector and rhs is a row vector, both vectors have the same dimension. | |
template<class E1 , class E2 > | |
Vector< typename PromoteTraits < typename E1::value_type, typename E2::value_type > ::value_type, 3 > | tvmet::cross (const XprVector< E1, 3 > &lhs, const XprVector< E2, 3 > &rhs) TVMET_CXX_ALWAYS_INLINE |
Compute the cross/outer product. | |
template<class E , class T > | |
Vector< typename PromoteTraits < T, typename E::value_type > ::value_type, 3 > | tvmet::cross (const XprVector< E, 3 > &lhs, const Vector< T, 3 > &rhs) TVMET_CXX_ALWAYS_INLINE |
Compute the cross/outer product. | |
template<class T , class E > | |
Vector< typename PromoteTraits < T, typename E::value_type > ::value_type, 3 > | tvmet::cross (const Vector< T, 3 > &lhs, const XprVector< E, 3 > &rhs) TVMET_CXX_ALWAYS_INLINE |
Compute the cross/outer product. |
XprVector< XprMatrixCol< MatrixConstReference< T, Rows, Cols >, Rows, Cols >, Rows > tvmet::col | ( | const Matrix< T, Rows, Cols > & | m, |
std::size_t | no | ||
) | [inline] |
Returns a column vector of the given matrix.
References tvmet::Matrix< T, NRows, NCols >::const_ref().
XprVector< XprMatrixCol< XprMatrix< E, Rows, Cols >, Rows, Cols >, Rows > tvmet::col | ( | const XprMatrix< E, Rows, Cols > & | m, |
std::size_t | no | ||
) | [inline] |
Returns a column vector of the given matrix.
Vector< typename PromoteTraits< T1, T2 >::value_type, 3 > tvmet::cross | ( | const Vector< T1, 3 > & | lhs, |
const Vector< T2, 3 > & | rhs | ||
) | [inline] |
Vector< typename PromoteTraits< typename E1::value_type, typename E2::value_type >::value_type, 3 > tvmet::cross | ( | const XprVector< E1, 3 > & | lhs, |
const XprVector< E2, 3 > & | rhs | ||
) | [inline] |
Vector< typename PromoteTraits< T, typename E::value_type >::value_type, 3 > tvmet::cross | ( | const XprVector< E, 3 > & | lhs, |
const Vector< T, 3 > & | rhs | ||
) | [inline] |
tvmet::cross | ( | const Vector< T, 3 > & | lhs, |
const XprVector< E, 3 > & | rhs | ||
) |
PromoteTraits< T, typename E::value_type >::value_type tvmet::dot | ( | const XprVector< E, Sz > & | lhs, |
const Vector< T, Sz > & | rhs | ||
) | [inline] |
Compute the dot/inner productCompute the dot product as:
where lhs is a column vector and rhs is a row vector, both vectors have the same dimension.
References tvmet::meta::Vector< Sz, K >::dot().
PromoteTraits< T, typename E::value_type >::value_type tvmet::dot | ( | const Vector< T, Sz > & | lhs, |
const XprVector< E, Sz > & | rhs | ||
) | [inline] |
Compute the dot/inner productCompute the dot product as:
where lhs is a column vector and rhs is a row vector, both vectors have the same dimension.
References tvmet::meta::Vector< Sz, K >::dot().
PromoteTraits< T1, T2 >::value_type tvmet::dot | ( | const Vector< T1, Sz > & | lhs, |
const Vector< T2, Sz > & | rhs | ||
) | [inline] |
Compute the dot/inner productCompute the dot product as:
where lhs is a column vector and rhs is a row vector, both vectors have the same dimension.
References tvmet::meta::Vector< Sz, K >::dot().
Referenced by tvmet::norm2().
PromoteTraits< typename E1::value_type, typename E2::value_type >::value_type tvmet::dot | ( | const XprVector< E1, Sz > & | lhs, |
const XprVector< E2, Sz > & | rhs | ||
) | [inline] |
Compute the dot/inner productCompute the dot product as:
where lhs is a column vector and rhs is a row vector, both vectors have the same dimension.
References tvmet::meta::Vector< Sz, K >::dot().
XprMatrix< XprMMtProduct< MatrixConstReference< T1, Rows1, Cols1 >, Rows1, Cols1, MatrixConstReference< T2, Rows2, Cols1 >, Cols1 >, Rows1, Rows2 > tvmet::MMt_prod | ( | const Matrix< T1, Rows1, Cols1 > & | lhs, |
const Matrix< T2, Rows2, Cols1 > & | rhs | ||
) | [inline] |
Function for the matrix-trans(matrix)-product.
References tvmet::Cols1, tvmet::Matrix< T, NRows, NCols >::const_ref(), and tvmet::Rows1.
XprMatrix< XprMMtProduct< XprMatrix< E1, Rows1, Cols1 >, Rows1, Cols1, XprMatrix< E2, Rows2, Cols1 >, Cols1 >, Rows1, Rows2 > tvmet::MMt_prod | ( | const XprMatrix< E1, Rows1, Cols1 > & | lhs, |
const XprMatrix< E2, Rows2, Cols1 > & | rhs | ||
) | [inline] |
Function for the matrix-trans(matrix)-product.
References tvmet::Cols1, and tvmet::Rows1.
XprMatrix< XprMtMProduct< MatrixConstReference< T1, Rows1, Cols1 >, Rows1, Cols1, MatrixConstReference< T2, Rows1, Cols2 >, Cols2 >, Cols1, Cols2 > tvmet::MtM_prod | ( | const Matrix< T1, Rows1, Cols1 > & | lhs, |
const Matrix< T2, Rows1, Cols2 > & | rhs | ||
) | [inline] |
Function for the trans(matrix)-matrix-product.
using formula
References tvmet::Cols1, tvmet::Matrix< T, NRows, NCols >::const_ref(), and tvmet::Rows1.
XprMatrix< XprMtMProduct< XprMatrix< E1, Rows1, Cols1 >, Rows1, Cols1, XprMatrix< E2, Rows1, Cols2 >, Cols2 >, Cols1, Cols2 > tvmet::MtM_prod | ( | const XprMatrix< E1, Rows1, Cols1 > & | lhs, |
const XprMatrix< E2, Rows1, Cols2 > & | rhs | ||
) | [inline] |
Function for the trans(matrix)-matrix-product.
using formula
References tvmet::Cols1, and tvmet::Rows1.
XprVector< XprMtVProduct< MatrixConstReference< T1, Rows, Cols >, Rows, Cols, VectorConstReference< T2, Rows > >, Cols > tvmet::Mtx_prod | ( | const Matrix< T1, Rows, Cols > & | lhs, |
const Vector< T2, Rows > & | rhs | ||
) | [inline] |
Function for the trans(matrix)-vector-productPerform on given Matrix M and vector x:
.
References tvmet::Vector< T, Sz >::const_ref(), and tvmet::Matrix< T, NRows, NCols >::const_ref().
XprVector< XprBinOp< Fcnl_polar< T, T >, VectorConstReference< T, Sz >, XprLiteral< T > >, Sz > tvmet::polar | ( | const Vector< T, Sz > & | lhs, |
const T & | rhs | ||
) | [inline] |
References tvmet::Vector< T, Sz >::const_ref().
XprMatrix< XprBinOp< Fcnl_polar< T, T >, MatrixConstReference< T, Rows, Cols >, XprLiteral< T > >, Rows, Cols > tvmet::polar | ( | const Matrix< T, Rows, Cols > & | lhs, |
const T & | rhs | ||
) | [inline] |
References tvmet::Matrix< T, NRows, NCols >::const_ref().
Referenced by tvmet::Fcnl_polar< T, T >::apply_on().
XprMatrix< XprBinOp< Fcnl_pow< std::complex< T >, std::complex< T > >, MatrixConstReference< std::complex< T >, Rows, Cols >, XprLiteral< std::complex< T > > >, Rows, Cols > tvmet::pow | ( | const Matrix< std::complex< T >, Rows, Cols > & | lhs, |
const std::complex< T > & | rhs | ||
) | [inline] |
tvmet::pow | ( | const Vector< T, Sz > & | lhs, |
const std::complex< T > & | rhs | ||
) | [inline] |
power function on Vector and std::complex<T>.
References tvmet::Vector< T, Sz >::const_ref().
XprVector< XprBinOp< Fcnl_pow< std::complex< T >, std::complex< T > >, VectorConstReference< std::complex< T >, Sz >, XprLiteral< std::complex< T > > >, Sz > tvmet::pow | ( | const Vector< std::complex< T >, Sz > & | lhs, |
const std::complex< T > & | rhs | ||
) | [inline] |
XprVector< XprBinOp< Fcnl_pow< std::complex< T >, T >, VectorConstReference< std::complex< T >, Sz >, XprLiteral< T > >, Sz > tvmet::pow | ( | const Vector< std::complex< T >, Sz > & | lhs, |
const T & | rhs | ||
) | [inline] |
XprVector< XprBinOp< Fcnl_pow< std::complex< T >, int >, VectorConstReference< std::complex< T >, Sz >, XprLiteral< int > >, Sz > tvmet::pow | ( | const Vector< std::complex< T >, Sz > & | lhs, |
int | rhs | ||
) | [inline] |
XprMatrix< XprBinOp< Fcnl_pow< std::complex< T >, int >, MatrixConstReference< std::complex< T >, Rows, Cols >, XprLiteral< int > >, Rows, Cols > tvmet::pow | ( | const Matrix< std::complex< T >, Rows, Cols > & | lhs, |
int | rhs | ||
) | [inline] |
XprMatrix< XprBinOp< Fcnl_pow< std::complex< T >, T >, MatrixConstReference< std::complex< T >, Rows, Cols >, XprLiteral< T > >, Rows, Cols > tvmet::pow | ( | const Matrix< std::complex< T >, Rows, Cols > & | lhs, |
const T & | rhs | ||
) | [inline] |
tvmet::pow | ( | const Matrix< T, Rows, Cols > & | lhs, |
const std::complex< T > & | rhs | ||
) | [inline] |
power function on Matrix and std::complex<T>.
References tvmet::Matrix< T, NRows, NCols >::const_ref().
XprVector< XprMVProduct< MatrixConstReference< T1, Rows, Cols >, Rows, Cols, VectorConstReference< T2, Cols > >, Rows > tvmet::prod | ( | const Matrix< T1, Rows, Cols > & | lhs, |
const Vector< T2, Cols > & | rhs | ||
) | [inline] |
Function for the matrix-vector-product.
References tvmet::Vector< T, Sz >::const_ref(), and tvmet::Matrix< T, NRows, NCols >::const_ref().
XprMatrix< XprMMProduct< MatrixConstReference< T1, Rows1, Cols1 >, Rows1, Cols1, MatrixConstReference< T2, Cols1, Cols2 >, Cols2 >, Rows1, Cols2 > tvmet::prod | ( | const Matrix< T1, Rows1, Cols1 > & | lhs, |
const Matrix< T2, Cols1, Cols2 > & | rhs | ||
) | [inline] |
Function for the matrix-matrix-product.
References tvmet::Cols1, tvmet::Matrix< T, NRows, NCols >::const_ref(), and tvmet::Rows1.
Referenced by tvmet::XprMMProductTransposed< E1, Rows1, Cols1, E2, Cols2 >::do_gemm(), tvmet::XprMMProduct< E1, Rows1, Cols1, E2, Cols2 >::do_gemm(), tvmet::XprMMtProduct< E1, Rows1, Cols1, E2, Cols2 >::do_gemmt(), tvmet::XprMtMProduct< E1, Rows1, Cols1, E2, Cols2 >::do_gemtm(), tvmet::XprMtVProduct< E1, Rows, Cols, E2 >::do_gemtv(), tvmet::XprMVProduct< E1, Rows, Cols, E2 >::do_gemv(), and tvmet::operator*().
XprMatrix< XprMMProduct< MatrixConstReference< T1, Rows1, Cols1 >, Rows1, Cols1, XprMatrix< E2, Cols1, Cols2 >, Cols2 >, Rows1, Cols2 > tvmet::prod | ( | const Matrix< T1, Rows1, Cols1 > & | lhs, |
const XprMatrix< E2, Cols1, Cols2 > & | rhs | ||
) | [inline] |
Evaluate the product of Matrix and XprMatrix.
References tvmet::Cols1, tvmet::Matrix< T, NRows, NCols >::const_ref(), and tvmet::Rows1.
XprVector< XprMVProduct< XprMatrix< E1, Rows, Cols >, Rows, Cols, XprVector< E2, Cols > >, Rows > tvmet::prod | ( | const XprMatrix< E1, Rows, Cols > & | lhs, |
const XprVector< E2, Cols > & | rhs | ||
) | [inline] |
XprVector< XprMVProduct< MatrixConstReference< T1, Rows, Cols >, Rows, Cols, XprVector< E2, Cols > >, Rows > tvmet::prod | ( | const Matrix< T1, Rows, Cols > & | lhs, |
const XprVector< E2, Cols > & | rhs | ||
) | [inline] |
Function for the matrix-vector-product.
References tvmet::Matrix< T, NRows, NCols >::const_ref().
XprMatrix< XprMMProduct< XprMatrix< E1, Rows1, Cols1 >, Rows1, Cols1, MatrixConstReference< T2, Cols1, Cols2 >, Cols2 >, Rows1, Cols2 > tvmet::prod | ( | const XprMatrix< E1, Rows1, Cols1 > & | lhs, |
const Matrix< T2, Cols1, Cols2 > & | rhs | ||
) | [inline] |
Evaluate the product of XprMatrix and Matrix.
References tvmet::Cols1, tvmet::Matrix< T, NRows, NCols >::const_ref(), and tvmet::Rows1.
XprMatrix< XprMMProduct< XprMatrix< E1, Rows1, Cols1 >, Rows1, Cols1, XprMatrix< E2, Cols1, Cols2 >, Cols2 >, Rows1, Cols2 > tvmet::prod | ( | const XprMatrix< E1, Rows1, Cols1 > & | lhs, |
const XprMatrix< E2, Cols1, Cols2 > & | rhs | ||
) | [inline] |
Evaluate the product of two XprMatrix.
Perform on given Matrix M1 and M2:
References tvmet::Cols1, and tvmet::Rows1.
XprVector< XprMatrixRow< XprMatrix< E, Rows, Cols >, Rows, Cols >, Cols > tvmet::row | ( | const XprMatrix< E, Rows, Cols > & | m, |
std::size_t | no | ||
) | [inline] |
Returns a row vector of the given matrix.
XprVector< XprMatrixRow< MatrixConstReference< T, Rows, Cols >, Rows, Cols >, Cols > tvmet::row | ( | const Matrix< T, Rows, Cols > & | m, |
std::size_t | no | ||
) | [inline] |
Returns a row vector of the given matrix.
References tvmet::Matrix< T, NRows, NCols >::const_ref().
XprMatrix< XprMMProductTransposed< XprMatrix< E1, Rows1, Cols1 >, Rows1, Cols1, XprMatrix< E2, Cols1, Cols2 >, Cols2 >, Cols2, Rows1 > tvmet::trans_prod | ( | const XprMatrix< E1, Rows1, Cols1 > & | lhs, |
const XprMatrix< E2, Cols1, Cols2 > & | rhs | ||
) | [inline] |
Function for the trans(matrix-matrix-product) Perform on given Matrix M1 and M2:
.
References tvmet::Cols1, and tvmet::Rows1.
XprMatrix< XprMMProductTransposed< MatrixConstReference< T1, Rows1, Cols1 >, Rows1, Cols1, MatrixConstReference< T2, Cols1, Cols2 >, Cols2 >, Cols2, Rows1 > tvmet::trans_prod | ( | const Matrix< T1, Rows1, Cols1 > & | lhs, |
const Matrix< T2, Cols1, Cols2 > & | rhs | ||
) | [inline] |
Function for the trans(matrix-matrix-product)Perform on given Matrix M1 and M2:
.
References tvmet::Cols1, tvmet::Matrix< T, NRows, NCols >::const_ref(), and tvmet::Rows1.
Author: |