|
ADOL-C: Automatic Differentiation in C/C++ 2.7.3
|
One nonzero entry of a sparse matrix in coordinate format. More...
#include <sparsematrix.h>
Classes | |
| struct | Coordinates |
| Zero-based row and column coordinates of one sparse entry. More... | |
Public Types | |
| using | coordinate_type = unsigned int |
Public Member Functions | |
| CoordinateFormatTripled ()=default | |
| ~CoordinateFormatTripled ()=default | |
| CoordinateFormatTripled (const CoordinateFormatTripled &)=default | |
| CoordinateFormatTripled & | operator= (const CoordinateFormatTripled &)=default |
| CoordinateFormatTripled (CoordinateFormatTripled &&) noexcept=default | |
| CoordinateFormatTripled & | operator= (CoordinateFormatTripled &&) noexcept=default |
| constexpr | CoordinateFormatTripled (Coordinates coords, double value) |
| Construct one coordinate-format triplet. | |
| constexpr | CoordinateFormatTripled (coordinate_type rowIndex, coordinate_type colIndex, double value) |
| Construct one coordinate-format triplet. | |
| coordinate_type | rowIndex () const noexcept |
| Get the row index. | |
| coordinate_type | colIndex () const noexcept |
| Get the column index. | |
| double | value () const noexcept |
| Get the numerical value. | |
One nonzero entry of a sparse matrix in coordinate format.
The format stores the recovered nonzeros as triplets. This keeps row, column, and value ownership tied together and makes the representation easier to move and copy as one object.
| using ADOLC::Sparse::CoordinateFormatTripled::coordinate_type = unsigned int |
|
default |
|
default |
|
default |
|
defaultnoexcept |
|
inlineconstexpr |
Construct one coordinate-format triplet.
| coords | Zero-based row index and column index |
| value | Numerical value stored at (rowIdx, colIdx). |
|
inlineconstexpr |
Construct one coordinate-format triplet.
| rowIndex | Zero-based row index |
| colIndex | Zero-based column index |
| value | Numerical value stored at (rowIndex, colIndex). |
|
inlinenoexcept |
Get the column index.
|
default |
|
defaultnoexcept |
|
inlinenoexcept |
Get the row index.
|
inlinenoexcept |
Get the numerical value.