From ganeshyellapu at bel.co.in  Thu Nov 10 03:21:55 2011
From: ganeshyellapu at bel.co.in (ganeshyellapu at bel.co.in)
Date: Thu, 10 Nov 2011 14:51:55 +0530
Subject: [ntl] compile time Initialization of mat_GF2
Message-ID: <d1092df6f7da56ed787e23a3ace5da3b.squirrel@mail.bel.co.in>



Hi,

How to initialize a vec_GF2 object or mat_GF2 object?

for example,
in C/C++, int a[3]={10,20,30}; is a valid
statement.
how? we do analogous statement? for? NTL
objects

for example, when i tried the following code snippet
vec_GF2 v;
v.Setlength(5);
v=[1 0 1 1 1];
i am getting an
error.


How can we do compile time initialization of a
vector or matrix 
of type ZZ or GF2 ?

Looking forward to
precious reply...

with regards
ganesh y








Please send mail to @bel.co.in only 
Confidentiality Notice 
The information contained in this electronic message and any attachments to this 
message are intended for the exclusive use of the addressee(s) and may contain 
confidential or privileged information. If  you are not the intended recipient, 
 please notify the sender at Bharat Electronics  or support at bel.co.in 
immediately and destroy all copies of this message and any attachments. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shoup.net/pipermail/ntl_shoup.net/attachments/20111110/e5d842de/attachment.html>

From ganeshyellapu at bel.co.in  Fri Nov 11 06:54:20 2011
From: ganeshyellapu at bel.co.in (ganeshyellapu at bel.co.in)
Date: Fri, 11 Nov 2011 18:24:20 +0530
Subject: [ntl] compile time Initialization of mat_GF2]
Message-ID: <221ce864844a614414bae03ac956f996.squirrel@mail.bel.co.in>




?Hi,

How to initialize a vec_GF2 object or mat_GF2
object?

for example,
in C/C++, int a[3]={10,20,30}; is a
valid statement.
how  we do analogous statement  for  NTL objects

for example, when i tried the following code snippet
vec_GF2
v;
v.Setlength(5);
v=[1 0 1 1 1];
i am getting an error.


How can we do compile time initialization of a vector or
matrix 
of type ZZ or GF2 ?

Looking forward to precious
reply...

with regards
ganesh y




?
 


Please send mail to @bel.co.in only 
Confidentiality Notice 
The information contained in this electronic message and any attachments to this 
message are intended for the exclusive use of the addressee(s) and may contain 
confidential or privileged information. If  you are not the intended recipient, 
 please notify the sender at Bharat Electronics  or support at bel.co.in 
immediately and destroy all copies of this message and any attachments. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shoup.net/pipermail/ntl_shoup.net/attachments/20111111/14b5e153/attachment.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shoup.net/pipermail/ntl_shoup.net/attachments/20111111/14b5e153/attachment-0001.html>

