Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vector.h File Reference
#include "base/integral_types.h"
#include "ion/base/logging.h"
#include "ion/base/static_assert.h"
#include "ion/base/stringutils.h"
Include dependency graph for vector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ion::math::VectorBase< Dimension, T >
 VectorBase. More...
 
struct  ion::math::VectorBase< Dimension, T >::StaticHelper< Dim, U >
 Helper struct to aid in Zero, Fill, and Axis functions. More...
 
class  ion::math::Vector< Dimension, T >
 Vector. More...
 
class  ion::math::Point< Dimension, T >
 Point. More...
 
struct  ion::math::VectorBase< Dimension, T >::StaticHelper< 1, U >
 Specializations to help with static functions. More...
 
struct  ion::math::VectorBase< Dimension, T >::StaticHelper< 2, U >
 
struct  ion::math::VectorBase< Dimension, T >::StaticHelper< 3, U >
 
struct  ion::math::VectorBase< Dimension, T >::StaticHelper< 4, U >
 

Namespaces

 ion
 Copyright 2016 Google Inc.
 
 ion::math
 

Macros

#define ION_INSTANTIATE_VECTOR_TYPE(type)
 Dimension- and type-specific typedefs. More...
 

Functions

template<int Dimension, typename T >
std::ostream & ion::math::operator<< (std::ostream &out, const Vector< Dimension, T > &v)
 Prints a Vector to a stream. More...
 
template<int Dimension, typename T >
std::istream & ion::math::operator>> (std::istream &in, Vector< Dimension, T > &v)
 Reads a Vector from a stream. More...
 
template<int Dimension, typename T >
std::ostream & ion::math::operator<< (std::ostream &out, const Point< Dimension, T > &p)
 Prints a Point to a stream. More...
 
template<int Dimension, typename T >
std::istream & ion::math::operator>> (std::istream &in, Point< Dimension, T > &v)
 Reads a Point from a stream. More...
 
 ion::math::ION_INSTANTIATE_VECTOR_TYPE (VectorBase)
 
 ion::math::ION_INSTANTIATE_VECTOR_TYPE (Vector)
 
 ion::math::ION_INSTANTIATE_VECTOR_TYPE (Point)
 

Macro Definition Documentation

#define ION_INSTANTIATE_VECTOR_TYPE (   type)

Dimension- and type-specific typedefs.

Definition at line 709 of file vector.h.