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

Capture and play voice with Asterisk ARI -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -

visual studio - Installing Packages through Nuget - "Central Directory corrupt" -