API Documentation
Loading...
Searching...
No Matches
Vector.hpp File Reference
#include <NDEVR/BaseValues.h>
#include <NDEVR/LibAssert.h>
#include <type_traits>
#include <cmath>
#include "BoolVector.hpp"
Include dependency graph for Vector.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  is_base_of_template_impl< base, derived >
 
struct  IsSameType< t_type_a, t_type_b >
 
struct  IsSameType< t_type_a, t_type_a >
 
struct  IsVec< t_type >
 
struct  IsVecType< t_type_a, t_type_b >
 
class  Vector< t_dims, t_type >
 A fixed-size array with better performance compared to dynamic containers. More...
 

Namespaces

namespace  NDEVR
 
namespace  std
 

Typedefs

template<template< uint01 t_dims, class t_type > class base, typename derived >
using is_base_of_template = typename is_base_of_template_impl<base, derived>::type
 

Functions

template<uint01 t_dims, class t_type >
constexpr bool operator!= (const Vector< t_dims, t_type > &vec_a, const Vector< t_dims, t_type > &vec_b)
 
template<uint01 t_dims, class t_type >
constexpr bool operator== (const Vector< t_dims, t_type > &vec_a, const Vector< t_dims, t_type > &vec_b)
 
template<uint01 t_dims, class t_type >
constexpr Vector< t_dims, t_type > quantize (const Vector< t_dims, t_type > &value, t_type d=cast< t_type >(1))
 
template<uint01 t_dims, class t_type >
constexpr Vector< t_dims, t_type > quantize (const Vector< t_dims, t_type > &value, Vector< t_dims, t_type > d=Vector< t_dims, t_type >(1))