Template Numerical Library version\ main:8246197
Loading...
Searching...
No Matches
TNL::Matrices::MtxReaderOptions Struct Reference

Options for importing of matrices from MTX files by MatrixReader. More...

#include <TNL/Matrices/MatrixReader.h>

Public Attributes

bool checkElementsCount = true
MatrixElementsDuplicates duplicates = MatrixElementsDuplicates::Error
bool verbose = false
 Controls verbosity of the matrix import.

Detailed Description

Options for importing of matrices from MTX files by MatrixReader.

Member Data Documentation

◆ checkElementsCount

bool TNL::Matrices::MtxReaderOptions::checkElementsCount = true

Throw an exception if the number of matrix elements in the file differs from the number given in its size line, e.g. because the file was truncated.

◆ duplicates

MatrixElementsDuplicates TNL::Matrices::MtxReaderOptions::duplicates = MatrixElementsDuplicates::Error

Handling of matrix elements which appear more than once in the file. In a symmetric or skew-symmetric MTX file, the elements (i,j) and (j,i) are the same element.


The documentation for this struct was generated from the following file:
  • src/TNL/Matrices/MatrixReader.h