Loading src/TNL/Matrices/DenseMatrixView.hpp +11 −7 Original line number Diff line number Diff line Loading @@ -374,8 +374,9 @@ template< typename Real, bool RowMajorOrder > template< typename Vector > __cuda_callable__ typename Vector::RealType DenseMatrixView< Real, Device, Index, RowMajorOrder >::rowVectorProduct( const IndexType row, const Vector& vector ) const typename Vector::RealType DenseMatrixView< Real, Device, Index, RowMajorOrder >:: rowVectorProduct( const IndexType row, const Vector& vector ) const { RealType sum( 0.0 ); // TODO: Fix this Loading @@ -390,8 +391,9 @@ template< typename Real, bool RowMajorOrder > template< typename InVector, typename OutVector > void DenseMatrixView< Real, Device, Index, RowMajorOrder >::vectorProduct( const InVector& inVector, OutVector& outVector ) const void DenseMatrixView< Real, Device, Index, RowMajorOrder >:: vectorProduct( const InVector& inVector, OutVector& outVector ) const { TNL_ASSERT_EQ( this->getColumns(), inVector.getSize(), "Matrix columns count differs with input vector size." ); TNL_ASSERT_EQ( this->getRows(), outVector.getSize(), "Matrix rows count differs with output vector size." ); Loading @@ -416,7 +418,9 @@ template< typename Real, typename Index, bool RowMajorOrder > template< typename Matrix > void DenseMatrixView< Real, Device, Index, RowMajorOrder >::addMatrix( const Matrix& matrix, void DenseMatrixView< Real, Device, Index, RowMajorOrder >:: addMatrix( const Matrix& matrix, const RealType& matrixMultiplicator, const RealType& thisMatrixMultiplicator ) { Loading Loading
src/TNL/Matrices/DenseMatrixView.hpp +11 −7 Original line number Diff line number Diff line Loading @@ -374,8 +374,9 @@ template< typename Real, bool RowMajorOrder > template< typename Vector > __cuda_callable__ typename Vector::RealType DenseMatrixView< Real, Device, Index, RowMajorOrder >::rowVectorProduct( const IndexType row, const Vector& vector ) const typename Vector::RealType DenseMatrixView< Real, Device, Index, RowMajorOrder >:: rowVectorProduct( const IndexType row, const Vector& vector ) const { RealType sum( 0.0 ); // TODO: Fix this Loading @@ -390,8 +391,9 @@ template< typename Real, bool RowMajorOrder > template< typename InVector, typename OutVector > void DenseMatrixView< Real, Device, Index, RowMajorOrder >::vectorProduct( const InVector& inVector, OutVector& outVector ) const void DenseMatrixView< Real, Device, Index, RowMajorOrder >:: vectorProduct( const InVector& inVector, OutVector& outVector ) const { TNL_ASSERT_EQ( this->getColumns(), inVector.getSize(), "Matrix columns count differs with input vector size." ); TNL_ASSERT_EQ( this->getRows(), outVector.getSize(), "Matrix rows count differs with output vector size." ); Loading @@ -416,7 +418,9 @@ template< typename Real, typename Index, bool RowMajorOrder > template< typename Matrix > void DenseMatrixView< Real, Device, Index, RowMajorOrder >::addMatrix( const Matrix& matrix, void DenseMatrixView< Real, Device, Index, RowMajorOrder >:: addMatrix( const Matrix& matrix, const RealType& matrixMultiplicator, const RealType& thisMatrixMultiplicator ) { Loading