| 596 | } |
| 597 | #endif |
| 598 | void Permutohedral::compute ( MatrixXf & out, const MatrixXf & in, bool reverse ) const |
| 599 | { |
| 600 | if( out.cols() != in.cols() || out.rows() != in.rows() ) |
| 601 | out = 0*in; |
| 602 | if( in.rows() <= 2 ) |
| 603 | seqCompute( out.data(), in.data(), in.rows(), reverse ); |
| 604 | else |
| 605 | sseCompute( out.data(), in.data(), in.rows(), reverse ); |
| 606 | } |
| 607 | MatrixXf Permutohedral::compute ( const MatrixXf & in, bool reverse ) const |
| 608 | { |
| 609 | MatrixXf r; |
no test coverage detected