MCPcopy Create free account
hub / github.com/ComputationalRobotics/XM-code / L1Solver

Method L1Solver

deps/glomap/glomap/math/l1_solver.h:33–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31class L1Solver {
32 public:
33 L1Solver(const L1SolverOptions& options, const MatrixType& mat)
34 : options_(options), a_(mat) {
35 // Pre-compute the sparsity pattern.
36 const MatrixType spd_mat = a_.transpose() * a_;
37 linear_solver_.compute(spd_mat);
38 }
39
40 void Solve(const Eigen::VectorXd& rhs, Eigen::VectorXd* solution) {
41 Eigen::VectorXd& x = *solution;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected