diff --git a/src/TNL/Matrices/Matrix.h b/src/TNL/Matrices/Matrix.h index 30031da42bb978acec8d66ed18cc7d714d46d5b7..8fc8cb5f28eed526099a86afb22574e5819d27b0 100644 --- a/src/TNL/Matrices/Matrix.h +++ b/src/TNL/Matrices/Matrix.h @@ -47,10 +47,6 @@ public: const IndexType columns, const RealAllocatorType& allocator = RealAllocatorType() ); - /*ViewType getView(); - - ConstViewType getConstView() const;*/ - virtual void setDimensions( const IndexType rows, const IndexType columns ); diff --git a/src/TNL/Matrices/Matrix.hpp b/src/TNL/Matrices/Matrix.hpp index 3a09d0088ad9f9814b3b1822124884227c713373..9fc5ea620862391092edc54775092af744f1a1d2 100644 --- a/src/TNL/Matrices/Matrix.hpp +++ b/src/TNL/Matrices/Matrix.hpp @@ -43,28 +43,6 @@ Matrix( const IndexType rows_, const IndexType columns_, const RealAllocatorType { } -/*template< typename Real, - typename Device, - typename Index, - typename RealAllocator > -auto -Matrix< Real, Device, Index, RealAllocator >:: -getView() -> ViewType -{ - return ViewType( rows, columns, values.getView() ); -} - -template< typename Real, - typename Device, - typename Index, - typename RealAllocator > -auto -Matrix< Real, Device, Index, RealAllocator >:: -getConstView() const -> ConstViewType -{ - return ConstViewType( rows, columns, values.getConstView() ); -}*/ - template< typename Real, typename Device, typename Index, diff --git a/src/TNL/Matrices/MatrixView.h b/src/TNL/Matrices/MatrixView.h index 5a3cde4780d11f219fef959e61592f9bb68577ff..76965e511291bfae5b178970f869b1d50814fec6 100644 --- a/src/TNL/Matrices/MatrixView.h +++ b/src/TNL/Matrices/MatrixView.h @@ -49,12 +49,6 @@ public: __cuda_callable__ MatrixView( const MatrixView& view ) = default; - //__cuda_callable__ - //ViewType getView(); - - //__cuda_callable__ - //ConstViewType getConstView() const; - virtual IndexType getRowLength( const IndexType row ) const = 0; // TODO: implementation is not parallel diff --git a/src/TNL/Matrices/MatrixView.hpp b/src/TNL/Matrices/MatrixView.hpp index 0473f52b84ddd15d7d253eeacfaeadd6f4a3a336..bd3d9beaee73a8d55bc73c1e9de870a4c14b330c 100644 --- a/src/TNL/Matrices/MatrixView.hpp +++ b/src/TNL/Matrices/MatrixView.hpp @@ -42,28 +42,6 @@ MatrixView( const IndexType rows_, { } -/*template< typename Real, - typename Device, - typename Index > -__cuda_callable__ -auto -MatrixView< Real, Device, Index >:: -getView() ->ViewType -{ - return ViewType( rows, columns, values.getView() ); -} - -template< typename Real, - typename Device, - typename Index > -__cuda_callable__ -auto -MatrixView< Real, Device, Index >:: -getConstView() const -> ConstViewType -{ - return ConstViewType( rows, columns, values.getConstView() ); -}*/ - template< typename Real, typename Device, typename Index >