﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
65	Additional Issues for Vector and Image Arithmetic	calvin.harman@…	Paul Price	"This bug was created for the purpose of generating additional discussion for 
section 4.7 of the SDRS and addressing follow-up issues to: 

   1) Bug #28, ""List of Binary and Unary Operations...""
   2) Eugene's prototype vector/matrix macro code.
   3) IfA header files.
   4) MHPCC code implementation.

With clarifications of the required arithmetic operations in Bug 28 and the 
sample code, there are still a number of operations to be considered: 

   1) Function combinations: psBinaryOp or psUnaryOP.
   
   2) Structure combinations: psVector-psVector, psImage-psVector, psVector-
psScalar, psImage-psScalar, psImage-psImage, psImage-psVector(transpose), etc.

   3) Data type combinations: S32, F32, F64, C32, etc.

   4) Arithmetic combinations: +, -, *, /, ^, ln, log, sin, asin, etc.

There are several hundred possibilities, and not all arithmetic operations and 
data types fall into categories that can be reused with generic function 
macros. Issues encountered to date include:
   1) Is mixing of data types (i.e. F32 with S32) allowed?
   2) Checking for divide by zero for ""/"" when other operations don't need it.
   3) Differences in complex function names over standard c function names.
   4) Definition of min, max for complex functions.
   5) Debugging/readability of function macro code.
   6) Do image-vector operations act on all rows or just the first?
   7) Should number of elements in image-image (and others) agree? 
   8) Definition of psScalar...
        Should it be consistent with psImage and psVector definitions? 
        Should it be private?
        Should there be a psScalarAlloc, psScalarFree?"	defect	closed	normal		IPP SDRS	unspecified	minor	fixed		
