| Package | Description |
|---|---|
| com.io7m.jtensors.core.parameterized.vectors |
Parameterized vector types.
|
| com.io7m.jtensors.core.unparameterized.vectors |
Unparameterized vector types.
|
| com.io7m.jtensors.generators |
QuickCheck generators.
|
| com.io7m.jtensors.storage.api.unparameterized.vectors |
Unparameterized vector storage types.
|
| Modifier and Type | Method | Description |
|---|---|---|
static <A> Vector3I |
PVectors3I.toUnparameterized(PVector3I<A> v) |
| Modifier and Type | Method | Description |
|---|---|---|
static <A> PVector3I<A> |
PVectors3I.toParameterized(Vector3I v) |
| Modifier and Type | Method | Description |
|---|---|---|
static Vector3I |
Vectors3I.absolute(Vector3I v0) |
Calculate the absolute of
v0. |
static Vector3I |
Vectors3I.add(Vector3I v0,
Vector3I v1) |
Add
v0 to v1. |
static Vector3I |
Vectors3I.addScaled(Vector3I v0,
Vector3I v1,
double r) |
Add
v0 to v1 * r. |
Vector3I |
Vector3I.Builder.build() |
Builds a new
Vector3I. |
static Vector3I |
Vectors3I.clamp(Vector3I v,
Vector3I v_min,
Vector3I v_max) |
Clamp the values in
v by v_min and v_max. |
static Vector3I |
Vectors3I.crossProduct(Vector3I v0,
Vector3I v1) |
Calculate the cross product of the vectors
v0 and v1. |
static Vector3I |
Vectors3I.interpolateBilinear(Vector3I x0y0,
Vector3I x1y0,
Vector3I x0y1,
Vector3I x1y1,
double px,
double py) |
Bilinearly interpolate between
x0y0, x1y0, x0y1, x1y1. |
static Vector3I |
Vectors3I.interpolateLinear(Vector3I v0,
Vector3I v1,
double alpha) |
Linearly interpolate between
v0 and v1 by the amount alpha. |
static Vector3I |
Vectors3I.negate(Vector3I v) |
Calculate the negation of
v. |
static Vector3I |
Vector3I.of(int x,
int y,
int z) |
Construct a new immutable
Vector3I instance. |
static Vector3I |
Vectors3I.scale(Vector3I v0,
double r) |
Scale
v0 by r. |
static Vector3I |
Vectors3I.subtract(Vector3I v0,
Vector3I v1) |
Subtract
v1 from v0. |
static Vector3I |
Vectors3I.zero() |
The zero vector.
|
| Modifier and Type | Method | Description |
|---|---|---|
static Vector3I |
Vectors3I.absolute(Vector3I v0) |
Calculate the absolute of
v0. |
static Vector3I |
Vectors3I.add(Vector3I v0,
Vector3I v1) |
Add
v0 to v1. |
static Vector3I |
Vectors3I.addScaled(Vector3I v0,
Vector3I v1,
double r) |
Add
v0 to v1 * r. |
static Vector3I |
Vectors3I.clamp(Vector3I v,
Vector3I v_min,
Vector3I v_max) |
Clamp the values in
v by v_min and v_max. |
static Vector3I |
Vectors3I.crossProduct(Vector3I v0,
Vector3I v1) |
Calculate the cross product of the vectors
v0 and v1. |
static long |
Vectors3I.distance(Vector3I v0,
Vector3I v1) |
Calculate the distance between
v0 and v1. |
static long |
Vectors3I.dotProduct(Vector3I v0,
Vector3I v1) |
Calculate the scalar product of the vectors
v0 and v1. |
static Vector3I |
Vectors3I.interpolateBilinear(Vector3I x0y0,
Vector3I x1y0,
Vector3I x0y1,
Vector3I x1y1,
double px,
double py) |
Bilinearly interpolate between
x0y0, x1y0, x0y1, x1y1. |
static Vector3I |
Vectors3I.interpolateLinear(Vector3I v0,
Vector3I v1,
double alpha) |
Linearly interpolate between
v0 and v1 by the amount alpha. |
static double |
Vectors3I.magnitude(Vector3I v0) |
Calculate the magnitude of the vector
v0. |
static long |
Vectors3I.magnitudeSquared(Vector3I v0) |
Calculate the squared magnitude of the vector
v0. |
static Vector3I |
Vectors3I.negate(Vector3I v) |
Calculate the negation of
v. |
static Vector3I |
Vectors3I.scale(Vector3I v0,
double r) |
Scale
v0 by r. |
static Vector3I |
Vectors3I.subtract(Vector3I v0,
Vector3I v1) |
Subtract
v1 from v0. |
| Modifier and Type | Method | Description |
|---|---|---|
Vector3I |
Vector3IGenerator.next() |
| Modifier and Type | Method | Description |
|---|---|---|
static net.java.quickcheck.Generator<Vector3I> |
Vector3IGenerator.create() |
Create a generator initialized with a default component generator.
|
static net.java.quickcheck.Generator<Vector3I> |
Vector3IGenerator.create16() |
Create a generator initialized with a default component generator that
produces values in the range
[-32768, 32767]. |
static net.java.quickcheck.Generator<Vector3I> |
Vector3IGenerator.create32() |
Create a generator initialized with a default component generator that
produces values in the range
[-2147483648, 2147483647]. |
static net.java.quickcheck.Generator<Vector3I> |
Vector3IGenerator.create8() |
Create a generator initialized with a default component generator that
produces values in the range
[-128, 127]. |
static net.java.quickcheck.Generator<Vector3I> |
Vector3IGenerator.createSmall() |
Create a generator initialized with a default component generator that
produces values in the range
[-128, 128]. |
| Modifier and Type | Method | Description |
|---|---|---|
default void |
VectorStorageIntegral3Type.setVector3I(Vector3I v) |
Set the components from the given vector.
|
Copyright © 2017 <code@io7m.com> http://io7m.com