Skip to content

Commit

Permalink
added description and output
Browse files Browse the repository at this point in the history
  • Loading branch information
garybradski authored Jun 30, 2017
1 parent 3223102 commit af289c4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions example_04-03.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//Example 4-3. Printing all of the nonzero elements of a sparse array

#include <opencv2/opencv.hpp>
#include <iostream>

Expand All @@ -8,6 +10,9 @@ using namespace std;
// Summation of a multidimensional array, done plane by plane
//
int main( int argc, char** argv ) {

cout << "\nExample 4-3. Printing all of the nonzero elements of a sparse array"
<< "\nCall:\n" << argv[0] << endl;

// Create a 10x10 sparse matrix with a few nonzero elements
//
Expand Down

0 comments on commit af289c4

Please sign in to comment.