Package math.matrices

Class FastMatrixMultSelf

java.lang.Object
math.matrices.FastMatrixMultSelf

public class FastMatrixMultSelf
extends java.lang.Object
Fast matrix multiplication between a vector (as a 3x1 matrix) and itsef (as a 1x3 matrix).
  • Field Summary

    Fields
    Modifier and Type Field Description
    double xx
    Matrix entry at position (0, 0) (starting from top left).
    double xy
    Matrix entry at position (0, 1) (starting from top left).
    double xz
    Matrix entry at position (0, 2) (starting from top left).
    double yy
    Matrix entry at position (1, 1) (starting from top left).
    double yz
    Matrix entry at position (1, 2) (starting from top left).
    double zz
    Matrix entry at position (2, 2) (starting from top left).
  • Constructor Summary

    Constructors
    Constructor Description
    FastMatrixMultSelf​(Triple first)
    Multiply the given vector with itself as if they were matrices.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • xx

      public final double xx
      Matrix entry at position (0, 0) (starting from top left).
    • yy

      public final double yy
      Matrix entry at position (1, 1) (starting from top left).
    • zz

      public final double zz
      Matrix entry at position (2, 2) (starting from top left).
    • xy

      public final double xy
      Matrix entry at position (0, 1) (starting from top left).
    • yz

      public final double yz
      Matrix entry at position (1, 2) (starting from top left).
    • xz

      public final double xz
      Matrix entry at position (0, 2) (starting from top left).
  • Constructor Details

    • FastMatrixMultSelf

      public FastMatrixMultSelf​(Triple first)
      Multiply the given vector with itself as if they were matrices.
      Parameters:
      first - The vector to multiply, as a 3x1 matrix and then as a 1x3 matrix.