Derived class of DigitalNet designed to implement specific construction methods.
More...
#include <DigitalNet.h>
Inherits NetBuilder::DigitalNet.
|
typedef NetConstructionTraits< NC > | ConstructionMethod |
|
typedef ConstructionMethod::GenValue | GenValue |
| Type of the generating values of the method.
|
|
typedef ConstructionMethod::SizeParameter | SizeParameter |
| Type of the size parameter of the method.
|
|
template<NetConstruction NC>
class NetBuilder::DigitalNetConstruction< NC >
Derived class of DigitalNet designed to implement specific construction methods.
The available construction methods are described by the NetConstruction enumeration which is a non-type template parameter of the DigitalNetConstruction class. Construction methods are based on two parameters: a size parameter which is shared by all coordinates and a sequence of generating values, each of them being associated to one coordinate.
- See also
- NetBuilder::NetConstructionTraits
- Examples:
- tutorial/NetQuantiles.cc.
◆ DigitalNetConstruction() [1/2]
template<NetConstruction NC>
Constructor.
- Parameters
-
dimension | Dimension of the net. |
sizeParameter | Size parameter of the net. |
genValues | Sequence of generating values to create the net. |
◆ DigitalNetConstruction() [2/2]
template<NetConstruction NC>
Constructor for placeholder nets.
- Parameters
-
dimension | Dimension of the net. |
sizeParameter | Size parameter of the net. |
◆ extendDimension()
template<NetConstruction NC>
Instantiates a digital net with a dimension increased by one using the generating value newGenValue
.
Note that the resources (generating matrices, generatins values and computation data) for the lower dimensions are not copied. The net on which this method is called and the new net share these resources.
- Parameters
-
newGenValue | Generating value used to extend the net. |
- Returns
- A
std::unique_ptr
to the instantiated net.
The documentation for this class was generated from the following file: