WPILibC++ 2027.0.0-alpha-2
Loading...
Searching...
No Matches
variable_matrix.hpp File Reference
#include <algorithm>
#include <concepts>
#include <initializer_list>
#include <iterator>
#include <span>
#include <utility>
#include <vector>
#include <Eigen/Core>
#include <gch/small_vector.hpp>
#include "sleipnir/autodiff/slice.hpp"
#include "sleipnir/autodiff/variable.hpp"
#include "sleipnir/autodiff/variable_block.hpp"
#include "sleipnir/util/assert.hpp"
#include "sleipnir/util/concepts.hpp"
#include "sleipnir/util/function_ref.hpp"
#include "sleipnir/util/symbol_exports.hpp"

Go to the source code of this file.

Classes

class  slp::VariableMatrix
 A matrix of autodiff variables. More...
 
struct  slp::VariableMatrix::empty_t
 Type tag used to designate an uninitialized VariableMatrix. More...
 
class  slp::VariableMatrix::iterator
 
class  slp::VariableMatrix::const_iterator
 

Namespaces

namespace  slp
 

Functions

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