Skip to content

Commit

Permalink
improved docstrings for FBCSR sample matrix generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Slaedr committed Nov 26, 2020
1 parent d7dd6bc commit e3fe272
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions core/test/matrix/fbcsr_sample.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,20 @@ class FbcsrSample {
*/
MatData generate_matrix_data_with_explicit_zeros() const;

/// Returns an array containing number of stored values in each row
/// (not block-row)
/**
* @return An array containing number of stored values in each row
*/
gko::Array<index_type> getNonzerosPerRow() const;

/**
* @return FBCSR matrix with absolute values of respective entries
*/
std::unique_ptr<Fbcsr> generate_abs_fbcsr() const;

/**
* @return FBCSR matrix with real scalar type,
* with absolute values of respective entries
*/
std::unique_ptr<gko::matrix::Fbcsr<remove_complex<value_type>, index_type>>
generate_abs_fbcsr_abstype() const;

Expand Down Expand Up @@ -180,15 +188,8 @@ class FbcsrSample2 {

gko::Array<index_type> getNonzerosPerRow() const;

/**
* @return FBCSR matrix with absolute values of respective entries
*/
std::unique_ptr<Fbcsr> generate_abs_fbcsr() const;

/**
* @return FBCSR matrix with real scalar type,
* with absolute values of respective entries
*/
std::unique_ptr<gko::matrix::Fbcsr<remove_complex<value_type>, index_type>>
generate_abs_fbcsr_abstype() const;

Expand Down

0 comments on commit e3fe272

Please sign in to comment.