com.io7m.jtensors

## Class QuaternionI4D.Context

- java.lang.Object
- - com.io7m.jtensors.QuaternionI4D.Context

- Enclosing class:
    QuaternionI4D

      public static class QuaternionI4D.Context
      extends Object

  The ContextQM4F type contains the minimum storage required for all of the functions of the `QuaternionI4D` 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 matrix functions. Any matrix function that takes a `ContextQM4F` value will not generate garbage.

  Since:
    5.0.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Context()` 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

    - #### Context

          public Context()

      Construct a new context.

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