Codota Logo
SimpleFloat3.<init>
Code IndexAdd Codota to your IDE (free)

How to use
edu.mines.jtk.util.SimpleFloat3
constructor

Best Java code snippets using edu.mines.jtk.util.SimpleFloat3.<init> (Showing top 10 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
origin: dhale/jtk

/**
 * Constructs an image panel group for all three axes.
 * @param s1 sampling of 1st dimension (Z axis).
 * @param s2 sampling of 2nd dimension (Y axis).
 * @param s3 sampling of 3rd dimension (X axis).
 * @param f 3D array of floats.
 */
public ImagePanelGroup(Sampling s1, Sampling s2, Sampling s3, float[][][] f) {
 this(s1,s2,s3,new SimpleFloat3(f));
}
origin: dhale/jtk

private static Float3[] toFloat3(float[][][][] f) {
 Float3[] f3 = new Float3[f.length];
 for (int i=0; i<f.length; ++i)
  f3[i] = new SimpleFloat3(f[i]);
 return f3;
}
origin: dhale/jtk

/**
 * Constructs an image panel for specified sampling and 3D array.
 * @param s1 sampling of 1st dimension (Z axis).
 * @param s2 sampling of 2nd dimension (Y axis).
 * @param s3 sampling of 3rd dimension (X axis).
 * @param f 3D array of floats.
 */
public ImagePanel(Sampling s1, Sampling s2, Sampling s3, float[][][] f) {
 this(s1,s2,s3,new SimpleFloat3(f));
}
origin: dhale/jtk

/**
 * Constructs an image panel group for all three axes.
 * Both 3D arrays of floats much be consistent with the specified sampling.
 * @param s1 sampling of 1st dimension (Z axis).
 * @param s2 sampling of 2nd dimension (Y axis).
 * @param s3 sampling of 3rd dimension (X axis).
 * @param f1 1st 3D array of floats.
 * @param f2 2nd 3D array of floats.
 */
public ImagePanelGroup2(
 Sampling s1, Sampling s2, Sampling s3, 
 float[][][] f1, float[][][] f2) 
{
 this(s1,s2,s3,new SimpleFloat3(f1),new SimpleFloat3(f2));
}
origin: dhale/jtk

/**
 * Constructs image panel group for specified axes.
 * @param s1 sampling of 1st dimension (Z axis).
 * @param s2 sampling of 2nd dimension (Y axis).
 * @param s3 sampling of 3rd dimension (X axis).
 * @param f 3D array of floats.
 * @param axes array of axes, one for each image panel.
 */
public ImagePanelGroup(
 Sampling s1, Sampling s2, Sampling s3, float[][][] f, Axis[] axes) 
{
 this(s1,s2,s3,new SimpleFloat3(f),axes);
}
origin: dhale/jtk

/**
 * Constructs a plot panel with three pixels views.
 * @param orientation the orientation of views.
 * @param axesPlacement the placement of axes.
 * @param s1 sampling of the 1st dimension.
 * @param s2 sampling of the 2nd dimension.
 * @param s3 sampling of the 3rd dimension.
 * @param f 3-D array of floats.
 */
public PlotPanelPixels3(
 Orientation orientation, AxesPlacement axesPlacement,
 Sampling s1, Sampling s2, Sampling s3, float[][][] f)
{
 this(orientation,axesPlacement,s1,s2,s3,new SimpleFloat3(f));
}
origin: dhale/jtk

/**
 * Constructs an image panel group for specified axes.
 * Both 3D arrays of floats much be consistent with the specified sampling.
 * @param s1 sampling of 1st dimension (Z axis).
 * @param s2 sampling of 2nd dimension (Y axis).
 * @param s3 sampling of 3rd dimension (X axis).
 * @param f1 1st 3D array of floats.
 * @param f2 2nd 3D array of floats.
 * @param axes array of axes, one for each image panel.
 */
public ImagePanelGroup2(
 Sampling s1, Sampling s2, Sampling s3, 
 float[][][] f1, float[][][] f2, Axis[] axes) 
{
 this(s1,s2,s3,new SimpleFloat3(f1),new SimpleFloat3(f2),axes);
}
origin: dhale/jtk

public void testRandom() {
 int n1 = 10;
 int n2 = 11;
 int n3 = 12;
 float[][][] a = randfloat(n1,n2,n3);
 SimpleFloat3 sf3 = new SimpleFloat3(a);
 float[][][] c = copy(a);
 testRandom1(sf3,c);
 testRandom2(sf3,c);
 testRandom3(sf3,c);
}
origin: dhale/jtk

public void test123() {
 int n1 = 10;
 int n2 = 11;
 int n3 = 12;
 float[][][] a = randfloat(n1,n2,n3);
 SimpleFloat3 sf3 = new SimpleFloat3(a);
 float[][][] c = copy(a);
 test1(sf3,c);
 test2(sf3,c);
 test3(sf3,c);
}
origin: dhale/jtk

Float3 f3 = new SimpleFloat3(a);
ImagePanel iop = new ImagePanel(sz,sy,sx,f3);
aaf.addChild(iop);
edu.mines.jtk.utilSimpleFloat3<init>

Javadoc

Constructs an array of elements initialized to zero.

Popular methods of SimpleFloat3

    Popular in Java

    • Creating JSON documents from java classes using gson
    • setContentView (Activity)
    • getContentResolver (Context)
    • onCreateOptionsMenu (Activity)
    • System (java.lang)
      Provides access to system-related information and resources including standard input and output. Ena
    • Proxy (java.net)
      This class represents proxy server settings. A created instance of Proxy stores a type and an addres
    • MessageDigest (java.security)
      Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
    • SQLException (java.sql)
      An exception that indicates a failed JDBC operation. It provides the following information about pro
    • Executor (java.util.concurrent)
      An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
    • BoxLayout (javax.swing)
    Codota Logo
    • Products

      Search for Java codeSearch for JavaScript codeEnterprise
    • IDE Plugins

      IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Codota for your IDE now