Search:

Type: Posts; User: Enrico123

Search: Search took 0.19 seconds.

  1. Re: Fibonacci with matrixes and recursive powers

    Ok.
    I tried to return the value of the matrix after the product, but the result is always the same...
  2. Re: Fibonacci with matrixes and recursive powers

    Here you are.
    It returns a matrix which is the multiplication between two matrixes



    public static int [][] prodotto(int t1[][],int t2[][]) {
    //it is possible only if t1[0].length = t2.length...
  3. Fibonacci with matrixes and recursive powers

    m[][]=AlgoritmiMatrici.identita(2);-->it generates the 2x2 identity matrix
    AlgoritmiMatrici.prodotto(m,m);-->is the result of the multiplication between m and m

    This code should calculate the...
Results 1 to 3 of 3