simplevectors  0.3.9
Simple vector implementations in C++
simplevectors Documentation

Simplevectors Documentation

Simple, embeddable, and extendable vector implementations in C++.

Note
C++11 or higher is needed for this library.
This is mostly tested on MacOS 12.6 with C++11, clang 13.0.0, CMake 3.22.2, and GNU make 3.81.

GitHub Workflow Status GitHub Docs Status

Links

Quickstart

This is a very basic example of simplevectors. First, download simplevectors.hpp from the releases page on the GitHub repository, then paste the code below:

#include "path/to/simplevectors.hpp"
int main(){
svector::Vector<2> vector2; // creates a 2D-vector
vector2d; // creates a 2D-vector with 2D-specific functionality
svector::Vector<3> vector3; // creates a 3D-vector
vector3d; // creates a 3D-vector with 3D-specific functionality
svector::Vector<4> vector4; // creates a 4D-vector
}
A base vector representation.
Definition: vector.hpp:34
A simple 2D vector representation.
Definition: vector2d.hpp:25
A simple 3D vector representation.
Definition: vector3d.hpp:26

More info

For more information about usage, look under the "Related Pages" tab. For info about the API classes, look under the "Classes" tab. For info about functions, look under the "Files" tab.

License

MIT License (© 2023 Jonathan Liu)