scale


This object has been removed in release 10.0.0. Use NTL objects instead.

Makes scaling tensor(matrix).

You can find more information in comments below.

template<class TYPE>
    void scale(TTensor<TYPE, 3u, 3u> &m, const TYPE x, const TYPE y); // Set 2D scale to 3x3 tensor(matrix) 
    
    template<class TYPE>
    void scale(TTensor<TYPE, 4u, 4u> &m, const TYPE x, const TYPE y, const TYPE z); // Set 3D scale to 4x4 tensor(matrix)
Namespace: nitisa::math
Include: Nitisa/Modules/Math/Tensor.h