Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
mat.h File Reference
#include <ostream>
#include "core/vec.h"
#include "util/multirange_for.h"

Go to the source code of this file.

Namespaces

namespace  bbm
 

Typedefs

template<typename T >
using mat2d = bbm::detail::mat< vec2d< T >, 2 >
 2D matrix
 
template<typename T >
using mat3d = bbm::detail::mat< vec3d< T >, 3 >
 3D matrix
 

Functions

template<typename M >
constexpr M identity (void)
 create an identity matrix
 
template<typename M >
constexpr M transpose (const M &m)
 Bring 'transpose' in the bbm namespace.