com.io7m.jtensors.generators

## Class Quaternion4DGenerator

- java.lang.Object
- - com.io7m.jtensors.generators.Quaternion4DGenerator

- All Implemented Interfaces:
    net.java.quickcheck.Generator<Quaternion4D>

      public final class Quaternion4DGenerator
      extends Object
      implements net.java.quickcheck.Generator<Quaternion4D>

  A quaternion generator.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Quaternion4DGenerator(net.java.quickcheck.Generator<Double> in_gen)` Construct a generator.

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <T> net.java.quickcheck.Generator<Quaternion4D>` | `create()` Create a generator initialized with a default component generator that produces values in the range `[-1.0, 1.0]`.
    `Quaternion4D` | `next()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Quaternion4DGenerator

          public Quaternion4DGenerator(net.java.quickcheck.Generator<Double> in_gen)

      Construct a generator.
      Parameters:
        `in_gen` - A component generator

  - ### Method Detail

    - #### create

          public static <T> net.java.quickcheck.Generator<Quaternion4D> create()

      Create a generator initialized with a default component generator that produces values in the range `[-1.0, 1.0]`.
      Type Parameters:
        `T` - A phantom type parameter
      Returns:
        A generator

    - #### next

          public Quaternion4D next()

      Specified by:
        `next` in interface `net.java.quickcheck.Generator<Quaternion4D>`

Copyright © 2017 <code@io7m.com> http://io7m.com