| 
| 
T *  | Data (void) | 
|   | Pointer to the components of this vector. 
  | 
|   | 
| 
const T *  | Data (void) const | 
|   | Pointer to the components of this vector. 
  | 
|   | 
| T  | At (std::size_t i) const | 
|   | Access to the i-th component of this vector.  More...
  | 
|   | 
| T  | At (std::size_t i, T fallback) const | 
|   | Access to the i-th component of this vector with a fallback.  More...
  | 
|   | 
| T &  | operator[] (std::size_t i) | 
|   | Access to the i-th component of this vector.  More...
  | 
|   | 
| const T &  | operator[] (std::size_t i) const | 
|   | Const access to the i-th component of this vector.  More...
  | 
|   | 
| 
void  | Add (const VectorBase &v) | 
|   | Adds v to this vector. 
  | 
|   | 
| 
void  | Subtract (const VectorBase &v) | 
|   | Subtracts v from this vector. 
  | 
|   | 
| 
void  | Multiply (T v) | 
|   | Multiplies this vector by a scalar value. 
  | 
|   | 
| 
void  | Multiply (const VectorBase &that) | 
|   | Multiplies the elements of this and that vector. 
  | 
|   | 
| 
void  | Divide (T v) | 
|   | Divides this vector by a scalar value. 
  | 
|   | 
| 
void  | Divide (const VectorBase &that) | 
|   | Divides the elements of this and that vector. 
  | 
|   | 
| 
T  | Length (void) const | 
|   | Returns the lenght of this vector. 
  | 
|   | 
| 
bool  | IsNormal (T eps=T(0)) const | 
|   | Returns true if the vector is normal. 
  | 
|   | 
| 
void  | Normalize (void) | 
|   | Normalizes this vector. 
  | 
|   | 
template<typename T>
class oglplus::Vector< T, 4 >
.file oglplus/math/vector_4.ipp .brief Specialization of Vector for 4D vectors
- Author
 - Matus Chochlik
 
Copyright 2010-2014 Matus Chochlik. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)