4 #ifndef __EIGEN3_EIGENVALUES_C_API_CC__
5 #define __EIGEN3_EIGENVALUES_C_API_CC__
8 #if defined(__GNUC__) && !defined(__clang__)
9 # pragma GCC diagnostic ignored "-Wlogical-op"
13 #include <Eigen/Eigenvalues>
17 using Eigen::SelfAdjointEigenSolver;
20 using Eigen::MatrixXf;
21 using Eigen::VectorXf;
27 float *r_eigen_values,
28 float *r_eigen_vectors)
30 SelfAdjointEigenSolver<MatrixXf> eigen_solver;
33 eigen_solver.compute(Map<MatrixXf>((
float *)matrix,
size,
size));
35 if (eigen_solver.info() != Success) {
40 Map<VectorXf>(r_eigen_values,
size) = eigen_solver.eigenvalues().transpose();
43 if (r_eigen_vectors) {
44 Map<MatrixXf>(r_eigen_vectors,
size,
size) = eigen_solver.eigenvectors();
in reality light always falls off quadratically Particle Retrieve the data of the particle that spawned the object for example to give variation to multiple instances of an object Point Retrieve information about points in a point cloud Retrieve the edges of an object as it appears to Cycles topology will always appear triangulated Convert a blackbody temperature to an RGB value Normal Map
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
bool EIG_self_adjoint_eigen_solve(const int size, const float *matrix, float *r_eigen_values, float *r_eigen_vectors)