diff options
author | siddhu8990 | 2016-08-18 15:47:18 +0530 |
---|---|---|
committer | siddhu8990 | 2016-08-18 15:47:18 +0530 |
commit | c8fd6991786ccddb44547b619178bb391f3f9b96 (patch) | |
tree | cd1cacd7796d85875e8b2bb15780902c55f42db1 /src/c/matrixOperations/cumsum | |
parent | 24fbba33153e7758df4a990cb4c21ae8e53e6f3e (diff) | |
download | Scilab2C_fossee_old-c8fd6991786ccddb44547b619178bb391f3f9b96.tar.gz Scilab2C_fossee_old-c8fd6991786ccddb44547b619178bb391f3f9b96.tar.bz2 Scilab2C_fossee_old-c8fd6991786ccddb44547b619178bb391f3f9b96.zip |
RPi-PWM and basic imaage processing
Diffstat (limited to 'src/c/matrixOperations/cumsum')
-rw-r--r-- | src/c/matrixOperations/cumsum/dcolumncumsuma.c | 4 | ||||
-rw-r--r-- | src/c/matrixOperations/cumsum/drowcumsuma.c | 4 | ||||
-rw-r--r-- | src/c/matrixOperations/cumsum/i16columncumsuma.c | 4 | ||||
-rw-r--r-- | src/c/matrixOperations/cumsum/i16rowcumsuma.c | 4 | ||||
-rw-r--r-- | src/c/matrixOperations/cumsum/i8columncumsuma.c | 4 | ||||
-rw-r--r-- | src/c/matrixOperations/cumsum/i8rowcumsuma.c | 4 | ||||
-rw-r--r-- | src/c/matrixOperations/cumsum/scolumncumsuma.c | 4 | ||||
-rw-r--r-- | src/c/matrixOperations/cumsum/srowcumsuma.c | 4 | ||||
-rw-r--r-- | src/c/matrixOperations/cumsum/u16columncumsuma.c | 4 | ||||
-rw-r--r-- | src/c/matrixOperations/cumsum/u16rowcumsuma.c | 4 | ||||
-rw-r--r-- | src/c/matrixOperations/cumsum/u8columncumsuma.c | 4 | ||||
-rw-r--r-- | src/c/matrixOperations/cumsum/u8rowcumsuma.c | 4 |
12 files changed, 24 insertions, 24 deletions
diff --git a/src/c/matrixOperations/cumsum/dcolumncumsuma.c b/src/c/matrixOperations/cumsum/dcolumncumsuma.c index e26a9da..daf6013 100644 --- a/src/c/matrixOperations/cumsum/dcolumncumsuma.c +++ b/src/c/matrixOperations/cumsum/dcolumncumsuma.c @@ -19,13 +19,13 @@ void dcolumncumsuma(double *in1, int row, int column, double *out) { int row_cnt, col_cnt = 0; - //Assign elements in first column as it is + /*Assign elements in first column as it is*/ for(row_cnt = 0; row_cnt < row; row_cnt++) { out[row_cnt] = in1[row_cnt]; } - //For second column onwards + /*For second column onwards*/ for (row_cnt = 0; row_cnt < row; row_cnt++) { for ( col_cnt = 1; col_cnt < column; col_cnt++) diff --git a/src/c/matrixOperations/cumsum/drowcumsuma.c b/src/c/matrixOperations/cumsum/drowcumsuma.c index e523d67..4bb3f32 100644 --- a/src/c/matrixOperations/cumsum/drowcumsuma.c +++ b/src/c/matrixOperations/cumsum/drowcumsuma.c @@ -19,12 +19,12 @@ void drowcumsuma(double *in1, int row, int column, double *out) { int row_cnt, col_cnt = 0; - //assign elements in first row as it is + /*assign elements in first row as it is*/ for (col_cnt = 0; col_cnt < column; col_cnt++) { out[col_cnt*row] = in1[col_cnt*row]; } - //For second row onwards + /*For second row onwards*/ for (col_cnt = 0; col_cnt < column; col_cnt++) { for ( row_cnt = 1; row_cnt < row; row_cnt++) diff --git a/src/c/matrixOperations/cumsum/i16columncumsuma.c b/src/c/matrixOperations/cumsum/i16columncumsuma.c index 8f0dcb5..ae84428 100644 --- a/src/c/matrixOperations/cumsum/i16columncumsuma.c +++ b/src/c/matrixOperations/cumsum/i16columncumsuma.c @@ -19,13 +19,13 @@ void i16columncumsuma(int16 *in1, int row, int column, int16 *out) { int row_cnt, col_cnt = 0; - //Assign elements in first column as it is + /*Assign elements in first column as it is*/ for(row_cnt = 0; row_cnt < row; row_cnt++) { out[row_cnt] = in1[row_cnt]; } - //For second column onwards + /*For second column onwards*/ for (row_cnt = 0; row_cnt < row; row_cnt++) { for ( col_cnt = 1; col_cnt < column; col_cnt++) diff --git a/src/c/matrixOperations/cumsum/i16rowcumsuma.c b/src/c/matrixOperations/cumsum/i16rowcumsuma.c index 9cd98c5..67cb9c7 100644 --- a/src/c/matrixOperations/cumsum/i16rowcumsuma.c +++ b/src/c/matrixOperations/cumsum/i16rowcumsuma.c @@ -19,12 +19,12 @@ void i16rowcumsuma(int16 *in1, int row, int column, int16 *out) { int row_cnt, col_cnt = 0; - //assign elements in first row as it is + /*assign elements in first row as it is*/ for (col_cnt = 0; col_cnt < column; col_cnt++) { out[col_cnt*row] = in1[col_cnt*row]; } - //For second row onwards + /*For second row onwards*/ for (col_cnt = 0; col_cnt < column; col_cnt++) { for ( row_cnt = 1; row_cnt < row; row_cnt++) diff --git a/src/c/matrixOperations/cumsum/i8columncumsuma.c b/src/c/matrixOperations/cumsum/i8columncumsuma.c index c703049..67f72bc 100644 --- a/src/c/matrixOperations/cumsum/i8columncumsuma.c +++ b/src/c/matrixOperations/cumsum/i8columncumsuma.c @@ -19,13 +19,13 @@ void i8columncumsuma(int8 *in1, int row, int column, int8 *out) { int row_cnt, col_cnt = 0; - //Assign elements in first column as it is + /*Assign elements in first column as it is*/ for(row_cnt = 0; row_cnt < row; row_cnt++) { out[row_cnt] = in1[row_cnt]; } - //For second column onwards + /*For second column onwards*/ for (row_cnt = 0; row_cnt < row; row_cnt++) { for ( col_cnt = 1; col_cnt < column; col_cnt++) diff --git a/src/c/matrixOperations/cumsum/i8rowcumsuma.c b/src/c/matrixOperations/cumsum/i8rowcumsuma.c index 017e920..a9e7da8 100644 --- a/src/c/matrixOperations/cumsum/i8rowcumsuma.c +++ b/src/c/matrixOperations/cumsum/i8rowcumsuma.c @@ -19,12 +19,12 @@ void i8rowcumsuma(int8 *in1, int row, int column, int8 *out) { int row_cnt, col_cnt = 0; - //assign elements in first row as it is + /*assign elements in first row as it is*/ for (col_cnt = 0; col_cnt < column; col_cnt++) { out[col_cnt*row] = in1[col_cnt*row]; } - //For second row onwards + /*For second row onwards*/ for (col_cnt = 0; col_cnt < column; col_cnt++) { for ( row_cnt = 1; row_cnt < row; row_cnt++) diff --git a/src/c/matrixOperations/cumsum/scolumncumsuma.c b/src/c/matrixOperations/cumsum/scolumncumsuma.c index 108c2c7..a7e8a85 100644 --- a/src/c/matrixOperations/cumsum/scolumncumsuma.c +++ b/src/c/matrixOperations/cumsum/scolumncumsuma.c @@ -19,13 +19,13 @@ void scolumncumsuma(float *in1, int row, int column, float *out) { int row_cnt, col_cnt = 0; - //Assign elements in first column as it is + /*Assign elements in first column as it is*/ for(row_cnt = 0; row_cnt < row; row_cnt++) { out[row_cnt] = in1[row_cnt]; } - //For second column onwards + /*For second column onwards*/ for (row_cnt = 0; row_cnt < row; row_cnt++) { for ( col_cnt = 1; col_cnt < column; col_cnt++) diff --git a/src/c/matrixOperations/cumsum/srowcumsuma.c b/src/c/matrixOperations/cumsum/srowcumsuma.c index b5b968f..3af5d36 100644 --- a/src/c/matrixOperations/cumsum/srowcumsuma.c +++ b/src/c/matrixOperations/cumsum/srowcumsuma.c @@ -19,12 +19,12 @@ void srowcumsuma(float *in1, int row, int column, float *out) { int row_cnt, col_cnt = 0; - //assign elements in first row as it is + /*assign elements in first row as it is*/ for (col_cnt = 0; col_cnt < column; col_cnt++) { out[col_cnt*row] = in1[col_cnt*row]; } - //For second row onwards + /*For second row onwards*/ for (col_cnt = 0; col_cnt < column; col_cnt++) { for ( row_cnt = 1; row_cnt < row; row_cnt++) diff --git a/src/c/matrixOperations/cumsum/u16columncumsuma.c b/src/c/matrixOperations/cumsum/u16columncumsuma.c index 360caeb..aa16a58 100644 --- a/src/c/matrixOperations/cumsum/u16columncumsuma.c +++ b/src/c/matrixOperations/cumsum/u16columncumsuma.c @@ -19,13 +19,13 @@ void u16columncumsuma(uint16 *in1, int row, int column, uint16 *out) { int row_cnt, col_cnt = 0; - //Assign elements in first column as it is + /*Assign elements in first column as it is*/ for(row_cnt = 0; row_cnt < row; row_cnt++) { out[row_cnt] = in1[row_cnt]; } - //For second column onwards + /*For second column onwards*/ for (row_cnt = 0; row_cnt < row; row_cnt++) { for ( col_cnt = 1; col_cnt < column; col_cnt++) diff --git a/src/c/matrixOperations/cumsum/u16rowcumsuma.c b/src/c/matrixOperations/cumsum/u16rowcumsuma.c index 75ff1e6..0ef0945 100644 --- a/src/c/matrixOperations/cumsum/u16rowcumsuma.c +++ b/src/c/matrixOperations/cumsum/u16rowcumsuma.c @@ -19,12 +19,12 @@ void u16rowcumsuma(uint16 *in1, int row, int column, uint16 *out) { int row_cnt, col_cnt = 0; - //assign elements in first row as it is + /*assign elements in first row as it is*/ for (col_cnt = 0; col_cnt < column; col_cnt++) { out[col_cnt*row] = in1[col_cnt*row]; } - //For second row onwards + /*For second row onwards*/ for (col_cnt = 0; col_cnt < column; col_cnt++) { for ( row_cnt = 1; row_cnt < row; row_cnt++) diff --git a/src/c/matrixOperations/cumsum/u8columncumsuma.c b/src/c/matrixOperations/cumsum/u8columncumsuma.c index a53467a..890a0be 100644 --- a/src/c/matrixOperations/cumsum/u8columncumsuma.c +++ b/src/c/matrixOperations/cumsum/u8columncumsuma.c @@ -19,13 +19,13 @@ void u8columncumsuma(uint8 *in1, int row, int column, uint8 *out) { int row_cnt, col_cnt = 0; - //Assign elements in first column as it is + /*Assign elements in first column as it is*/ for(row_cnt = 0; row_cnt < row; row_cnt++) { out[row_cnt] = in1[row_cnt]; } - //For second column onwards + /*For second column onwards*/ for (row_cnt = 0; row_cnt < row; row_cnt++) { for ( col_cnt = 1; col_cnt < column; col_cnt++) diff --git a/src/c/matrixOperations/cumsum/u8rowcumsuma.c b/src/c/matrixOperations/cumsum/u8rowcumsuma.c index 41553cd..1204d83 100644 --- a/src/c/matrixOperations/cumsum/u8rowcumsuma.c +++ b/src/c/matrixOperations/cumsum/u8rowcumsuma.c @@ -19,12 +19,12 @@ void u8rowcumsuma(uint8 *in1, int row, int column, uint8 *out) { int row_cnt, col_cnt = 0; - //assign elements in first row as it is + /*assign elements in first row as it is*/ for (col_cnt = 0; col_cnt < column; col_cnt++) { out[col_cnt*row] = in1[col_cnt*row]; } - //For second row onwards + /*For second row onwards*/ for (col_cnt = 0; col_cnt < column; col_cnt++) { for ( row_cnt = 1; row_cnt < row; row_cnt++) |