linbox
Functions
test-smith-form-local.C File Reference

no doc More...

#include "linbox/linbox-config.h"
#include <functional>
#include "test-common.h"
#include "test-field.h"
#include "linbox/util/commentator.h"
#include "linbox/ring/local-pir-modular.h"
#include "linbox/ring/pir-modular-int32.h"
#include "linbox/ring/local2_32.h"
#include "linbox/algorithms/smith-form-local.h"
#include "linbox/matrix/matrix-domain.h"
#include "linbox/util/timer.h"
+ Include dependency graph for test-smith-form-local.C:

Functions

template<class LocalPIR >
LocalPIR::Element & normal (typename LocalPIR::Element &d, LocalPIR &R)
 Test 1: Invariant factors of random dense matrices. More...
 

Detailed Description

no doc

Test:
no doc.
Test:
no doc.

Function Documentation

◆ normal()

LocalPIR::Element& normal ( typename LocalPIR::Element &  d,
LocalPIR &  R 
)

Test 1: Invariant factors of random dense matrices.

Construct a random matrix which is equivalent to a random diagonal matrix, and check its Smith form.

R - PIR over which to perform computations stream - Stream that comprises source of diagonal vectors

Return true on success and false on failure