Skip to content

Namespace Tester

Namespace List > Tester

Namespace containing functions for testing matrix-vector multiplication.

Public Functions

Type Name
void check_ones_matvec (Comm & comm, Matrix & mat, Vector & out, bool conj, bool full)
Checks the results of a matrix-vector multiplication with a ones matrix and ones vectors.

Public Functions Documentation

function check_ones_matvec

Checks the results of a matrix-vector multiplication with a ones matrix and ones vectors.

void Tester::check_ones_matvec (
    Comm & comm,
    Matrix & mat,
    Vector & out,
    bool conj,
    bool full
) 

This function takes a communication object, a matrix, a vector, and two boolean flags as input. It performs a matrix-vector multiplication with a ones matrix and ones vectors and checks the results. The boolean flag conj indicates whether the matrix should be conjugated during the multiplication. The boolean flag full indicates whether the full matrix should be used for the multiplication.

Parameters:

  • comm The communication object.
  • mat The matrix for the multiplication.
  • out The output vector.
  • conj Flag indicating whether the matrix should be conjugated.
  • full Flag indicating whether the full matrix should be used (F*F/FF* vs F/F*).


The documentation for this class was generated from the following file src/tester.hpp