53 problem =
"The default storage format for a banded matrix is now\n";
54 problem +=
"a contiguous column-major vector. You should not need to \n";
55 problem +=
"the FortranData method anymore.\n";
61 problem =
"The default storage format for a banded matrix is now\n";
62 problem +=
"a contiguous column-major vector. You should not need to \n";
63 problem +=
"the FortranData method anymore.\n";
69 problem =
"This method is not required. Just use the base address of \n";
70 problem +=
"the first element and treat it as a vector of doubles.\n";
93 return p_DATA ->
size();
The collection of CppNoddy exceptions.
A matrix class that constructs a BANDED matrix.
A matrix class that constructs a DENSE matrix as a row major std::vector of DenseVectors.
DenseVector< double > matrix_to_vector(const std::size_t &padding=0) const
Conversion to contiguous data in row major format Inefficient ... the void method is preferred.
void transpose()
Transpose the matrix.
An DenseVector class – a dense vector object.
A generic runtime exception.
A little (legacy) utility class for passing CppNoddy containers to Fortran library routines.
FortranData(std::size_t size)
Make an empty FortranData object that is not constructed from a CppNoddy container.
DenseMatrix< double > to_dense_matrix(std::size_t rows, std::size_t cols)
Convert the data to a double dense format.
FortranData(DenseVector< D_complex > &vector)
FortranData(BandedMatrix< D_complex > &matrix, bool transpose=true)
FortranData(DenseMatrix< D_complex > &matrix, bool transpose=true, int padding=0)
Make a FortranData object from a complex dense matrix (with potential) for padding the data to avoid ...
double & operator[](const std::size_t &i)
Get the reference to the first element.
std::size_t size() const
Find the number of stored elements.
FortranData(DenseMatrix< double > &matrix, bool transpose=true, int padding=0)
Make a FortranData object from a double dense matrix (with potential) for padding the data to avoid c...
double * base()
Get the pointer to the first element.
void dump()
Dump the data to standard out.
FortranData(BandedMatrix< double > &matrix, bool transpose=true)
An object to block copying.
A collection of OO numerical routines aimed at simple (typical) applied problems in continuum mechani...