[ntl] compile time Initialization of mat_GF2

ganeshyellapu at bel.co.in ganeshyellapu at bel.co.in
Thu Nov 10 03:21:55 CST 2011



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>


More information about the ntl mailing list