valvector_azmul

View page source

Absolute Zero Multiply of valvectors

Syntax

z = CppAD::azmul ( x , y )

x

The argument x is a const valvector that is passed by reference.

y

The argument y is a const valvector that is passed by reference. If the size of x is not one, and the size of y is not one, the size of x and y must be equal.

z

In the special where all the elements of z are zero, the result z is a valvector with size one. Otherwise, z is a valvector with size equal to the maximum of the size of x and the size of y .

Example

The file valvector_azmul.cpp is an example and test of the valvector absolute zero multiply function.