scsl 1.0.1
Shimmering Clarity Standard Library
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs
Vector.h File Reference

Linear algebraic vector class. More...

#include <array>
#include <cassert>
#include <cmath>
#include <initializer_list>
#include <ostream>
#include <iostream>
#include <scmp/Math.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  scmp::geom::Vector< T, N >
 Vectors represent a direction and Magnitude. More...
 

Namespaces

namespace  scmp
 Shimmering Clarity Math & Physics toolkit.
 
namespace  scmp::geom
 Geometry-related code.
 

Typedefs

typedef Vector< float, 2 > scmp::geom::Vector2F
 Type alias for a two-dimensional float vector.
 
typedef Vector< float, 3 > scmp::geom::Vector3F
 Type alias for a three-dimensional float vector.
 
typedef Vector< float, 4 > scmp::geom::Vector4F
 Type alias for a four-dimensional float vector.
 
typedef Vector< double, 2 > scmp::geom::Vector2D
 Type alias for a two-dimensional double vector.
 
typedef Vector< double, 3 > scmp::geom::Vector3D
 Type alias for a three-dimensional double vector.
 
typedef Vector< double, 4 > scmp::geom::Vector4D
 Type alias for a four-dimensional double vector.
 

Detailed Description

Linear algebraic vector class.

Author
K. Isom kyle@.nosp@m.imap.nosp@m..cc
Date
2017-06-05

Copyright 2017 K. Isom kyle@.nosp@m.imap.nosp@m..cc

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all /// copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.