|
CppNoddy
0.92
|
Functions | |
| void | time_seed () |
| initialise RNG More... | |
| template<typename _Type > | |
| void | fill_identity (CppNoddy::Sequential_Matrix_base< _Type > &A) |
| Fill diagonal with unit values. More... | |
| template<typename _Type > | |
| void | 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 | fill (CppNoddy::DenseVector< _Type > &X, const _Type &value) |
| Set all elements of a DENSE vector. More... | |
| void | fill_random (CppNoddy::SparseVector< double > &V, const unsigned &num_of_elts) |
| void | fill_random (CppNoddy::SparseVector< std::complex< double > > &V, const unsigned &num_of_elts) |
| void | fill_random (CppNoddy::DenseVector< double > &V) |
| void | fill_random (CppNoddy::DenseVector< std::complex< double > > &V) |
| void | fill_random (CppNoddy::DenseMatrix< double > &A) |
| void | fill_random (CppNoddy::BandedMatrix< double > &A) |
| void Utils_Fill::fill | ( | CppNoddy::DenseVector< _Type > & | X, |
| const _Type & | value | ||
| ) |
Set all elements of a DENSE vector.
| X | The DENSE vector to be filled |
| value | The value to be placed in each element of the vector |
Definition at line 46 of file Utils_Fill.h.
References CppNoddy::DenseVector< _Type >::size().
| void Utils_Fill::fill_band | ( | CppNoddy::Sequential_Matrix_base< _Type > & | A, |
| const int & | offset, | ||
| const _Type & | value | ||
| ) |
Fill a diagonal band of a matrix.
| A | The matrix to be used |
| offset | The offset of the band from the main diagonal e.g. 0 = main diagional, -1 = first sub-diagonal |
| value | The value to be written to the band elements |
Definition at line 34 of file Utils_Fill.h.
Referenced by main().
| void Utils_Fill::fill_identity | ( | CppNoddy::Sequential_Matrix_base< _Type > & | A | ) |
Fill diagonal with unit values.
| A | The dense matrix to be filled |
Definition at line 22 of file Utils_Fill.h.
Referenced by CppNoddy::Example::Harmonic_left_BC< _Type >::Harmonic_left_BC(), main(), CppNoddy::Example::Berman_equation::mass(), CppNoddy::Example::Blasius_equation::mass(), CppNoddy::Example::Troesch_equation< _Type, _Xtype >::matrix0(), CppNoddy::Example::Harmonic_equation< _Type, _Xtype >::matrix0(), CppNoddy::Example::OS_evp_equation::matrix0(), CppNoddy::Example::OS_bvp_equation::matrix0(), CppNoddy::Example::Berman_equation::matrix0(), CppNoddy::Example::Blasius_equation::matrix0(), CppNoddy::Example::Karman_equations::matrix0(), CppNoddy::Example::diffusion_double::matrix0(), CppNoddy::Example::nonlinear::matrix0(), and CppNoddy::Example::harmonic_equation::matrix0().
| void Utils_Fill::fill_random | ( | CppNoddy::BandedMatrix< double > & | A | ) |
Definition at line 103 of file Utils_Fill.h.
| void Utils_Fill::fill_random | ( | CppNoddy::DenseMatrix< double > & | A | ) |
Definition at line 95 of file Utils_Fill.h.
References fill_random().
| void Utils_Fill::fill_random | ( | CppNoddy::DenseVector< double > & | V | ) |
Definition at line 77 of file Utils_Fill.h.
References V.
| void Utils_Fill::fill_random | ( | CppNoddy::DenseVector< std::complex< double > > & | V | ) |
Definition at line 85 of file Utils_Fill.h.
References V.
| void Utils_Fill::fill_random | ( | CppNoddy::SparseVector< double > & | V, |
| const unsigned & | num_of_elts | ||
| ) |
Definition at line 53 of file Utils_Fill.h.
References V.
Referenced by fill_random(), and main().
| void Utils_Fill::fill_random | ( | CppNoddy::SparseVector< std::complex< double > > & | V, |
| const unsigned & | num_of_elts | ||
| ) |
Definition at line 64 of file Utils_Fill.h.
References V.
| void Utils_Fill::time_seed | ( | ) |
initialise RNG
Definition at line 14 of file Utils_Fill.h.
Referenced by main().
1.9.5
© 2012
R.E. Hewitt