AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
transforms.hpp File Reference
#include "axom/config.hpp"
#include "axom/core/numerics/Matrix.hpp"
#include "axom/core/ArrayView.hpp"
#include <cassert>
#include <cmath>

Namespaces

 axom
 
 axom::numerics
 
 axom::numerics::transforms
 

Functions

template<typename T = double>
Matrix< T > axom::numerics::transforms::xRotation (double angleRad, int ndims=3)
 Return rotation matrix about X axis. More...
 
template<typename T = double>
Matrix< T > axom::numerics::transforms::yRotation (double angleRad, int ndims=3)
 Return rotation matrix about Y axis. More...
 
template<typename T = double>
Matrix< T > axom::numerics::transforms::zRotation (double angleRad, int ndims=3)
 Return rotation matrix about Z axis. More...
 
template<typename T = double>
Matrix< T > axom::numerics::transforms::axisRotation (double angleRad, double x, double y, double z)
 Return 3D rotation matrix about specified axis. More...
 
template<typename T = double>
Matrix< T > axom::numerics::transforms::translate (T tx, T ty)
 Return translation matrix. More...
 
template<typename T = double>
Matrix< T > axom::numerics::transforms::translate (T tx, T ty, T tz)
 
template<typename T = double>
Matrix< T > axom::numerics::transforms::scale (T s, int ndims=3)
 Return scaling matrix. More...
 
template<typename T = double>
Matrix< T > axom::numerics::transforms::scale (T sx, T sy, T sz, int ndims=3)
 Return scaling matrix. More...
 
template<typename T = double>
Matrix< T > axom::numerics::transforms::scale (T sx, T sy, int ndims=3)
 Return scaling matrix. More...
 
template<typename T = double>
Matrix< T > axom::numerics::transforms::scale (T sx, T sy, const axom::ArrayView< T > &center)
 Return scaling matrix relative to a center point. More...
 
template<typename T = double>
Matrix< T > axom::numerics::transforms::scale (T sx, T sy, T sz, const axom::ArrayView< T > &center)
 Return scaling matrix relative to a center point. More...