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 ); \
}

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.

nb_transposed_copies
static long int nb_transposed_copies
Definition: sparse_permutations.cpp:11
N
#define N
Definition: igam.h:9


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:52