KSeExpr 4.0.4.0
Vec.h File Reference
#include <array>
#include <cmath>
#include <iostream>
#include <numeric>
#include <type_traits>

Go to the source code of this file.

Classes

struct  KSeExpr::static_if< c, T1, T2 >
 Static conditional type true case. More...
struct  KSeExpr::static_if< false, T1, T2 >
 Static conditional type false case. More...
class  KSeExpr::Vec< T, d, ref >

Namespaces

namespace  KSeExpr

Typedefs

using KSeExpr::Vec1d = Vec<double, 1, false>
using KSeExpr::Vec2d = Vec<double, 2, false>
using KSeExpr::Vec3d = Vec<double, 3, false>
using KSeExpr::Vec4d = Vec<double, 4, false>
using KSeExpr::Vec1f = Vec<float, 1, false>
using KSeExpr::Vec2f = Vec<float, 2, false>
using KSeExpr::Vec3f = Vec<float, 3, false>
using KSeExpr::Vec4f = Vec<float, 4, false>
using KSeExpr::Vec1dRef = Vec<double, 1, true>
using KSeExpr::Vec2dRef = Vec<double, 2, true>
using KSeExpr::Vec3dRef = Vec<double, 3, true>
using KSeExpr::Vec4dRef = Vec<double, 4, true>
using KSeExpr::Vec1fRef = Vec<float, 1, true>
using KSeExpr::Vec2fRef = Vec<float, 2, true>
using KSeExpr::Vec3fRef = Vec<float, 3, true>
using KSeExpr::Vec4fRef = Vec<float, 4, true>
using KSeExpr::Vec1dConstRef = Vec<const double, 1, true>
using KSeExpr::Vec2dConstRef = Vec<const double, 2, true>
using KSeExpr::Vec3dConstRef = Vec<const double, 3, true>
using KSeExpr::Vec4dConstRef = Vec<const double, 4, true>
using KSeExpr::Vec1fConstRef = Vec<const float, 1, true>
using KSeExpr::Vec2fConstRef = Vec<const float, 2, true>
using KSeExpr::Vec3fConstRef = Vec<const float, 3, true>
using KSeExpr::Vec4fConstRef = Vec<const float, 4, true>

Functions

template<class T, size_t d, bool r>
std::ostream & KSeExpr::operator<< (std::ostream &out, const Vec< T, d, r > &val)
 Output stream.