PolyFEM
Loading...
Searching...
No Matches
Tools.h File Reference
#include <Eigen/Dense>
#include <Eigen/Core>
#include <Eigen/SVD>
#include <mmintrin.h>
#include <xmmintrin.h>
#include <cmath>
#include <random>
#include <chrono>
#include <iostream>
#include <iomanip>
Include dependency graph for Tools.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  JIXIE::INTERNAL::ScalarTypeHelper< T, Enable >
 
struct  JIXIE::INTERNAL::ScalarTypeHelper< T, enable_if_t< is_arithmetic< T >::value > >
 

Namespaces

namespace  JIXIE
 Copyright (c) 2016 Theodore Gast, Chuyuan Fu, Chenfanfu Jiang, Joseph Teran.
 
namespace  JIXIE::MATH_TOOLS
 
namespace  JIXIE::INTERNAL
 

Typedefs

template<bool B, class T = void>
using JIXIE::enable_if_t = typename std::enable_if< B, T >::type
 
template<class T >
using JIXIE::ScalarType = typename INTERNAL::ScalarTypeHelper< T >::type
 

Functions

float JIXIE::MATH_TOOLS::approx_rsqrt (float a)
 Approximate inverse square root.
 
float JIXIE::MATH_TOOLS::rsqrt (float a)
 Inverse square root computed from approx_rsqrt and one newton step.
 
double JIXIE::MATH_TOOLS::rsqrt (double a)
 Inverse square root computed from 1/std::sqrt.
 
template<class MatrixType >
constexpr bool JIXIE::isSize (int m, int n)