.. _method-sampling-sample_type-low_discrepancy-digital_net-no_digital_shift:

""""""""""""""""
no_digital_shift
""""""""""""""""


Do not shift this digital net



.. toctree::
   :hidden:
   :maxdepth: 1



**Specification**

- *Alias:* None

- *Arguments:* None


**Description**


By default, the digital points will be shifted using a digital shift vector. If :math:`\Delta` is a 
vector of standard uniform random numbers, then we compute :math:`\boldsymbol{t}^{(i)} \otimes \Delta`, where
:math:`\otimes` is the element-wise :math:`b`-ary addition (or ``XOR``) operator, see :cite:p:`Dick10`.
When this keyword is specified, the digital net points will **not** be shifted. 
This means that the same set of digital net points will be generated, irrespective 
of the value of the random seed. The first untransformed point in the sequence will always be 
:math:`\boldsymbol{t}^{(0)} = (0, 0, \ldots, 0)`.




**Examples**



.. code-block::

    environment
      tabular_data
        tabular_data_file = 'samples.dat'
        freeform

    method
      sampling
        samples 32
        sample_type
          low_discrepancy
            digital_net
              generating_matrices inline 
                1 2 4 8 16
                # this encodes the generating matrix
                # 1 0 0 0 0
                # 0 1 0 0 0
                # 0 0 1 0 0 
                # 0 0 0 1 0
                # 0 0 0 0 1
                1 3 5 15 17
                # this encodes the generating matrix
                # 1 1 1 1 1
                # 0 1 0 1 0
                # 0 0 1 1 0
                # 0 0 0 1 0
                # 0 0 0 0 1
              m_max 5
              t_max 5
              no_scrambling
              no_digital_shift

    variables
      uniform_uncertain = 2
        lower_bounds 0.0 0.0
        upper_bounds 1.0 1.0

    interface
      analysis_drivers = 'genz'
      analysis_components = 'cp1'
      direct

    responses
      response_functions = 1
      no_gradients
      no_hessians



