Project

General

Profile

Feature #633

New operations? ScalarProduct(MODULELEM,LIST), MATRIX * MODULELEM

Added by Anna Maria Bigatti over 9 years ago. Updated about 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
14 Oct 2014
Due date:
% Done:

0%

Estimated time:
Spent time:

Description

I think that ScalarProduct(MODULELEM,LIST) is OK
but MATRIX * MODULELEM may be ambiguous (row or col?)
For sure we should add examples to the manual


Related issues

Related to CoCoALib - Design #703: Add more operations between modules (CoCoALib)New2015-05-15

Related to CoCoA-5 - Support #1031: ScalarProduct: exact defn and manual pageNew2017-03-17

History

#1 Updated by Redmine Admin almost 9 years ago

  • Target version set to CoCoA-5.?.?

#2 Updated by John Abbott about 7 years ago

If we regard ScalarProduct(A,B) as being equivalent to sum([A[i]*B[i] | i in 1..len(A)]) then ScalarProduct should accept LIST (of INT/RAT/RINGELEM) and MODULEELEM. For instance:

F := NewFreeModule(R,3);
G := gens(F);
L := [1,2,3]; // LIST of INT
ScalarProduct(L,G); --> currently gives error
L[1]*G[1] + L[2]*G[2] + L[3]*G[3]; --> gives expected answer

#3 Updated by John Abbott about 7 years ago

  • Related to Support #1031: ScalarProduct: exact defn and manual page added

Also available in: Atom PDF