Triumvirate C++ API 0.5.0.post1.dev301+g026f21751
Three-point clustering measurements in large-scale structure analyses.
Loading...
Searching...
No Matches
arrayops.cpp File Reference
#include "arrayops.hpp"
+ Include dependency graph for arrayops.cpp:

Go to the source code of this file.

Namespaces

namespace  trv
 
namespace  trv::sys
 
namespace  trv::array
 

Functions

int trv::array::check_1d_array (std::vector< double > &a, bool check_lin, bool check_loglin, bool check_sign)
 Check the linearity or log-linearity of a 1-d array.
 
void trv::array::extrap_lin (std::vector< double > &a, int N_ext, std::vector< double > &a_ext)
 Extrapolate a 1-d array linearly.
 
void trv::array::extrap_loglin (std::vector< double > &a, int N_ext, std::vector< double > &a_ext)
 Extrapolate a 1-d array exponentially (i.e. log-linearly).
 
void trv::array::extrap_pad (std::vector< double > &a, int N_ext, double c_lower, double c_upper, std::vector< double > &a_ext)
 Extrapolate a 1-d array by constant padding.
 
void trv::array::extrap2d_lin (std::vector< std::vector< double > > &a, int N_row_ext, int N_col_ext, std::vector< std::vector< double > > &a_ext)
 Extrapolate a 2-d array bi-linearly.
 
void trv::array::extrap2d_loglin (std::vector< std::vector< double > > &a, int N_row_ext, int N_col_ext, std::vector< std::vector< double > > &a_ext)
 Extrapolate a 2-d array bi-exponentially (i.e. log-bilinearly).
 
void trv::array::extrap2d_pad (std::vector< std::vector< double > > &a, int N_row_ext, int N_col_ext, double c_row_lower, double c_row_upper, double c_col_lower, double c_col_upper, std::vector< std::vector< double > > &a_ext)
 Extrapolate a 2-d array by constant padding.
 
std::vector< int > trv::array::get_sorted_indices (std::vector< int > sorting_vector)
 Get the sorted indices.
 

Detailed Description

Authors
Mike S Wang (https://github.com/MikeSWang), Naonori S Sugiyama (https://github.com/naonori)

Definition in file arrayops.cpp.