Fish - FiberLib for VISH 0.3
Fish - The Fiber Bundle API for the Vish Visualization Shell
Fiber::CoordinateAxisArray< T, PolynomialCoordinateAxisArray > Class Template Reference

An implementation of the one-dimensional procedural array that computes its elements as an polynomial expression of the index. More...

#include <CoordinateAxisArray.hpp>

Inheritance diagram for Fiber::CoordinateAxisArray< T, PolynomialCoordinateAxisArray >:
MemCore::Chunk< T > MemCore::TypedChunk< T > MemCore::result< MemBase >

Public Member Functions

 CoordinateAxisArray (index_t max_idx)
 Construct a polynomial array.
operator() (index_t i) const
 The element access function.
index_t Length () const
Public Member Functions inherited from MemCore::Chunk< T >
const base_vector_type & base_vector () const override
base_vector_type & base_vector () override
 Chunk (const Filler &, const T &FillValue, size_t N=1)
 Chunk (const std::string &buffer)
 Chunk (const std::vector< T > &SourceValues)
 Chunk (size_t N, bool ReserveOnly=false)
T * operator() ()
Public Member Functions inherited from MemCore::TypedChunk< T >
std::vector< T > & get_vector ()
Public Member Functions inherited from MemCore::result< MemBase >
RefPtr< Domain > create (bool CreateAsOld=false)
RefPtr< Domain > createAsOld ()
 CreatorBase (const WCachePtr &theCache)
virtual RefPtr< Domain > get () const =0
RefPtr< Domain > get_or_request (const result &R=nullptr)
virtual const type_info & getType ()=0
bool isUnderCreation () const override
virtual bool request (const result &R=nullptr)
virtual RefPtr< Domain > take ()

Public Attributes

index_t length

Detailed Description

template<class T>
class Fiber::CoordinateAxisArray< T, PolynomialCoordinateAxisArray >

An implementation of the one-dimensional procedural array that computes its elements as an polynomial expression of the index.

Parameters
StorageThe class holding the polynomial coefficients; it must provide an element access operator [] and a size() member function, similar to the STL vector class or VecAl::FixedArray<>.