Loading src/TNL/Matrices/SparseRow.h +3 −0 Original line number Diff line number Diff line Loading @@ -49,6 +49,9 @@ class SparseRow __cuda_callable__ const Real& getElementValue( const Index& elementIndex ) const; __cuda_callable__ Index getLength() const; void print( std::ostream& str ) const; protected: Loading src/TNL/Matrices/SparseRow_impl.h +9 −0 Original line number Diff line number Diff line Loading @@ -98,6 +98,15 @@ getElementValue( const Index& elementIndex ) const return this->values[ elementIndex * step ]; } template< typename Real, typename Index > __cuda_callable__ Index SparseRow< Real, Index >:: getLength() const { return length; } template< typename Real, typename Index > void SparseRow< Real, Index >:: Loading Loading
src/TNL/Matrices/SparseRow.h +3 −0 Original line number Diff line number Diff line Loading @@ -49,6 +49,9 @@ class SparseRow __cuda_callable__ const Real& getElementValue( const Index& elementIndex ) const; __cuda_callable__ Index getLength() const; void print( std::ostream& str ) const; protected: Loading
src/TNL/Matrices/SparseRow_impl.h +9 −0 Original line number Diff line number Diff line Loading @@ -98,6 +98,15 @@ getElementValue( const Index& elementIndex ) const return this->values[ elementIndex * step ]; } template< typename Real, typename Index > __cuda_callable__ Index SparseRow< Real, Index >:: getLength() const { return length; } template< typename Real, typename Index > void SparseRow< Real, Index >:: Loading