Пример #1
0
    }    // end constructor

    public static double col_ip(matrix A, int col_A, matrix B, int col_B)
    {
        matrix a = A.cols(col_A, col_A);
        matrix b = B.cols(col_B, col_B);
        matrix c = a.T * b;

        return(c[0, 0]);
    }