com.io7m.jtensors

## Class MatrixM2x2D.ContextMM2D

- java.lang.Object
- - com.io7m.jtensors.MatrixM2x2D.ContextMM2D

- Enclosing class:
    MatrixM2x2D

      public static final class MatrixM2x2D.ContextMM2D
      extends Object

  The `ContextMM2D` type contains the minimum storage required for all of the functions of the `MatrixM2x2D` 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 `ContextMM2D` value per thread, and then pass this value to matrix functions. Any matrix function that takes a `ContextMM2D` value will not generate garbage.

  Since:
    7.0.0

- - ### Constructor Summary

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

    - #### ContextMM2D

          public ContextMM2D()

      Construct a new context.

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