17 namespace alps {
namespace alea {
25 namespace alps {
namespace alea {
47 template <
typename Derived>
52 size_t in_size()
const {
return mat_.rows(); }
54 size_t out_size()
const {
return mat_.cols(); }
82 if (in.
size() != in_size())
91 std::function<T(T)> fn_;
107 if (in.
size() != in_size())
111 ret(0) = fn_(in(0), in(1));
116 std::function<T(T,T)> fn_;
scalar_unary_transformer< T > make_transformer(std::function< T(T)> fn)
Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > matrix
Eigen::Matrix< T, Eigen::Dynamic, 1 > col