Coder Social home page Coder Social logo

SoftSpoken Test question about libote HOT 2 CLOSED

lzjluzijie avatar lzjluzijie commented on September 26, 2024
SoftSpoken Test question

from libote.

Comments (2)

ldr709 avatar ldr709 commented on September 26, 2024 1

I'll try rephrasing the comment, to hopefully help with your confusion. The reason why v and w are longer than u is that that v and w represents values over GF(2^mFieldBits), while u represents values over GF(2). That is, each entry of u is one bit long, but is mFieldBits long in v and w. These bits of v and w aren't stored contiguously though. Instead, they are stored with a stride of 128 bits, so the second bit of the first element of v is stored 128 bits after the first bit of the first element of v. Does that help?

You're correct the array index on line 139 is wrong. IIRC I mostly used this for debugging it while checking the i=0 iteration, so I didn't run into that bug.

from libote.

lzjluzijie avatar lzjluzijie commented on September 26, 2024

That makes sense, thank you very much!

from libote.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.