Macros | Functions | Variables
sparse_permutations.cpp File Reference
#include "sparse.h"
Include dependency graph for sparse_permutations.cpp:

Go to the source code of this file.

Macros

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

Functions

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

Variables

static long int nb_transposed_copies
 

Macro Definition Documentation

◆ EIGEN_SPARSE_TRANSPOSED_COPY_PLUGIN

#define EIGEN_SPARSE_TRANSPOSED_COPY_PLUGIN   {nb_transposed_copies++;}

Definition at line 12 of file sparse_permutations.cpp.

◆ 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 ); \
}
static long int nb_transposed_copies
#define N
Definition: gksort.c:12

Definition at line 13 of file sparse_permutations.cpp.

Function Documentation

◆ EIGEN_DECLARE_TEST()

EIGEN_DECLARE_TEST ( sparse_permutations  )

Definition at line 223 of file sparse_permutations.cpp.

◆ 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)

Definition at line 23 of file sparse_permutations.cpp.

◆ sparse_permutations()

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

Definition at line 44 of file sparse_permutations.cpp.

◆ sparse_permutations_all()

template<typename Scalar >
void sparse_permutations_all ( int  size)

Definition at line 215 of file sparse_permutations.cpp.

Variable Documentation

◆ nb_transposed_copies

long int nb_transposed_copies
static

Definition at line 11 of file sparse_permutations.cpp.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:54