WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
VariableMatrix.hpp File Reference
#include <algorithm>
#include <concepts>
#include <initializer_list>
#include <iterator>
#include <span>
#include <utility>
#include <vector>
#include <Eigen/Core>
#include <wpi/SmallVector.h>
#include "sleipnir/autodiff/Slice.hpp"
#include "sleipnir/autodiff/Variable.hpp"
#include "sleipnir/autodiff/VariableBlock.hpp"
#include "sleipnir/util/Assert.hpp"
#include "sleipnir/util/FunctionRef.hpp"
#include "sleipnir/util/SymbolExports.hpp"

Go to the source code of this file.

Classes

class  sleipnir::VariableMatrix
 A matrix of autodiff variables. More...
 
class  sleipnir::VariableMatrix::iterator
 
class  sleipnir::VariableMatrix::const_iterator
 

Namespaces

namespace  sleipnir
 

Functions

SLEIPNIR_DLLEXPORT VariableMatrix sleipnir::CwiseReduce (const VariableMatrix &lhs, const VariableMatrix &rhs, function_ref< Variable(const Variable &x, const Variable &y)> binaryOp)
 Applies a coefficient-wise reduce operation to two matrices.
 
SLEIPNIR_DLLEXPORT VariableMatrix sleipnir::Block (std::initializer_list< std::initializer_list< VariableMatrix > > list)
 Assemble a VariableMatrix from a nested list of blocks.
 
SLEIPNIR_DLLEXPORT VariableMatrix sleipnir::Block (const std::vector< std::vector< VariableMatrix > > &list)
 Assemble a VariableMatrix from a nested list of blocks.
 
SLEIPNIR_DLLEXPORT VariableMatrix sleipnir::Solve (const VariableMatrix &A, const VariableMatrix &B)
 Solves the VariableMatrix equation AX = B for X.