Class Matrix_computation_no_eigen

class Matrix_computation_no_eigen : public Computation

Some specific computation based on matrix multiplication.

Public Functions

inline Matrix_computation_no_eigen(int size)

Construct a new Matrix_computation_no_eigen object.

Parameters

size – of the matrices

inline ~Matrix_computation_no_eigen()

class destructor

inline double compute(int i, int j)

Compute one element of the matrix multiplication.

Parameters
  • i\( i^th \) row

  • j\( j^th \) column

Returns

double result of the multiplication

inline virtual 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.