[GAP Forum] nullvector?

Alexander Konovalov alexander.konovalov at gmail.com
Mon Aug 24 22:07:07 BST 2009


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, NoemieCr at 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 at mail.gap-system.org
> http://mail.gap-system.org/mailman/listinfo/forum



More information about the Forum mailing list