MCPcopy Create free account

hub / github.com/dhale/jtk / functions

Functions7,765 in github.com/dhale/jtk

↓ 2,484 callersMethodgl
()
core/src/main/java/edu/mines/jtk/ogl/Gl.java:35569
↓ 584 callersMethodapply
Applies this OpenGL state. This method makes OpenGL state consistent with any attribute fields in this state that are currently set.
core/src/main/java/edu/mines/jtk/sgl/State.java:53
↓ 515 callersMethodmax
Returns the maximum of the specified values. @param a a value. @param b a value. @return the maximum value.
core/src/main/java/edu/mines/jtk/util/MathPlus.java:558
↓ 498 callersMethodargument
Ensures that the specified condition for an argument is true. @param condition the condition. @param message a description of the condition. @exceptio
core/src/main/java/edu/mines/jtk/util/Check.java:31
↓ 429 callersMethodmin
Returns the minimum of the specified values. @param a a value. @param b a value. @return the minimum value.
core/src/main/java/edu/mines/jtk/util/MathPlus.java:690
↓ 366 callersMethodadd
Add a scaled version of another vector to a scaled version of this vector. [If this==other, then the result should be the same as scaling this by (sca
core/src/main/java/edu/mines/jtk/opt/Vect.java:34
↓ 365 callersMethodassertEquals
(float[] a, float[] b)
core/src/test/java/edu/mines/jtk/dsp/ConvTest.java:317
↓ 315 callersMethodabs
Returns the magnitude of this complex number. @return the magnitude.
core/src/main/java/edu/mines/jtk/util/Cfloat.java:314
↓ 312 callersMethodput
Puts the value of the property associated with the specified node. @param node the node. @param value the property value.
core/src/main/java/edu/mines/jtk/mesh/TetMesh.java:1889
↓ 301 callersMethodcopy
Copy the state of one vector onto another. @param to Vector whose state should be initialized with the state of from. @param from Vecto
core/src/main/java/edu/mines/jtk/opt/VectUtil.java:65
↓ 228 callersMethodprintln
()
core/src/main/java/edu/mines/jtk/util/LoggerStream.java:64
↓ 221 callersMethodsqrt
Returns the square-root of this complex number. @return the square-root.
core/src/main/java/edu/mines/jtk/util/Cfloat.java:339
↓ 212 callersMethodscaleExpansionZeroElim
Computes the scaled expansion h = e b, eliminating zero components from the output expansion. Maintains the nonoverlapping property. If round-to-even
core/src/main/java/edu/mines/jtk/mesh/Geometry.java:1817
↓ 205 callersMethodgetCount
Gets the number of samples. @return the number of samples.
core/src/main/java/edu/mines/jtk/dsp/Sampling.java:176
↓ 175 callersMethodget
Gets local filter coefficients for the specified sample. @param i1 sample index in 1st dimension. @param a array to be filled with coefficients.
core/src/main/java/edu/mines/jtk/dsp/LocalCausalFilter.java:63
↓ 159 callersMethodexpansionSumZeroElimFast
Computes the sum of two expansions h = e+f, eliminating zero components from output expansion. If round-to-even is used (as with IEEE 754), maintains
core/src/main/java/edu/mines/jtk/mesh/Geometry.java:1721
↓ 157 callersMethodisMarked
Determines whether the specified node is marked (red). @param node the node. @return true, if the node is marked (red); false, otherwise.
core/src/main/java/edu/mines/jtk/mesh/TetMesh.java:3240
↓ 138 callersMethodtime
Returns the stopwatch time, in seconds. Does not start or stop. @return the time, in seconds.
core/src/main/java/edu/mines/jtk/util/Stopwatch.java:74
↓ 134 callersMethodrandfloat
Returns a new array of random values. @param n1 1st array dimension.
core/src/main/java/edu/mines/jtk/util/ArrayMath.java:1762
↓ 124 callersMethodequals
Determines whether specified object equals these units. @param object the object to compare with these units. @return true, if equal; false, otherwise
core/src/main/java/edu/mines/jtk/util/Units.java:103
↓ 121 callersMethodgetValue
Gets the sample value with specified index. @param i the index. @return the sample value.
core/src/main/java/edu/mines/jtk/dsp/Sampling.java:210
↓ 105 callersMethodcos
Returns the cosine of this complex number. @return the cosine.
core/src/main/java/edu/mines/jtk/util/Cfloat.java:397
↓ 105 callersMethodzerofloat
Returns a new array of zeros. @param n1 1st array dimension.
core/src/main/java/edu/mines/jtk/util/ArrayMath.java:1303
↓ 104 callersMethodgetFirst
Gets the first sample value. @return the first sample value.
core/src/main/java/edu/mines/jtk/dsp/Sampling.java:193
↓ 102 callersMethodsin
Returns the sine of this complex number. @return the sine.
core/src/main/java/edu/mines/jtk/util/Cfloat.java:389
↓ 101 callersMethodstate
Ensures that the specified condition of state is true. @param condition the condition. @param message a description of the condition. @exception Illeg
core/src/main/java/edu/mines/jtk/util/Check.java:42
↓ 95 callersMethodrun
()
core/src/test/java/edu/mines/jtk/interp/Gridder2Test.java:115
↓ 93 callersMethodmul
Returns the product ra rb of two functions ra and rb. The samplings of ra and rb must be equivalent. @param ra a function. @param rb a function. @retu
core/src/main/java/edu/mines/jtk/dsp/Real1.java:375
↓ 85 callersMethodgetDelta
Gets the sampling interval. If not uniformly sampled, the sampling interval is the average difference between sample values. @return the sampling inte
core/src/main/java/edu/mines/jtk/dsp/Sampling.java:185
↓ 84 callersMethodpow
Raises units to a power. @param units first operand. @param p second operand. @return the power units^p.
core/src/main/java/edu/mines/jtk/util/Units.java:338
↓ 77 callersMethodrepaint
Requests a repaint of the tile that contains this tiled view.
core/src/main/java/edu/mines/jtk/mosaic/TiledView.java:186
↓ 77 callersMethodstop
Stops this stopwatch. If the stopwatch is not running, does nothing.
core/src/main/java/edu/mines/jtk/util/Stopwatch.java:47
↓ 76 callersMethodassertEquals
(float expected, float actual)
core/src/test/java/edu/mines/jtk/util/ArrayMathTest.java:617
↓ 74 callersMethodassertEqual
(float[] rx, float[] ry)
core/src/test/java/edu/mines/jtk/util/ArrayMathTest.java:252
↓ 74 callersMethodsize
Returns the number of unique indices in this container. @return number of unique indices
core/src/main/java/edu/mines/jtk/opt/VectContainer.java:50
↓ 73 callersMethodappend
Appends the specified box to this node's list of boxes. If the box is a node, sets its parent to this node. @param box the box.
core/src/main/java/edu/mines/jtk/util/RTree.java:1063
↓ 72 callersMethodswap
(byte[] a, int i, int j)
core/src/main/java/edu/mines/jtk/util/ArrayMath.java:9131
↓ 71 callersMethodequal
See if two numbers are almost equal. @param r1 First number to check @param r2 Second number to check @return True if r1 and r2 are almost equal
core/src/main/java/edu/mines/jtk/util/Almost.java:207
↓ 71 callersMethodrampfloat
Returns an array initialized to a specified linear ramp. Array values are ra+i1 rb1. @param ra value of the first element. @param rb1 gradient in 1st
core/src/main/java/edu/mines/jtk/util/ArrayMath.java:3160
↓ 70 callersMethodassertEquals
(float expected, float actual)
core/src/test/java/edu/mines/jtk/util/MathPlusTest.java:128
↓ 70 callersMethodmark
Marks the specified node (red). Marks are used during iterations over nodes. Because nodes (e.g., those nodes adjacent to a particular node) are linke
core/src/main/java/edu/mines/jtk/mesh/TetMesh.java:3206
↓ 63 callersMethodclone
()
core/src/main/java/edu/mines/jtk/opt/Vect.java:93
↓ 62 callersMethodwrite
(int b)
core/src/main/java/edu/mines/jtk/io/ArrayOutput.java:30
↓ 60 callersMethodisMarked
Determines whether the specified node is marked (red). @param node the node. @return true, if the node is marked (red); false, otherwise.
core/src/main/java/edu/mines/jtk/mesh/TriMesh.java:2200
↓ 60 callersMethodnodeA
()
core/src/main/java/edu/mines/jtk/mesh/TriSurf.java:309
↓ 59 callersMethodappend
Appends the specified array of nodes to this draw list. @param nodes the array of nodes; referenced, not copied.
core/src/main/java/edu/mines/jtk/sgl/DrawList.java:47
↓ 56 callersMethodnodeB
()
core/src/main/java/edu/mines/jtk/mesh/TriSurf.java:312
↓ 55 callersMethodexp
Returns the exponential of this complex number. @return the exponential.
core/src/main/java/edu/mines/jtk/util/Cfloat.java:347
↓ 55 callersMethodlength
Returns the length of this vector. @return the length.
core/src/main/java/edu/mines/jtk/sgl/Vector3.java:52
↓ 54 callersMethodrestart
Resets and starts this stopwatch.
core/src/main/java/edu/mines/jtk/util/Stopwatch.java:65
↓ 53 callersMethodisUniform
Determines whether this sampling is uniform. A sampling is uniform if its values can be computed, to within the sampling tolerance, by the expression
core/src/main/java/edu/mines/jtk/dsp/Sampling.java:243
↓ 52 callersMethodaddChild
Adds the specified child node to this group's list of children. If the node is already a child of this group, then this method does nothing. <p> The c
core/src/main/java/edu/mines/jtk/sgl/Group.java:39
↓ 51 callersMethodassertVeryClose
(Projector expected, Projector actual)
core/src/test/java/edu/mines/jtk/mosaic/ProjectorTest.java:152
↓ 51 callersMethodcontains
Determines whether this rectangle contains the specified point. @param point the point. @return true, if this rectangle contains the point; false, oth
core/src/main/java/edu/mines/jtk/mosaic/DRectangle.java:116
↓ 51 callersMethodsetSize
Sets the size in pixels of all handles. Because handle size is not associated with any particular handle or world, this method does force a repaint of
core/src/main/java/edu/mines/jtk/sgl/Handle.java:65
↓ 50 callersMethodround
Returns the closest int to the specified value. The result is the value of the expression <code>(int)Math.floor(a+0.5f)</code>. @param x the value. @r
core/src/main/java/edu/mines/jtk/util/MathPlus.java:478
↓ 48 callersMethoddrawLine
( Graphics2D g2d, GeneralPath path, int x1, int y1, int x2, int y2)
core/src/main/java/edu/mines/jtk/mesh/TriMeshView.java:677
↓ 48 callersMethodmed3
(byte[] a, int i, int j, int k)
core/src/main/java/edu/mines/jtk/util/ArrayMath.java:9121
↓ 48 callersMethodsub
Returns the difference ra - rb of two functions ra and rb. The samplings of ra and rb must be equivalent. @param ra a function. @param rb a function.
core/src/main/java/edu/mines/jtk/dsp/Real1.java:344
↓ 48 callersMethodx
Converts the specified user x-coordinate to device x-coordinate. @param xu the user x-coordinate. @return the device x-coordinate.
core/src/main/java/edu/mines/jtk/mosaic/Transcaler.java:166
↓ 47 callersMethodtwoDiff
Computes difference a-b. Puts result in x and error in y.
core/src/main/java/edu/mines/jtk/mesh/Geometry.java:1544
↓ 47 callersMethody
Converts the specified user y-coordinate to device y-coordinate. @param yu the user y-coordinate. @return the device y-coordinate.
core/src/main/java/edu/mines/jtk/mosaic/Transcaler.java:184
↓ 45 callersMethodccopy
Returns array copy of elements from the specified array. @param cx source array. @return array copy
core/src/main/java/edu/mines/jtk/util/ArrayMath.java:5413
↓ 44 callersMethodassertEquals
(Matrix44 e, Matrix44 a)
core/src/test/java/edu/mines/jtk/sgl/MatrixPointVectorTest.java:181
↓ 44 callersMethodget
Gets all elements of this matrix into a new array. @return the array.
core/src/main/java/edu/mines/jtk/la/DMatrix.java:148
↓ 44 callersMethodloop
Performs a loop <code>for (int i=0; i&lt;end; ++i)</code>. @param end the end index (not included) for the loop. @param body the loop body.
core/src/main/java/edu/mines/jtk/util/Parallel.java:265
↓ 43 callersMethoddispose
Optionally free any resources held by this object. Will not be used again. This method can safely do nothing.
core/src/main/java/edu/mines/jtk/opt/Vect.java:55
↓ 43 callersMethodtrace
(String s)
core/src/main/java/edu/mines/jtk/mesh/TriSurf.java:2084
↓ 41 callersMethodaddNode
Adds a node to the mesh, if the mesh does not already contain a node with the same (x,y,z) coordinates. @param node the node to add. @return true, if
core/src/main/java/edu/mines/jtk/mesh/TetMesh.java:2017
↓ 41 callersMethoddot
Return the Cartesian dot product of this vector with another vector (not including any inverse covariance). [Feel free to normalize by the number of e
core/src/main/java/edu/mines/jtk/opt/VectConst.java:32
↓ 40 callersMethodsin
(float x, float y)
demo/src/main/java/jtkdemo/sgl/QuadGroupDemo.java:84
↓ 38 callersMethodget
Gets the value of the property associated with the specified node. @param node the node. @return the property value.
core/src/main/java/edu/mines/jtk/mesh/TetMesh.java:1882
↓ 38 callersMethodtwoTwoProduct
Computes the product a b, where a and b are two-component expansions. Puts the product in the array x[8].
core/src/main/java/edu/mines/jtk/mesh/Geometry.java:1634
↓ 37 callersMethodceil
Returns the smallest (closest to negative infinity) value that is greater than or equal to the argument and is equal to a mathematical integer. @param
core/src/main/java/edu/mines/jtk/util/MathPlus.java:418
↓ 37 callersMethodlog
Returns the natural logarithm of this complex number. @return the natural logarithm.
core/src/main/java/edu/mines/jtk/util/Cfloat.java:355
↓ 37 callersMethodmark
Marks the specified node (red). Marks are used during iterations over nodes. Because nodes (e.g., those nodes adjacent to a particular node) are linke
core/src/main/java/edu/mines/jtk/mesh/TriMesh.java:2174
↓ 37 callersMethodprint
Let user know about progress. Update time stamps to limit frequency of next update. @param fraction Current fraction of total progress, between 0
core/src/main/java/edu/mines/jtk/util/LogMonitor.java:183
↓ 37 callersMethodsetColor
Sets the grid color. The default grid color is the tile foreground color. That default is used if the specified color is null. @param color the color;
core/src/main/java/edu/mines/jtk/mosaic/GridView.java:166
↓ 37 callersMethodsetOrientation
Sets the orientation of (x1,x2) axes. @param orientation the orientation.
core/src/main/java/edu/mines/jtk/mosaic/BarsView.java:210
↓ 37 callersMethodxp
Returns the x coordinate of this node as a perturbed double. @return the x coordinate.
core/src/main/java/edu/mines/jtk/mesh/TriMesh.java:111
↓ 37 callersMethodyp
Returns the y coordinate of this node as a perturbed double. @return the y coordinate.
core/src/main/java/edu/mines/jtk/mesh/TriMesh.java:119
↓ 36 callersMethodformat
Format a localized message, with java.util.Formatter and the appropriate resource. @param key used to specify format string in properties file. If no
core/src/main/java/edu/mines/jtk/util/Localize.java:110
↓ 36 callersMethodgetLast
Gets the last sample value. @return the last sample value.
core/src/main/java/edu/mines/jtk/dsp/Sampling.java:201
↓ 36 callersMethodgetWidth
Gets the line width. @return the line width.
core/src/main/java/edu/mines/jtk/sgl/LineState.java:121
↓ 36 callersMethodinsertionSort
(byte[] a, int p, int q)
core/src/main/java/edu/mines/jtk/util/ArrayMath.java:9144
↓ 36 callersMethodnext
()
core/src/main/java/edu/mines/jtk/mesh/TriMesh.java:588
↓ 36 callersMethodzero
Returns a sampled function with values zero. @param n the number of samples. @return the function.
core/src/main/java/edu/mines/jtk/dsp/Real1.java:244
↓ 35 callersMethodaddPixels
Adds a pixels view of the specified sampled function f(x1,x2). Assumes zero first sample values and unit sampling intervals. @param f array[n2][n1] of
core/src/main/java/edu/mines/jtk/mosaic/PlotPanel.java:738
↓ 35 callersMethodgetParameter
Get a parameter. @param name name of the parameter to get. @return parameter; null, if the parameter set does not contain a parameter with the specif
core/src/main/java/edu/mines/jtk/util/ParameterSet.java:113
↓ 35 callersMethodsum
(float[] a)
core/src/test/java/edu/mines/jtk/util/ParallelTest.java:263
↓ 34 callersMethodaddHalfSpace
Adds a 1D half-space a1 x1 &lt;= b to bound this volume. Other coefficients a2, a3, ..., an, if any, are assumed to be zero. The dimension of this vol
core/src/main/java/edu/mines/jtk/interp/LasserreVolume.java:72
↓ 34 callersMethodaddPoints
Adds a points view of the arrays x1 and x2 of point (x1,x2) coordinates. @param x1 array of x1 coordinates. @param x2 array of x2 coordinates. @return
core/src/main/java/edu/mines/jtk/mosaic/PlotPanel.java:847
↓ 34 callersMethodassertEquals
(float expected, float actual)
core/src/test/java/edu/mines/jtk/util/CfloatTest.java:63
↓ 34 callersMethodgetMessage
Get the best localized message from a Throwable that may contain other Throwables as a cause. @param throwable a Throwable that may contain other Thr
core/src/main/java/edu/mines/jtk/util/Localize.java:184
↓ 34 callersMethodstart
Starts this stopwatch. If the stopwatch is running, does nothing.
core/src/main/java/edu/mines/jtk/util/Stopwatch.java:37
↓ 34 callersMethodtrace
(String s)
core/src/test/java/edu/mines/jtk/mesh/GeometryTest.java:357
↓ 33 callersMethodinterpolate
Interpolates the current uniform samples as real numbers. @param x the value x at which to interpolate y(x). @return the interpolated y(x).
core/src/main/java/edu/mines/jtk/dsp/LinearInterpolator.java:109
↓ 33 callersMethodinterpolate
Interpolates this sampling. Inserts m-1 evenly spaced samples between each of the samples in this sampling. If this sampling has n values, the new sam
core/src/main/java/edu/mines/jtk/dsp/Sampling.java:726
↓ 33 callersMethodinterpolate1
Interpolates the first derivative y'(x). @param x value at which to interpolate. @return interpolated first derivative y'(x).
core/src/main/java/edu/mines/jtk/interp/CubicInterpolator.java:166
↓ 33 callersMethodrandom
Returns a new matrix with random elements. The distribution of the random numbers is uniform in the interval [0,1). @param m the number of rows. @para
core/src/main/java/edu/mines/jtk/la/DMatrix.java:730
next →1–100 of 7,765, ranked by callers