MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / setShift

Method setShift

JSAT/src/jsat/linear/ShiftedVec.java:52–55  ·  view source on GitHub ↗

Directly alters the shift value used for this vector. The old sift is "forgotten" immediately. @param shift the new value to use for the additive scalar

(double shift)

Source from the content-addressed store, hash-verified

50 * @param shift the new value to use for the additive scalar
51 */
52 public void setShift(double shift)
53 {
54 this.shift = shift;
55 }
56
57 /**
58 *

Callers 1

testSetShiftMethod · 0.95

Calls

no outgoing calls

Tested by 1

testSetShiftMethod · 0.76