com.io7m.jtensors

## Class QuaternionM4F.ContextQM4F

- java.lang.Object
- - com.io7m.jtensors.QuaternionM4F.ContextQM4F

- Enclosing class:
    QuaternionM4F

      public static class QuaternionM4F.ContextQM4F
      extends Object

  The ContextQM4F type contains the minimum storage required for all of the functions of the `QuaternionM4D` class.

  The purpose of the class is to allow applications to allocate all storage ahead of time in order to allow functions in the class to avoid allocating memory (not including stack space) for intermediate calculations. This can reduce garbage collection in speed critical code.

  The user should allocate one `ContextQM4F` value per thread, and then pass this value to quaternion functions. Any quaternion function that takes a `ContextQM4F` value will not generate garbage.

  Since:
    7.0.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ContextQM4F()` Construct a new context.

  - ### Method Summary

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

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

- - ### Constructor Detail

    - #### ContextQM4F

          public ContextQM4F()

      Construct a new context.

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