Skip to content

java.lang.ArrayIndexOutOfBoundsException: 10 #8

@qxzhou1010

Description

@qxzhou1010

Hi, I am using your BigInt to implement a encryption algorithm. By testing, your BigInt has a better performance than BigInteger, so thanks for you creating a so excellent BigInt. But I occured one problem.
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 10 at com.zqx.ivhe.BigInt.subMag(BigInt.java:1153) at com.zqx.ivhe.BigInt.add(BigInt.java:1172)

I need to calcuate multiplication between a vector and a matrix, the size of them is (1025) (1025,1025). The element of the vector and matrix is a BigInt Object, and every element is a very big integer. I test for another vector and matrix with size of (65), (65,65) and successfully. But the size of them is (1025) (1025,1025) occur the above problem.
Please help me.
Thansk.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions