DNA Calib 1.1
Project brief
Functions
tdm::affine Namespace Reference

Functions

template<dim_t L, typename T >
mat< L, L, T > scale (const vec< L, T > &factors)
 
template<dim_t L, typename T >
mat< L, L, T > scale (const mat< L, L, T > &m, const vec< L, T > &factors)
 
template<dim_t L, typename T >
mat< L, L, T > scale (T factor)
 
template<dim_t L, typename T >
mat< L, L, T > scale (const mat< L, L, T > &m, T factor)
 

Function Documentation

◆ scale() [1/4]

template<dim_t L, typename T >
mat< L, L, T > tdm::affine::scale ( const mat< L, L, T > &  m,
const vec< L, T > &  factors 
)
inline
34 {
35 return m * scale(factors);
36}
mat< L, L, T > scale(const mat< L, L, T > &m, T factor)
Definition: Transforms.h:142

References scale().

◆ scale() [2/4]

template<dim_t L, typename T >
mat< L, L, T > tdm::affine::scale ( const mat< L, L, T > &  m,
factor 
)
inline
44 {
45 return scale(m, vec<L, T>{factor});
46}
Definition: Vec.h:10

References scale().

◆ scale() [3/4]

template<dim_t L, typename T >
mat< L, L, T > tdm::affine::scale ( const vec< L, T > &  factors)
inline

◆ scale() [4/4]

template<dim_t L, typename T >
mat< L, L, T > tdm::affine::scale ( factor)
inline
39 {
40 return scale(vec<L, T>{factor});
41}

References scale().