Hi Nasira,
You may also use the function ListWithIdenticalEntries, for example:
gap> ListWithIdenticalEntries(5,0);
[ 0, 0, 0, 0, 0 ]
best wishes,
Alexander
On 24 Aug 2009, at 12:41, noemi...@gmx.de wrote:
hi,
how can i create an null-vector in GAP. is there any function in GAP?
my solution:
GetNullVector:=function(l)
return( 0*[1..l]);
end;
salute,
nasira
--
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla
Firefox 3 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
_______________________________________________
Forum mailing list
Forum@mail.gap-system.org
http://mail.gap-system.org/mailman/listinfo/forum
_______________________________________________
Forum mailing list
Forum@mail.gap-system.org
http://mail.gap-system.org/mailman/listinfo/forum