CppNoddy  0.92
Loading...
Searching...
No Matches
Namespaces | Functions
Utils_Fill.h File Reference
#include <SparseVector.h>
#include <DenseVector.h>
#include <Sequential_Matrix_base.h>
#include <BandedMatrix.h>
#include <DenseMatrix.h>
#include <ctime>

Go to the source code of this file.

Namespaces

namespace  Utils_Fill
 

Functions

void Utils_Fill::time_seed ()
 initialise RNG More...
 
template<typename _Type >
void Utils_Fill::fill_identity (CppNoddy::Sequential_Matrix_base< _Type > &A)
 Fill diagonal with unit values. More...
 
template<typename _Type >
void Utils_Fill::fill_band (CppNoddy::Sequential_Matrix_base< _Type > &A, const int &offset, const _Type &value)
 Fill a diagonal band of a matrix. More...
 
template<typename _Type >
void Utils_Fill::fill (CppNoddy::DenseVector< _Type > &X, const _Type &value)
 Set all elements of a DENSE vector. More...
 
void Utils_Fill::fill_random (CppNoddy::SparseVector< double > &V, const unsigned &num_of_elts)
 
void Utils_Fill::fill_random (CppNoddy::SparseVector< std::complex< double > > &V, const unsigned &num_of_elts)
 
void Utils_Fill::fill_random (CppNoddy::DenseVector< double > &V)
 
void Utils_Fill::fill_random (CppNoddy::DenseVector< std::complex< double > > &V)
 
void Utils_Fill::fill_random (CppNoddy::DenseMatrix< double > &A)
 
void Utils_Fill::fill_random (CppNoddy::BandedMatrix< double > &A)
 

© 2012

R.E. Hewitt