Hi, Which version of SageMath that you used ?
On 1 Dec 2017 11:40 a.m., "Γίαννης Κολλητίδης" <[email protected]> wrote: > Hi everyone, > > I have used the has_linear_structure() function according to example: > http://doc.sagemath.org/html/en/reference/cryptography/sage/crypto/ > boolean_function.html#sage.crypto.boolean_function. > BooleanFunction.nonlinearity > > sage: from sage.crypto.boolean_function import BooleanFunction > sage: f = BooleanFunction([0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0]) > sage: f.has_linear_structure() > > and as return I have the following error: > > Traceback (click to the left of this block for traceback) > ... > AttributeError: 'sage.crypto.boolean_function.BooleanFunction' object > has no attribute 'has_linear_structure' > > > The example I used is exactly the same from the documentation. > If I use the autocorrelation function after , works perfectly. > Could you please assist ? Thank you in advance. > > > > > > -- > You received this message because you are subscribed to the Google Groups > "sage-support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/sage-support. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
