Kale
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
Matrix.hpp File Reference
#include <Kale/Math/Vector/Vector.hpp>
#include <array>
#include <algorithm>
#include <ostream>
#include <iomanip>
#include <type_traits>
#include <limits>
#include <nlohmann/json.hpp>

Go to the source code of this file.

Classes

class  Kale::Matrix< w, h, T >
 

Namespaces

namespace  Kale
 

Typedefs

typedef Matrix< 2, 2, int > Kale::Matrix2i
 
typedef Matrix< 2, 2, long > Kale::Matrix2l
 
typedef Matrix< 2, 2, float > Kale::Matrix2f
 
typedef Matrix< 2, 2, double > Kale::Matrix2d
 
typedef Matrix< 3, 3, int > Kale::Matrix3i
 
typedef Matrix< 3, 3, long > Kale::Matrix3l
 
typedef Matrix< 3, 3, float > Kale::Matrix3f
 
typedef Matrix< 3, 3, double > Kale::Matrix3d
 
typedef Matrix< 4, 4, int > Kale::Matrix4i
 
typedef Matrix< 4, 4, long > Kale::Matrix4l
 
typedef Matrix< 4, 4, float > Kale::Matrix4f
 
typedef Matrix< 4, 4, double > Kale::Matrix4d
 
template<size_t w, size_t h>
using Kale::MatrixI = Matrix<w, h, int>
 
template<size_t w, size_t h>
using Kale::MatrixL = Matrix<w, h, long>
 
template<size_t w, size_t h>
using Kale::MatrixF = Matrix<w, h, float>
 
template<size_t w, size_t h>
using Kale::MatrixD = Matrix<w, h, double>
 

Functions

template<size_t w, size_t h, typename T >
std::ostream & Kale::operator<< (std::ostream &os, const Kale::Matrix< w, h, T > &mat)
 
template<size_t w, size_t h, typename T >
void Kale::from_json (const JSON &j, Matrix< w, h, T > &p)
 
template<size_t w, size_t h, typename T >
void Kale::to_json (JSON &j, const Matrix< w, h, T > &p)