Skip to content

Commit

Permalink
Add get num samples function (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Huynh authored Jun 14, 2022
1 parent c5b13e7 commit 3643afa
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/algo/DMD.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,16 @@ class DMD
*/
double getTimeOffset() const;

/**
* @brief Returns the number of samples taken.
*
* @return The number of samples taken.
*/
int getNumSamples() const
{
return d_snapshots.size();
}

/**
* @brief Get the snapshot matrix contained within d_snapshots.
*/
Expand Down

0 comments on commit 3643afa

Please sign in to comment.