PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
generic_matrix.hpp File Reference
#include <vector>
#include <string>
#include <type_traits>
#include <algorithm>
#include <stdexcept>
#include <cstdint>
#include <limits>
#include <memory>
#include <utility>
Include dependency graph for generic_matrix.hpp:

Go to the source code of this file.

Data Structures

class  pineforge::GenericMatrix< T >
 
class  pineforge::GenericMatrix< T >::Snapshot
 
class  pineforge::GenericMatrix< bool >
 
class  pineforge::GenericMatrix< bool >::Snapshot
 

Namespaces

namespace  pineforge
 
namespace  pineforge::detail
 

Typedefs

template<typename T>
using pineforge::PineGenericMatrix = GenericMatrix<T>
 

Functions

template<typename Row>
void pineforge::detail::erase_row (std::vector< Row > &data, int idx)
 
template<typename Row>
void pineforge::detail::erase_col (std::vector< Row > &data, int idx)
 
template<typename Row>
void pineforge::detail::swap_rows_impl (std::vector< Row > &data, int i, int j)
 
template<typename Row>
void pineforge::detail::swap_cols_impl (std::vector< Row > &data, int i, int j)
 
template<typename Row>
std::vector< Row > pineforge::detail::copy_submatrix (const std::vector< Row > &data, int from_row, int to_row, int from_col, int to_col)
 
template<typename Row>
std::vector< Row > pineforge::detail::transpose_impl (const std::vector< Row > &data, int r, int c, const typename Row::value_type &zero)
 
template<typename Row>
void pineforge::detail::concat_impl (std::vector< Row > &m, const std::vector< Row > &other, bool horizontal)
 
template<typename Row>
void pineforge::detail::reshape_impl (std::vector< Row > &data, int new_rows, int new_cols, const typename Row::value_type &zero)
 
template<typename Row>
int pineforge::detail::elements_count_impl (const std::vector< Row > &data)
 
template<typename Row>
void pineforge::detail::sort_impl (std::vector< Row > &data, int column, bool ascending)
 
template<typename T>
bool pineforge::is_na (const GenericMatrix< T > &matrix) noexcept