35#ifndef STK_DOTPRODUCT_H
36#define STK_DOTPRODUCT_H
41template<
typename Lhs,
typename Rhs>
class DotProduct;
42template<
typename Type,
int SizeRows_,
int SizeCols_,
bool Orient_>
class CAllocator;
50template<
typename Lhs,
typename Rhs>
83template<
typename Lhs,
typename Rhs>
111#ifdef STK_BOUNDS_CHECK
112 if (
lhs.range() !=
rhs.range())
126#ifdef STK_BOUNDS_CHECK
#define STKRUNTIME_ERROR_NO_ARG(Where, Error)
#define STKRUNTIME_ERROR_2ARG(Where, Arg1, Arg2, Error)
#define STK_STATIC_ASSERT_POINT_ONLY(EXPR)
#define STK_STATIC_ASSERT_VECTOR_ONLY(EXPR)
Allocator for dense Array classes.
Generic expression where a DotProduct is applied to two expressions.
hidden::Traits< DotProduct >::TypeConst TypeConst
DotProduct(const Lhs &lhs, const Rhs &rhs)
hidden::Traits< DotProduct >::Type Type
Allocator const & result() const
TRange< sizeCols_ > ColRange
Type of the Range for the columns.
RowRange const & rowsImpl() const
TRange< sizeRows_ > RowRange
Type of the Range for the rows.
ColRange const & colsImpl() const
TypeConst elt0Impl() const
access to the element
hidden::Traits< DotProduct >::Allocator Allocator
TypeConst elt2Impl(int i, int j) const
access to the element
base class for template evaluation expressions and visitors.
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
@ dense_
dense matrix/vector/array/expression
@ number_
(1,1) matrix/vector/array/expression (like a number)
@ by_col_
storage by column
The namespace STK is the main domain space of the Statistical ToolKit project.
Base class for all referencing containers.
Promote< typenameLhs::Type, typenameRhs::Type >::result_type Type
RemoveConst< Type >::Type const & TypeConst