Blueprint for generating a cubic spline satisfying C2 constraints. More...
#include <array_dynamic_mem_check.hpp>
Public Types | |
typedef ecl::Array< Type, ecl::DynamicStorage > | base_type |
Abstract representation of the class to be instantiated/configured. | |
typedef ecl::Array< Type, ecl::DynamicStorage > | base_type |
Abstract representation of the class to be instantiated/configured. | |
Public Member Functions | |
void | apply (base_type &array) const |
Apply the blueprint to configure an existing object. | |
void | apply (base_type &array) const |
Apply the blueprint to configure an existing object. | |
ConstantDynamicArray () | |
Default constructor. | |
ConstantDynamicArray (size_t size, const Type &value) | |
Constructor that properly configures/initialises the blueprint. | |
ConstantDynamicArray () | |
Default constructor. | |
ConstantDynamicArray (size_t size, const Type &value) | |
Constructor that properly configures/initialises the blueprint. | |
base_type | instantiate () |
Instantiate a copy of the object that is blueprinted. | |
base_type | instantiate () |
Instantiate a copy of the object that is blueprinted. | |
virtual | ~ConstantDynamicArray () |
virtual | ~ConstantDynamicArray () |
Private Attributes | |
size_t | reserve_size |
Type | val |
Blueprint for generating a cubic spline satisfying C2 constraints.
Generates a blueprint for creating cubic splines on a set of data satisfying a heuristic that automatically generates y' values at the via points.
Definition at line 679 of file array_dynamic_mem_check.hpp.
typedef ecl::Array<Type,ecl::DynamicStorage> ecl::blueprints::ConstantDynamicArray< Type >::base_type |
Abstract representation of the class to be instantiated/configured.
Definition at line 563 of file array_dynamic_no_mem_check.hpp.
typedef ecl::Array<Type,ecl::DynamicStorage> ecl::blueprints::ConstantDynamicArray< Type >::base_type |
Abstract representation of the class to be instantiated/configured.
Definition at line 684 of file array_dynamic_mem_check.hpp.
ecl::blueprints::ConstantDynamicArray< Type >::ConstantDynamicArray | ( | ) | [inline] |
Default constructor.
Default constructor (only utilised by the blueprint compile time assert).
Definition at line 690 of file array_dynamic_mem_check.hpp.
ecl::blueprints::ConstantDynamicArray< Type >::ConstantDynamicArray | ( | size_t | size, |
const Type & | value | ||
) | [inline] |
Constructor that properly configures/initialises the blueprint.
This constructor saves the input parameters to use when generating the instance later.
size | : the size of the array to create. |
value | : the constant value to fill the array with (defaults to zero). |
Definition at line 701 of file array_dynamic_mem_check.hpp.
virtual ecl::blueprints::ConstantDynamicArray< Type >::~ConstantDynamicArray | ( | ) | [inline, virtual] |
Definition at line 706 of file array_dynamic_mem_check.hpp.
ecl::blueprints::ConstantDynamicArray< Type >::ConstantDynamicArray | ( | ) | [inline] |
Default constructor.
Default constructor (only utilised by the blueprint compile time assert).
Definition at line 569 of file array_dynamic_no_mem_check.hpp.
ecl::blueprints::ConstantDynamicArray< Type >::ConstantDynamicArray | ( | size_t | size, |
const Type & | value | ||
) | [inline] |
Constructor that properly configures/initialises the blueprint.
This constructor saves the input parameters to use when generating the instance later.
size | : the size of the array to create. |
value | : the constant value to fill the array with (defaults to zero). |
Definition at line 580 of file array_dynamic_no_mem_check.hpp.
virtual ecl::blueprints::ConstantDynamicArray< Type >::~ConstantDynamicArray | ( | ) | [inline, virtual] |
Definition at line 585 of file array_dynamic_no_mem_check.hpp.
void ecl::blueprints::ConstantDynamicArray< Type >::apply | ( | base_type & | array | ) | const [inline] |
Apply the blueprint to configure an existing object.
Fill all elements of an existing array with a constant value. Note that this clears whatever was initially in the array.
array | : the array to fill. |
Definition at line 611 of file array_dynamic_no_mem_check.hpp.
void ecl::blueprints::ConstantDynamicArray< Type >::apply | ( | base_type & | array | ) | const [inline] |
Apply the blueprint to configure an existing object.
Fill all elements of an existing array with a constant value. Note that this clears whatever was initially in the array.
array | : the array to fill. |
Definition at line 732 of file array_dynamic_mem_check.hpp.
base_type ecl::blueprints::ConstantDynamicArray< Type >::instantiate | ( | ) | [inline] |
Instantiate a copy of the object that is blueprinted.
Instantiates a new array configured with a constant value. Take care not to use this in assignment, as it will do a costly copy of the entire array. It is, however, fine to use when constructing as the copy constructor will simply use this copy for the constructing object.
Definition at line 597 of file array_dynamic_no_mem_check.hpp.
base_type ecl::blueprints::ConstantDynamicArray< Type >::instantiate | ( | ) | [inline] |
Instantiate a copy of the object that is blueprinted.
Instantiates a new array configured with a constant value. Take care not to use this in assignment, as it will do a costly copy of the entire array. It is, however, fine to use when constructing as the copy constructor will simply use this copy for the constructing object.
Definition at line 718 of file array_dynamic_mem_check.hpp.
size_t ecl::blueprints::ConstantDynamicArray< Type >::reserve_size [private] |
Definition at line 738 of file array_dynamic_mem_check.hpp.
Type ecl::blueprints::ConstantDynamicArray< Type >::val [private] |
Definition at line 739 of file array_dynamic_mem_check.hpp.