WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
sleipnir::VariableMatrix::iterator Class Reference

#include </home/runner/work/allwpilib/allwpilib/wpimath/src/main/native/thirdparty/sleipnir/include/sleipnir/autodiff/VariableMatrix.hpp>

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = Variable
 
using difference_type = std::ptrdiff_t
 
using pointer = Variable*
 
using reference = Variable&
 

Public Member Functions

 iterator (VariableMatrix *mat, int row, int col)
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
bool operator== (const iterator &) const =default
 
reference operator* ()
 

Member Typedef Documentation

◆ difference_type

◆ iterator_category

using sleipnir::VariableMatrix::iterator::iterator_category = std::forward_iterator_tag

◆ pointer

◆ reference

◆ value_type

Constructor & Destructor Documentation

◆ iterator()

sleipnir::VariableMatrix::iterator::iterator ( VariableMatrix * mat,
int row,
int col )
inline

Member Function Documentation

◆ operator*()

reference sleipnir::VariableMatrix::iterator::operator* ( )
inline

◆ operator++() [1/2]

iterator & sleipnir::VariableMatrix::iterator::operator++ ( )
inline

◆ operator++() [2/2]

iterator sleipnir::VariableMatrix::iterator::operator++ ( int )
inline

◆ operator==()

bool sleipnir::VariableMatrix::iterator::operator== ( const iterator & ) const
default

The documentation for this class was generated from the following file: