linbox
Public Member Functions
RandomDenseMatrix< Randiter, Field > Class Template Reference

Random Dense Matrix builder. More...

#include <random-matrix.h>

Public Member Functions

 RandomDenseMatrix (Field &F, Randiter &R)
 constructor
 
 ~RandomDenseMatrix ()
 destructor
 
template<class Matrix >
Matrix & random (Matrix &A)
 creates a randomly filled matrix. More...
 
template<class Matrix >
Matrix & randomFullRank (Matrix &A)
 Create a random matrix with rank=min(rowdim,coldim) More...
 
template<class Matrix >
Matrix & randomRank (Matrix &A, int rank)
 provide a matrix with prescribed rank. More...
 
template<class Matrix >
Matrix & randomRank (Matrix &A, int rank, const RankBuilder::LU_ &meth)
 provide a matrix with prescribed rank. More...
 

Detailed Description

template<class Randiter, class Field>
class LinBox::RandomDenseMatrix< Randiter, Field >

Random Dense Matrix builder.

Member Function Documentation

Matrix & random ( Matrix &  A)

creates a randomly filled matrix.

Parameters
Amatrix to be randomized.
Matrix & randomFullRank ( Matrix &  A)

Create a random matrix with rank=min(rowdim,coldim)

Parameters
A
Matrix & randomRank ( Matrix &  A,
int  rank 
)

provide a matrix with prescribed rank.

Default method.

Parameters
A
rankexpected rank
Warning
No certificate yet.
Todo:
use CatergoryTag
Matrix & randomRank ( Matrix &  A,
int  rank,
const RankBuilder::LU_ &  meth 
)

provide a matrix with prescribed rank.

Parameters
A
rankexpected rank
methhow is the matrix generated ? see RankBuilder.
Warning
No certificate yet.

The documentation for this class was generated from the following files: