wuzp
Wrong Unit? Zero Points! Compile-time checks for units, coordinate systems and points vs. vectors.
Loading...
Searching...
No Matches
ValuesWrapper.hpp File Reference
#include <ostream>
#include <tuple>
#include <type_traits>
#include <utility>
#include "wuzp/core/MatrixSize.hpp"
#include "wuzp/core/concepts.hpp"
#include "wuzp/core/helpers.hpp"
#include "wuzp/core/traits.hpp"

Go to the source code of this file.

Classes

class  wuzp::ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ >
 Wrapper for the actual implementation of a value container. More...
struct  wuzp::IsValidConversion< ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ >, ValuesWrapper< MatrixSizeOtherT_, ValueOtherT_, ImplementationOtherT_ > >
struct  wuzp::GetTag< ValuesWrapper< Xs... >, Ts... >
struct  wuzp::GetValue< ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ > >
struct  wuzp::Rebind< ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ >, ValueOtherT_, RowsV_, ColsV_ >
 Evaluated values of the same value matrix backend, with another value type and size. More...
struct  wuzp::Rows< ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ > >
struct  wuzp::Cols< ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ > >
struct  wuzp::Sum< ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ >, ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > >
struct  wuzp::Difference< ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ >, ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > >
struct  wuzp::Negation< ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ > >
struct  wuzp::Product< ValueLhsT_, ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > >
struct  wuzp::Product< ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ >, ValueRhsT_ >
struct  wuzp::Product< ValuesWrapper< MatrixSize< 1, 1 >, ValueLhsT_, ImplementationLhsT_ >, ValuesWrapper< MatrixSize< 1, 1 >, ValueRhsT_, ImplementationRhsT_ > >
struct  wuzp::Product< ValuesWrapper< MatrixSize< 1, 1 >, ValueLhsT_, ImplementationLhsT_ >, ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > >
struct  wuzp::Product< ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ >, ValuesWrapper< MatrixSize< 1, 1 >, ValueRhsT_, ImplementationRhsT_ > >
struct  wuzp::Product< ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ >, ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > >
struct  wuzp::InnerProduct< ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ >, ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > >
struct  wuzp::OuterProduct< ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ >, ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > >
struct  wuzp::DotProduct< ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ >, ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > >
struct  wuzp::CrossProduct< ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ >, ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > >
struct  wuzp::Division< ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ >, ValueRhsT_ >
struct  wuzp::Division< ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ >, ValuesWrapper< MatrixSize< 1, 1 >, ValueRhsT_, ImplementationRhsT_ > >
struct  wuzp::Division< ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ >, ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > >
struct  wuzp::Transpose< ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ > >
struct  wuzp::Inverse< ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ > >
 The type of the matrix inverse. More...
struct  wuzp::CwiseInverse< ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ > >
struct  wuzp::CwiseFunction< ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ >, FunctionT_ >
struct  wuzp::Block< ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ >, BlockRowIdV_, BlockColIdV_, BlockRowsV_, BlockColsV_ >
struct  wuzp::Evaluate< ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ > >

Namespaces

namespace  wuzp

Typedefs

template<typename ValuesT_, typename ValueT_>
using wuzp::ScalarValues = typename Rebind<ValuesT_, ValueT_, 1, 1>::type
 Evaluated 1x1 values of the value matrix backend of ValuesT_, with the value type ValueT_: e.g. a scalar that an operation combines with values of the type ValuesT_, which is converted into values of the same backend.

Functions

template<typename MatrixSizeT_, typename ValueT_, typename ImplementationT_, typename... Args>
void wuzp::initialize (ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ > &values, Args &&... args)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::sum (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::operator+ (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::difference (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::operator- (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeT_, typename ValueT_, typename ImplementationT_>
auto wuzp::negation (const ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ > &rhs)
template<typename MatrixSizeT_, typename ValueT_, typename ImplementationT_>
auto wuzp::operator- (const ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename ValueRhsT_>
auto wuzp::product (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValueRhsT_ rhs)
template<typename ValueLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::product (const ValueLhsT_ lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::product (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename ValueRhsT_>
auto wuzp::operator* (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValueRhsT_ rhs)
template<typename ValueLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::operator* (const ValueLhsT_ lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::operator* (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::innerProduct (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::outerProduct (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename ValueRhsT_>
auto wuzp::division (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValueRhsT_ rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::division (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename ValueRhsT_>
auto wuzp::operator/ (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValueRhsT_ rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::operator/ (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
bool wuzp::operator== (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
bool wuzp::operator!= (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeT_, typename ValueT_, typename ImplementationT_>
std::ostream & wuzp::operator<< (std::ostream &lhs, const ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ > &rhs)