Top
Back: allPositive
Forward: vec2poly
FastBack: bimodules_lib
FastForward: central_lib
Up: bfun_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document
7.7.2.0. scalarProd
Procedure from library bfun.lib (see bfun_lib).

Usage:
scalarProd(v,w); v,w intvecs

Return:
int, the standard scalar product of v and w

Purpose:
computes the scalar product of two intvecs

Assume:
the arguments are of the same size

Example:
 
LIB "bfun.lib";
intvec v = 1,2,3;
intvec w = 4,5,6;
scalarProd(v,w);
==> 32


Top Back: allPositive Forward: vec2poly FastBack: bimodules_lib FastForward: central_lib Up: bfun_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4-0-3, 2016, generated by texi2html.