Class SDipoleMatrix

All Implemented Interfaces:
Cloneable

public final class SDipoleMatrix extends DipoleMatrix

SDipoleMatrix class.

Author:
igor@scictrl.com
  • Constructor Details

    • SDipoleMatrix

      public SDipoleMatrix(double newLength, double newK, double newRadius)
      SDipoleMatrix constructor comment.
      Parameters:
      newLength - double
      newK - double
      newRadius - double
  • Method Details

    • canJoin

      public boolean canJoin(DoubleMatrix matrix)
      Test if can be joined with this matrix.
      Overrides:
      canJoin in class DoubleMatrix
      Parameters:
      matrix - DoubleMatrix
      Returns:
      boolean
    • join

      public DoubleMatrix join(DoubleMatrix matrix)
      Multiplies matrix from right with this matrix and stores result in this matrix. Return Matrix is stih matrix. Multiplies matrix from right with this matrix and stores result in this matrix. Return Matrix is stih matrix.
      Overrides:
      join in class DoubleMatrix
      Parameters:
      matrix - DoubleMatrix
      Returns:
      DoubleMatrix this matrix =matrix times this matrix
    • makeMatrix

      protected double[][] makeMatrix()

      makeMatrix.

      Specified by:
      makeMatrix in class DipoleMatrix
      Returns:
      an array of
      invalid reference
      double
      objects
    • multiplay

      public TransferMatrix multiplay(TransferMatrix matrix)

      multiplay.

      Multiplies matrix from right with this matrix and returns result as new matrix
      Overrides:
      multiplay in class TransferMatrix
      Parameters:
      matrix - a TransferMatrix object
      Returns:
      a TransferMatrix object
    • toString

      public String toString()
      Returns a String that represents the value of this object.
      Overrides:
      toString in class DoubleMatrix