| 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> Vector3L |
PVectors3L.toUnparameterized(PVector3L<A> v) |
| Modifier and Type | Method | Description |
|---|---|---|
static <A> PVector3L<A> |
PVectors3L.toParameterized(Vector3L v) |
| Modifier and Type | Method | Description |
|---|---|---|
static Vector3L |
Vectors3L.absolute(Vector3L v0) |
Calculate the absolute of
v0. |
static Vector3L |
Vectors3L.add(Vector3L v0,
Vector3L v1) |
Add
v0 to v1. |
static Vector3L |
Vectors3L.addScaled(Vector3L v0,
Vector3L v1,
double r) |
Add
v0 to v1 * r. |
Vector3L |
Vector3L.Builder.build() |
Builds a new
Vector3L. |
static Vector3L |
Vectors3L.clamp(Vector3L v,
Vector3L v_min,
Vector3L v_max) |
Clamp the values in
v by v_min and v_max. |
static Vector3L |
Vectors3L.crossProduct(Vector3L v0,
Vector3L v1) |
Calculate the cross product of the vectors
v0 and v1. |
static Vector3L |
Vectors3L.interpolateBilinear(Vector3L x0y0,
Vector3L x1y0,
Vector3L x0y1,
Vector3L x1y1,
double px,
double py) |
Bilinearly interpolate between
x0y0, x1y0, x0y1, x1y1. |
static Vector3L |
Vectors3L.interpolateLinear(Vector3L v0,
Vector3L v1,
double alpha) |
Linearly interpolate between
v0 and v1 by the amount alpha. |
static Vector3L |
Vectors3L.negate(Vector3L v) |
Calculate the negation of
v. |
static Vector3L |
Vector3L.of(long x,
long y,
long z) |
Construct a new immutable
Vector3L instance. |
static Vector3L |
Vectors3L.scale(Vector3L v0,
double r) |
Scale
v0 by r. |
static Vector3L |
Vectors3L.subtract(Vector3L v0,
Vector3L v1) |
Subtract
v1 from v0. |
static Vector3L |
Vectors3L.zero() |
The zero vector.
|
| Modifier and Type | Method | Description |
|---|---|---|
static Vector3L |
Vectors3L.absolute(Vector3L v0) |
Calculate the absolute of
v0. |
static Vector3L |
Vectors3L.add(Vector3L v0,
Vector3L v1) |
Add
v0 to v1. |
static Vector3L |
Vectors3L.addScaled(Vector3L v0,
Vector3L v1,
double r) |
Add
v0 to v1 * r. |
static Vector3L |
Vectors3L.clamp(Vector3L v,
Vector3L v_min,
Vector3L v_max) |
Clamp the values in
v by v_min and v_max. |
static Vector3L |
Vectors3L.crossProduct(Vector3L v0,
Vector3L v1) |
Calculate the cross product of the vectors
v0 and v1. |
static long |
Vectors3L.distance(Vector3L v0,
Vector3L v1) |
Calculate the distance between
v0 and v1. |
static long |
Vectors3L.dotProduct(Vector3L v0,
Vector3L v1) |
Calculate the scalar product of the vectors
v0 and v1. |
static Vector3L |
Vectors3L.interpolateBilinear(Vector3L x0y0,
Vector3L x1y0,
Vector3L x0y1,
Vector3L x1y1,
double px,
double py) |
Bilinearly interpolate between
x0y0, x1y0, x0y1, x1y1. |
static Vector3L |
Vectors3L.interpolateLinear(Vector3L v0,
Vector3L v1,
double alpha) |
Linearly interpolate between
v0 and v1 by the amount alpha. |
static double |
Vectors3L.magnitude(Vector3L v0) |
Calculate the magnitude of the vector
v0. |
static long |
Vectors3L.magnitudeSquared(Vector3L v0) |
Calculate the squared magnitude of the vector
v0. |
static Vector3L |
Vectors3L.negate(Vector3L v) |
Calculate the negation of
v. |
static Vector3L |
Vectors3L.scale(Vector3L v0,
double r) |
Scale
v0 by r. |
static Vector3L |
Vectors3L.subtract(Vector3L v0,
Vector3L v1) |
Subtract
v1 from v0. |
| Modifier and Type | Method | Description |
|---|---|---|
Vector3L |
Vector3LGenerator.next() |
| Modifier and Type | Method | Description |
|---|---|---|
static net.java.quickcheck.Generator<Vector3L> |
Vector3LGenerator.create() |
Create a generator initialized with a default component generator.
|
static net.java.quickcheck.Generator<Vector3L> |
Vector3LGenerator.create16() |
Create a generator initialized with a default component generator that
produces values in the range
[-32768, 32767]. |
static net.java.quickcheck.Generator<Vector3L> |
Vector3LGenerator.create32() |
Create a generator initialized with a default component generator that
produces values in the range
[-2147483648, 2147483647]. |
static net.java.quickcheck.Generator<Vector3L> |
Vector3LGenerator.create64() |
Create a generator initialized with a default component generator that
produces values in the range
[-9223372036854775808,
9223372036854775807]. |
static net.java.quickcheck.Generator<Vector3L> |
Vector3LGenerator.create8() |
Create a generator initialized with a default component generator that
produces values in the range
[-128, 127]. |
static net.java.quickcheck.Generator<Vector3L> |
Vector3LGenerator.createSmall() |
Create a generator initialized with a default component generator that
produces values in the range
[-65536, 65536]. |
| Modifier and Type | Method | Description |
|---|---|---|
default void |
VectorStorageIntegral3Type.setVector3L(Vector3L v) |
Set the components from the given vector.
|
Copyright © 2017 <code@io7m.com> http://io7m.com