MCPcopy Create free account
hub / github.com/PX4/eigen / run

Method run

Eigen/src/Core/TriangularMatrix.h:866–877  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

864 typedef typename Kernel::Scalar Scalar;
865
866 EIGEN_DEVICE_FUNC
867 static inline void run(Kernel &kernel)
868 {
869 triangular_assignment_loop<Kernel, Mode, UnrollCount-1, SetOpposite>::run(kernel);
870
871 if(row==col)
872 kernel.assignDiagonalCoeff(row);
873 else if( ((Mode&Lower) && row>col) || ((Mode&Upper) && row<col) )
874 kernel.assignCoeff(row,col);
875 else if(SetOpposite)
876 kernel.assignOppositeCoeff(row,col);
877 }
878};
879
880// prevent buggy user code from causing an infinite recursion

Callers

nothing calls this directly

Calls 4

runFunction · 0.70
assignDiagonalCoeffMethod · 0.45
assignCoeffMethod · 0.45
assignOppositeCoeffMethod · 0.45

Tested by

no test coverage detected