CASM  1.1.0
A Clusters Approach to Statistical Mechanics
CASM_Array_math.hh File Reference

Go to the source code of this file.

Namespaces

 CASM
 Main CASM namespace.
 

Functions

Index CASM::which_unique_combination (const Array< Index > &input, const Array< Index >::X2 &unique, const Array< Index >::X2 &ind_equiv)
 
Index CASM::which_unique_combination (const Array< Index > &input, const Array< Index >::X2 &unique)
 
int CASM::lcm (const Array< int > &series)
 Find least common multiple. More...
 
ReturnArray< Array< int > > CASM::get_prime_factors (int target)
 
template<typename IntType >
IntType CASM::multinomial_coeff (const Array< IntType > &exponents)
 
template<typename IntType >
IntType CASM::multinomial_coeff (const Array< IntType > &exponents, const Array< Index > &sublist)
 
template<typename T >
bool CASM::almost_equal (const Array< T > &A, const Array< T > &B, double tol=TOL)
 
template<typename T >
ReturnArray< T > CASM::cum_sum (const Array< T > &arr)
 
template<typename Derived >
ReturnArray< Index > CASM::partition_distinct_values (const Eigen::MatrixBase< Derived > &value, double tol=TOL)