Top
Back: primary_charp_without_random
Forward: secondary_char0
FastBack:
FastForward:
Up: finvar_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.7.1.25 power_products

Procedure from library finvar.lib (see finvar_lib).

Usage:
power_products(dv,d);
dv: an <intvec> giving the degrees of homogeneous polynomials, d: the degree of the desired power products

Return:
a size(dv)*m <intmat> where each column ought to be interpreted as containing the exponents of the corresponding polynomials. The product of the powers is then homogeneous of degree d.

Example:
 
LIB "finvar.lib";
intvec dv=5,5,5,10,10;
print(power_products(dv,10));
==>      2     1     1     0     0     0     0     0
==>      0     1     0     2     1     0     0     0
==>      0     0     1     0     1     2     0     0
==>      0     0     0     0     0     0     1     0
==>      0     0     0     0     0     0     0     1
print(power_products(dv,7));
==>      0
==>      0
==>      0
==>      0
==>      0


Top Back: primary_charp_without_random Forward: secondary_char0 FastBack: FastForward: Up: finvar_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4.4.0, 2024, generated by texi2html.