MCPcopy Create free account
hub / github.com/HiLab-git/SimpleCRF / DiagonalCompatibility

Method DiagonalCompatibility

dependency/densecrf/src/labelcompatibility.cpp:64–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62
63
64DiagonalCompatibility::DiagonalCompatibility( const VectorXf & v ): w_(v) {
65}
66void DiagonalCompatibility::apply( MatrixXf & out, const MatrixXf & Q ) const {
67 assert( w_.rows() == Q.rows() );
68 out = w_.asDiagonal()*Q;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected