TR-mbed 1.0
Loading...
Searching...
No Matches
Macros | Functions
sparse_permutations.cpp File Reference
#include "sparse.h"

Macros

#define EIGEN_SPARSE_TRANSPOSED_COPY_PLUGIN   {nb_transposed_copies++;}
 
#define VERIFY_TRANSPOSITION_COUNT(XPR, N)
 

Functions

template<typename T >
bool is_sorted (const T &mat)
 
template<typename T >
internal::nested_eval< T, 1 >::type eval (const T &xpr)
 
template<int OtherStorage, typename SparseMatrixType >
void sparse_permutations (const SparseMatrixType &ref)
 
template<typename Scalar >
void sparse_permutations_all (int size)
 
 EIGEN_DECLARE_TEST (sparse_permutations)
 

Macro Definition Documentation

◆ EIGEN_SPARSE_TRANSPOSED_COPY_PLUGIN

#define EIGEN_SPARSE_TRANSPOSED_COPY_PLUGIN   {nb_transposed_copies++;}

◆ VERIFY_TRANSPOSITION_COUNT

#define VERIFY_TRANSPOSITION_COUNT (   XPR,
  N 
)
Value:
{\
nb_transposed_copies = 0; \
XPR; \
if(nb_transposed_copies!=N) std::cerr << "nb_transposed_copies == " << nb_transposed_copies << "\n"; \
VERIFY( (#XPR) && nb_transposed_copies==N ); \
}
@ N
Definition constructor.cpp:23

Function Documentation

◆ EIGEN_DECLARE_TEST()

EIGEN_DECLARE_TEST ( sparse_permutations  )

◆ eval()

template<typename T >
internal::nested_eval< T, 1 >::type eval ( const T xpr)

◆ is_sorted()

template<typename T >
bool is_sorted ( const T mat)

◆ sparse_permutations()

template<int OtherStorage, typename SparseMatrixType >
void sparse_permutations ( const SparseMatrixType &  ref)

◆ sparse_permutations_all()

template<typename Scalar >
void sparse_permutations_all ( int  size)