Files
sics/arrayutil.h
koennecke 446b05d6a2 - Added some hipadab array math
- Added missing cnvrt files, stolen from Markus
- Debugged the new sinqhttpopt driver for SINQ HTTP HM
- Debugged the driver for the new S7 Siemens SPS
- Added handling of hexadecimal terminators to ascon.c
- Increased the write buffer size in asynnet again
- Fixed  a core dump in lld.c
- Added writing of second gen HM to nxscript.c
- Added doubletime command to SICS
- Fixed a core dump issue in sicshdbadapter.c on dimension changes
- Modified sicsobj to look for lower case keys too


SKIPPED:
	psi/cnvrt.c
	psi/cnvrt.h
	psi/el734hp.c
	psi/make_gen
	psi/sinqhttpopt.c
	psi/sinqhttpprot.c
	psi/spss7.c
	psi/swmotor.c
2011-04-08 14:18:42 +00:00

32 lines
664 B
C

/*
* arrayutil.h
*
* copyright: GPL
*
* Start of some array processing utilities. This may go if
* a more generalized array handling gets implemented into
* SICS.
*
* Created on: Mar 16, 2011
* Author: koennecke
*/
#ifndef ARRAYUTIL_H_
#define ARRAYUTIL_H_
/**
* sum data in a window
* @param data The data pointer
* @param xstart
* @param xend
* @param xlength length of x dimension
* @param ystart
* @param yend
* @param ylength size of y dimension
* @return a sum or -2 if the limits fail to make sense
*/
long sumWindow(int *data, int xstart, int xend, int xlength,
int ystart, int yend, int ylength);
#endif /* ARRAYUTIL_H_ */