jcuda.jnpp.types
Class Npp16sc

java.lang.Object
  extended by jcuda.jnpp.types.Npp16sc

public class Npp16sc
extends java.lang.Object

 Complex Number
 This struct represents a short complex number.
 


Field Summary
 short im
          Imaginary part
 short re
          Real part
 
Constructor Summary
Npp16sc(short re, short im)
          Creates a new Npp16sc with the given values
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

re

public short re
Real part


im

public short im
Imaginary part

Constructor Detail

Npp16sc

public Npp16sc(short re,
               short im)
Creates a new Npp16sc with the given values

Parameters:
re - The re value
im - The im value
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object