Loading src/TNL/Containers/Vector.h +4 −5 Original line number Diff line number Diff line Loading @@ -49,14 +49,14 @@ class Vector const RealType& thisElementMultiplicator ); template< typename VectorT > Vector< Real, Device, Index >& operator -= ( const VectorT& vector ); Vector& operator -= ( const VectorT& vector ); template< typename VectorT > Vector< Real, Device, Index >& operator += ( const VectorT& vector ); Vector& operator += ( const VectorT& vector ); Vector< Real, Device, Index >& operator *= ( const RealType& c ); Vector& operator *= ( const RealType& c ); Vector< Real, Device, Index >& operator /= ( const RealType& c ); Vector& operator /= ( const RealType& c ); Real max() const; Loading Loading @@ -102,7 +102,6 @@ class Vector const Real& multiplicator = 1.0, const Real& thisMultiplicator = 1.0 ); //! Computes this = thisMultiplicator * this + multiplicator1 * v1 + multiplicator2 * v2. template< typename Vector > void addVectors( const Vector& v1, Loading src/TNL/Containers/VectorView.h +5 −5 Original line number Diff line number Diff line Loading @@ -55,14 +55,14 @@ public: using ArrayView< Real, Device, Index >::operator!=; template< typename Vector > VectorView< Real, Device, Index >& operator-=( const Vector& vector ); VectorView& operator-=( const Vector& vector ); template< typename Vector > VectorView< Real, Device, Index >& operator+=( const Vector& vector ); VectorView& operator+=( const Vector& vector ); VectorView< Real, Device, Index >& operator*=( RealType c ); VectorView& operator*=( RealType c ); VectorView< Real, Device, Index >& operator/=( RealType c ); VectorView& operator/=( RealType c ); NonConstReal max() const; Loading Loading @@ -102,7 +102,7 @@ public: template< typename Vector > NonConstReal scalarProduct( const Vector& v ); //! Computes Y = alpha * X + Y. //! Computes this = thisMultiplicator * this + alpha * x. template< typename Vector > void addVector( const Vector& x, Real alpha = 1.0, Loading Loading
src/TNL/Containers/Vector.h +4 −5 Original line number Diff line number Diff line Loading @@ -49,14 +49,14 @@ class Vector const RealType& thisElementMultiplicator ); template< typename VectorT > Vector< Real, Device, Index >& operator -= ( const VectorT& vector ); Vector& operator -= ( const VectorT& vector ); template< typename VectorT > Vector< Real, Device, Index >& operator += ( const VectorT& vector ); Vector& operator += ( const VectorT& vector ); Vector< Real, Device, Index >& operator *= ( const RealType& c ); Vector& operator *= ( const RealType& c ); Vector< Real, Device, Index >& operator /= ( const RealType& c ); Vector& operator /= ( const RealType& c ); Real max() const; Loading Loading @@ -102,7 +102,6 @@ class Vector const Real& multiplicator = 1.0, const Real& thisMultiplicator = 1.0 ); //! Computes this = thisMultiplicator * this + multiplicator1 * v1 + multiplicator2 * v2. template< typename Vector > void addVectors( const Vector& v1, Loading
src/TNL/Containers/VectorView.h +5 −5 Original line number Diff line number Diff line Loading @@ -55,14 +55,14 @@ public: using ArrayView< Real, Device, Index >::operator!=; template< typename Vector > VectorView< Real, Device, Index >& operator-=( const Vector& vector ); VectorView& operator-=( const Vector& vector ); template< typename Vector > VectorView< Real, Device, Index >& operator+=( const Vector& vector ); VectorView& operator+=( const Vector& vector ); VectorView< Real, Device, Index >& operator*=( RealType c ); VectorView& operator*=( RealType c ); VectorView< Real, Device, Index >& operator/=( RealType c ); VectorView& operator/=( RealType c ); NonConstReal max() const; Loading Loading @@ -102,7 +102,7 @@ public: template< typename Vector > NonConstReal scalarProduct( const Vector& v ); //! Computes Y = alpha * X + Y. //! Computes this = thisMultiplicator * this + alpha * x. template< typename Vector > void addVector( const Vector& x, Real alpha = 1.0, Loading