c++ - How to compute basis of nullspace with Eigen library? -


how compute basis of nullspace of matrix eigen library?

i tried find explicit function name compute null basis , also, workaround, find method computing rref of matrix(as we're able null basis rref).

but couldn't find relevant functions names.

i think there's must solution this, know not eigen library , eigen's code difficult me understand.

please suggest me solution problem.

you can basis of null space using eigen::fullpivlu::kernel() method:

fullpivlu<matrixxd> lu(a); matrixxd a_null_space = lu.kernel(); 

Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -