Documentation of 'Jampack.Z1' Java class
Z1
Jampack

Class Z1



  • public class Z1
    extends java.lang.Object
    Z1 implements a one-dimensional array of complex numbers as a two arrays of type double. The addressing is zero based. It is necessary to provided one-dimensional complex arrays whose real and imaginary parts are contiguous in storage.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Z1(int n)
      Creates a Z1 initializes to zero.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Z get(int i)
      Returns the ith element of a Z1 as a Z.
      void put(int i, double real, double imag)
      Sets the real and imaginary parts of the ith element of a Z1.
      void put(int i, Z z)
      Sets the ith element of a Z1 to a Z.
      void Times(int i, Z z)
      Multiplies the ith element of a Z1 by a Z.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • get

        public Z get(int i)
        Returns the ith element of a Z1 as a Z.
        Parameters:
        i - an integer
        Returns:
        The ith elemeent of this Z1
      • put

        public void put(int i,
                        Z z)
        Sets the ith element of a Z1 to a Z.
        Parameters:
        i - an integer
        z - a Z
      • put

        public void put(int i,
                        double real,
                        double imag)
        Sets the real and imaginary parts of the ith element of a Z1.
        Parameters:
        i - an integer
        real - a double
        imag - a double
      • Times

        public void Times(int i,
                          Z z)
        Multiplies the ith element of a Z1 by a Z.
        Parameters:
        i - an integer
        z - a Z

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.