Cpp nmf style dependency