Package com.io7m.jtensors.generators

# Class Matrix2x2FGenerator

java.lang.Object
com.io7m.jtensors.generators.Matrix2x2FGenerator

All Implemented Interfaces:
  `net.java.quickcheck.Generator<Matrix2x2F>`

    public final class Matrix2x2FGenerator
    extends java.lang.Object
    implements net.java.quickcheck.Generator<Matrix2x2F>

A matrix generator.

- ## Constructor Summary

  Constructors
  Constructor | Description
  --- | ---
  `Matrix2x2FGenerator​(net.java.quickcheck.Generator<java.lang.Double> in_gen)` | Construct a generator.

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `static net.java.quickcheck.Generator<Matrix2x2F>` | `create()` | Create a generator initialized with a default component generator.
  `static net.java.quickcheck.Generator<Matrix2x2F>` | `createNormal()` | Create a generator initialized with a default component generator that only produces values in the range `[-1.0, 1.0]`.
  `Matrix2x2F` | `next()` |

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

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

- ## Constructor Details

  - ### Matrix2x2FGenerator

    public Matrix2x2FGenerator​(net.java.quickcheck.Generator<java.lang.Double> in_gen)
    Construct a generator.
    Parameters:
      `in_gen` - A component generator

- ## Method Details

  - ### create

    public static net.java.quickcheck.Generator<Matrix2x2F> create()
    Create a generator initialized with a default component generator.
    Returns:
      A generator

  - ### createNormal

    public static net.java.quickcheck.Generator<Matrix2x2F> createNormal()
    Create a generator initialized with a default component generator that only produces values in the range `[-1.0, 1.0]`.
    Returns:
      A generator

  - ### next

    public Matrix2x2F next()
    Specified by:
      `next` in interface `net.java.quickcheck.Generator<Matrix2x2F>`