#
#	Copyright 1993, Center for Computer Vision and Visualization,
#	University of Florida.  All rights reserved.
#

#
# $Log:	float-convolutions.desc,v $
# Revision 1.2  93/05/27  11:41:03  thoth
# Copyright Notices
# 
# Revision 1.1  93/05/26  17:16:30  thoth
# Initial revision
# 
# Revision 1.2  93/05/18  21:44:57  thoth
# New more descriptive names for standard convolutions.
# 
# Revision 1.1  93/03/18  11:23:20  thoth
# Initial revision
# 

float linear_product float float zero=0
init:	RTYPE	a = 0;
accum:	a += IVAL * TVAL;
final:	IRESULT = a;

float addmax_product float float  zero=-infinity()
init:	RTYPE	a=ZERO;
accum:	register IBTYPE ival = IVAL; if (ival == ZERO) continue; RTYPE temp = ival+TVAL; if (temp > a) a = temp;
accvar:	RTYPE temp = IVAL+TVAL; if (temp > a) a = temp;
final:	IRESULT = a;

float addmin_product float float  zero=infinity()
init:	RTYPE	a=ZERO;
accum:	register IBTYPE ival = IVAL; if (ival == ZERO) continue; RTYPE temp = ival+TVAL; if (temp < a) a = temp;
accvar:	RTYPE temp = IVAL+TVAL; if (temp < a) a = temp;
final:	IRESULT = a;
