Class Matrix_computation_no_eigen

class Matrix_computation_no_eigen : public Computation

Some specific computation based on matrix multiplication.

Public Functions

Matrix_computation_no_eigen(int size)

Construct a new Matrix_computation_no_eigen object.

Parameters
  • size: of the matrices

~Matrix_computation_no_eigen()

class destructor

double compute(int i, int j)

Compute one element of the matrix multiplication.

Return

double result of the multiplication

Parameters
  • i: \( i^th \) row

  • j: \( j^th \) column

void compute()

compute the matrix multiplication.

Private Members

int size

The size of the matrices.

double **m1

The first matrix.

double **m2

The second matrix.

double **m3

The multiplication of the first 2 matrices.