public class WeightVector
extends java.lang.Object
| Constructor and Description |
|---|
WeightVector() |
WeightVector(int count) |
WeightVector(int count,
int max) |
| Modifier and Type | Method and Description |
|---|---|
WeightVector |
cpy() |
float |
get(int index) |
void |
lerp(WeightVector value,
float t) |
WeightVector |
mulAdd(WeightVector w,
float s) |
WeightVector |
scl(float s) |
WeightVector |
set() |
WeightVector |
set(WeightVector weights) |
java.lang.String |
toString() |
public WeightVector()
public WeightVector(int count)
public WeightVector(int count,
int max)
public WeightVector set(WeightVector weights)
public void lerp(WeightVector value, float t)
public java.lang.String toString()
toString in class java.lang.Objectpublic WeightVector set()
public WeightVector cpy()
public float get(int index)
public WeightVector scl(float s)
public WeightVector mulAdd(WeightVector w, float s)