<?xml version="1.0" encoding="UTF-8"?>
<hdevelop file_version="1.1" halcon_version="13.0">
<procedure name="mvtec_math_scalar_product">
<interface>
<ic>
<par name="a" base_type="ctrl" dimension="0"/>
<par name="b" base_type="ctrl" dimension="0"/>
</ic>
<oc>
<par name="ab" base_type="ctrl" dimension="0"/>
</oc>
</interface>
<body>
<c> * Copyright (c) MVTec Software GmbH.  All rights reserved.</c>
<c> *</c>
<c> * All use of this software is subject to the terms of the revised BSD</c>
<c> * license.  You should have received a copy of this license along</c>
<c> * with this source code in a file named "license.txt."</c>
<c></c>
<c>* The scalar product is defined for two tuples of equal size</c>
<l>if (|a| # |b|)</l>
<l>    throw('Both input vectors require the same size')</l>
<l>endif</l>
<c></c>
<c>* Performs the dyadic product of a &amp; b. </c>
<l>ab := sum(a*b)</l>
<l>return ()</l>
</body>
<docu id="mvtec_math_scalar_product">
<chapters lang="de_DE">
<item>Tupel</item>
<item>Arithmetik</item>
</chapters>
<library lang="de_DE">MVTec Internal Procedures</library>
<short lang="de_DE">Performs the scalar product of a &amp; b. </short>
<parameters>
<parameter id="a">
<sem_type>any</sem_type>
</parameter>
<parameter id="ab">
<sem_type>any</sem_type>
</parameter>
<parameter id="b">
<sem_type>any</sem_type>
</parameter>
</parameters>
</docu>
</procedure>
</hdevelop>
