MCPcopy Create free account
hub / github.com/dhale/jtk / rampshort

Method rampshort

core/src/main/java/edu/mines/jtk/util/ArrayMath.java:2890–2894  ·  view source on GitHub ↗

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 dimension. @param n1 1st array dimension.

(short ra, short rb1, int n1)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

rampMethod · 0.95

Tested by

no test coverage detected