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

class  Vector< t_dims, t_type >
 An element of a vector space. An element of the real coordinate space Rn Basis vector, one of a set of vectors (a "basis") that, in linear combination, can represent every vector in a given vector space Column vector or row vector, a one-dimensional matrix often representing the solution of a system of linear equations Coordinate vector, in linear algebra, an explicit representation of an element of any abstract vector space. Used as the basis for Vertex class, Ray class, Point class etc. Simply stores x,y,z etc in linear memory. More...
 
struct  Constant< Vector< t_dims, t_type > >
 
struct  is_base_of_template_impl< base, derived >
 
struct  IsVec< t_type >
 
struct  IsSameType< t_type_a, t_type_b >
 
struct  IsSameType< t_type_a, t_type_a >
 
struct  IsVecType< t_type_a, t_type_b >
 
struct  hash< NDEVR::Vector< 2, NDEVR::uint04 > >
 
struct  hash< NDEVR::Vector< 3, NDEVR::uint04 > >
 
struct  hash< NDEVR::Vector< 3, NDEVR::fltp08 > >
 
struct  hash< NDEVR::Vector< 3, NDEVR::fltp04 > >
 

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))