| Package | Description |
|---|---|
| com.io7m.jtensors.bytebuffered.parameterized |
ByteBuffer backed parameterized tensors. |
| com.io7m.jtensors.parameterized |
Parameterized vector and matrix types.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
PVectorByteBuffered2FType<T>
The type of
PVector2FType values that are also byte buffered. |
interface |
PVectorByteBuffered3FType<T>
The type of
PVector3FType values that are also byte buffered. |
interface |
PVectorByteBuffered4FType<T>
The type of
PVector4FType values that are also byte buffered. |
| Modifier and Type | Class and Description |
|---|---|
class |
PVectorByteBufferedM2F<T>
A two-element vector type with
float elements, packed into a
ByteBuffer. |
class |
PVectorByteBufferedM3F<T>
A four-element vector type with
float elements, packed into a
ByteBuffer. |
class |
PVectorByteBufferedM4F<T>
A four-element vector type with
float elements, packed into a
ByteBuffer. |
| Modifier and Type | Method and Description |
|---|---|
void |
PVectorByteBufferedM4F.copyFromTyped2F(PVectorReadable2FType<T> in_v) |
void |
PVectorByteBufferedM3F.copyFromTyped2F(PVectorReadable2FType<T> in_v) |
void |
PVectorByteBufferedM2F.copyFromTyped2F(PVectorReadable2FType<T> in_v) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
PVector2FType<T>
The type of two-element vectors that are both readable and writable, and
have
float elements |
interface |
PVector3FType<T>
The type of three-element vectors that are both readable and writable, and
have
float elements |
interface |
PVector4FType<T>
The type of four-element vectors that are both readable and writable, and
have
float elements |
interface |
PVectorReadable3FType<T>
'Read' interface to phantom-typed three-dimensional vectors with single
precision elements.
|
interface |
PVectorReadable4FType<T>
'Read' interface to phantom-typed four-dimensional vectors with single
precision elements.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PVectorI2F<T>
A two-dimensional immutable vector type with
float elements. |
class |
PVectorI3F<T>
A three-dimensional immutable vector type with
float elements. |
class |
PVectorI4F<T>
A four-dimensional immutable vector type with
float elements. |
class |
PVectorM2F<T>
A two-dimensional mutable vector type with
float elements. |
class |
PVectorM3F<T>
A three-dimensional mutable vector type with
float elements. |
class |
PVectorM4F<T>
A four-dimensional mutable vector type with
float elements. |
| Modifier and Type | Method and Description |
|---|---|
static <T,V extends PVectorWritable2FType<T> & PVectorReadable2FType<T>> |
PVectorM2F.absoluteInPlace(V v)
Calculate the absolute values of the elements in vector
v,
modifying the vector in-place. |
static <T,V extends PVectorWritable2FType<T> & PVectorReadable2FType<T>> |
PVectorM2F.addInPlace(V v0,
PVectorReadable2FType<T> v1)
Calculate the element-wise sum of the vectors
v0 and v1,
saving the result to v0. |
static <T,V extends PVectorWritable2FType<T> & PVectorReadable2FType<T>> |
PVectorM2F.addScaledInPlace(V v0,
PVectorReadable2FType<T> v1,
double r)
Calculate the element-wise sum of the vectors
v0 and the
element-wise product of v1 and r, saving the result to
v0. |
static <T,V extends PVectorWritable2FType<T> & PVectorReadable2FType<T>> |
PVectorM2F.clampByPVectorInPlace(V v,
PVectorReadable2FType<T> minimum,
PVectorReadable2FType<T> maximum)
Clamp the elements of the vector
v to the inclusive range given by
the corresponding elements in minimum and maximum, saving
the result to v. |
static <T,V extends PVectorWritable2FType<T> & PVectorReadable2FType<T>> |
PVectorM2F.clampInPlace(V v,
float minimum,
float maximum)
Clamp the elements of the vector
v to the range {@code [minimum .. |
static <T,V extends PVectorWritable2FType<T> & PVectorReadable2FType<T>> |
PVectorM2F.clampMaximumByPVectorInPlace(V v,
PVectorReadable2FType<T> maximum)
Clamp the elements of the vector
v to the inclusive range given by
the corresponding elements in maximum, saving the result to v. |
static <T,V extends PVectorWritable2FType<T> & PVectorReadable2FType<T>> |
PVectorM2F.clampMaximumInPlace(V v,
float maximum)
Clamp the elements of the vector
v to the range {@code [-Infinity
.. |
static <T,V extends PVectorWritable2FType<T> & PVectorReadable2FType<T>> |
PVectorM2F.clampMinimumByPVectorInPlace(V v,
PVectorReadable2FType<T> minimum)
Clamp the elements of the vector
v to the inclusive range given by
the corresponding elements in minimum, saving the result to v. |
static <T,V extends PVectorWritable2FType<T> & PVectorReadable2FType<T>> |
PVectorM2F.clampMinimumInPlace(V v,
float minimum)
Clamp the elements of the vector
v to the range {@code [minimum .. |
static <T,V extends PVectorWritable2FType<T> & PVectorReadable2FType<T>> |
PVectorM2F.normalizeInPlace(V v)
Returns a vector with the same orientation as
v but with magnitude
equal to 1.0 in v. |
static <T,V extends PVectorWritable2FType<T> & PVectorReadable2FType<T>> |
PVectorM2F.orthoNormalizeInPlace(PVectorM2F.ContextPVM2F c,
V v0,
V v1)
Orthonormalize and the vectors
v0 and v1. |
static <T,V extends PVectorWritable2FType<T> & PVectorReadable2FType<T>> |
PVectorM2F.scaleInPlace(V v,
double r)
Scale the vector
v by the scalar r, saving the result to
v. |
static <T,V extends PVectorWritable2FType<T> & PVectorReadable2FType<T>> |
PVectorM2F.subtractInPlace(V v0,
PVectorReadable2FType<T> v1)
Subtract the vector
v1 from the vector v0, saving the
result to v0. |
| Modifier and Type | Method and Description |
|---|---|
static <T> PVectorI2F<T> |
PVectorI2F.absolute(PVectorReadable2FType<T> v)
Calculate the absolute value of the vector
v. |
static <T,V extends PVectorWritable2FType<T>> |
PVectorM2F.absolute(PVectorReadable2FType<T> v,
V out)
Calculate the absolute values of the elements in vector
v, saving
the result to out. |
static <T> PVectorI2F<T> |
PVectorI2F.add(PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1)
Calculate the element-wise sum of the vectors
v0 and v1. |
static <T> PVectorI2F<T> |
PVectorI2F.add(PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1)
Calculate the element-wise sum of the vectors
v0 and v1. |
static <T,V extends PVectorWritable2FType<T>> |
PVectorM2F.add(PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1,
V out)
Calculate the element-wise sum of the vectors
v0 and v1,
saving the result to out. |
static <T,V extends PVectorWritable2FType<T>> |
PVectorM2F.add(PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1,
V out)
Calculate the element-wise sum of the vectors
v0 and v1,
saving the result to out. |
static <T,V extends PVectorWritable2FType<T> & PVectorReadable2FType<T>> |
PVectorM2F.addInPlace(V v0,
PVectorReadable2FType<T> v1)
Calculate the element-wise sum of the vectors
v0 and v1,
saving the result to v0. |
static <T> PVectorI2F<T> |
PVectorI2F.addScaled(PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1,
double r)
Calculate the element-wise sum of the vectors
v0 and the
element-wise product of v1 and r. |
static <T> PVectorI2F<T> |
PVectorI2F.addScaled(PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1,
double r)
Calculate the element-wise sum of the vectors
v0 and the
element-wise product of v1 and r. |
static <T,V extends PVectorWritable2FType<T>> |
PVectorM2F.addScaled(PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1,
double r,
V out)
Calculate the element-wise sum of the vectors
v0 and the
element-wise product of v1 and r, saving the result to
out. |
static <T,V extends PVectorWritable2FType<T>> |
PVectorM2F.addScaled(PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1,
double r,
V out)
Calculate the element-wise sum of the vectors
v0 and the
element-wise product of v1 and r, saving the result to
out. |
static <T,V extends PVectorWritable2FType<T> & PVectorReadable2FType<T>> |
PVectorM2F.addScaledInPlace(V v0,
PVectorReadable2FType<T> v1,
double r)
Calculate the element-wise sum of the vectors
v0 and the
element-wise product of v1 and r, saving the result to
v0. |
static <T> boolean |
PVectorM2F.almostEqual(com.io7m.jequality.AlmostEqualFloat.ContextRelative context,
PVectorReadable2FType<T> qa,
PVectorReadable2FType<T> qb)
Determine whether or not the vectors
qa and qb are equal to
within the degree of error given in context. |
static <T> boolean |
PVectorM2F.almostEqual(com.io7m.jequality.AlmostEqualFloat.ContextRelative context,
PVectorReadable2FType<T> qa,
PVectorReadable2FType<T> qb)
Determine whether or not the vectors
qa and qb are equal to
within the degree of error given in context. |
static <T> boolean |
PVectorI2F.almostEqual(com.io7m.jequality.AlmostEqualFloat.ContextRelative context,
PVectorReadable2FType<T> qa,
PVectorReadable2FType<T> qb)
Determine whether or not the vectors
qa and qb are equal to
within the degree of error given in context. |
static <T> boolean |
PVectorI2F.almostEqual(com.io7m.jequality.AlmostEqualFloat.ContextRelative context,
PVectorReadable2FType<T> qa,
PVectorReadable2FType<T> qb)
Determine whether or not the vectors
qa and qb are equal to
within the degree of error given in context. |
static <T> double |
PVectorM2F.angle(PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1)
Calculate the angle between vectors
v0 and v1, in radians. |
static <T> double |
PVectorM2F.angle(PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1)
Calculate the angle between vectors
v0 and v1, in radians. |
static <T> double |
PVectorI2F.angle(PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1)
Calculate the angle between the vectors
v0 and v1 in
radians. |
static <T> double |
PVectorI2F.angle(PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1)
Calculate the angle between the vectors
v0 and v1 in
radians. |
static <T> PVectorI2F<T> |
PVectorI2F.clamp(PVectorReadable2FType<T> v,
float minimum,
float maximum)
Clamp the elements of the vector
v to the range {@code [minimum .. |
static <T,V extends PVectorWritable2FType<T>> |
PVectorM2F.clamp(PVectorReadable2FType<T> v,
float minimum,
float maximum,
V out)
Clamp the elements of the vector
v to the range {@code [minimum .. |
static <T> PVectorI2F<T> |
PVectorI2F.clampByPVector(PVectorReadable2FType<T> v,
PVectorReadable2FType<T> minimum,
PVectorReadable2FType<T> maximum)
Clamp the elements of the vector
v to the inclusive range given by
the corresponding elements in minimum and maximum. |
static <T> PVectorI2F<T> |
PVectorI2F.clampByPVector(PVectorReadable2FType<T> v,
PVectorReadable2FType<T> minimum,
PVectorReadable2FType<T> maximum)
Clamp the elements of the vector
v to the inclusive range given by
the corresponding elements in minimum and maximum. |
static <T> PVectorI2F<T> |
PVectorI2F.clampByPVector(PVectorReadable2FType<T> v,
PVectorReadable2FType<T> minimum,
PVectorReadable2FType<T> maximum)
Clamp the elements of the vector
v to the inclusive range given by
the corresponding elements in minimum and maximum. |
static <T,V extends PVectorWritable2FType<T>> |
PVectorM2F.clampByPVector(PVectorReadable2FType<T> v,
PVectorReadable2FType<T> minimum,
PVectorReadable2FType<T> maximum,
V out)
Clamp the elements of the vector
v to the inclusive range given by
the corresponding elements in minimum and maximum, saving
the result to out. |
static <T,V extends PVectorWritable2FType<T>> |
PVectorM2F.clampByPVector(PVectorReadable2FType<T> v,
PVectorReadable2FType<T> minimum,
PVectorReadable2FType<T> maximum,
V out)
Clamp the elements of the vector
v to the inclusive range given by
the corresponding elements in minimum and maximum, saving
the result to out. |
static <T,V extends PVectorWritable2FType<T>> |
PVectorM2F.clampByPVector(PVectorReadable2FType<T> v,
PVectorReadable2FType<T> minimum,
PVectorReadable2FType<T> maximum,
V out)
Clamp the elements of the vector
v to the inclusive range given by
the corresponding elements in minimum and maximum, saving
the result to out. |
static <T,V extends PVectorWritable2FType<T> & PVectorReadable2FType<T>> |
PVectorM2F.clampByPVectorInPlace(V v,
PVectorReadable2FType<T> minimum,
PVectorReadable2FType<T> maximum)
Clamp the elements of the vector
v to the inclusive range given by
the corresponding elements in minimum and maximum, saving
the result to v. |
static <T,V extends PVectorWritable2FType<T> & PVectorReadable2FType<T>> |
PVectorM2F.clampByPVectorInPlace(V v,
PVectorReadable2FType<T> minimum,
PVectorReadable2FType<T> maximum)
Clamp the elements of the vector
v to the inclusive range given by
the corresponding elements in minimum and maximum, saving
the result to v. |
static <T> PVectorI2F<T> |
PVectorI2F.clampMaximum(PVectorReadable2FType<T> v,
float maximum)
Clamp the elements of the vector
v to the range {@code [-Infinity
.. |
static <T,V extends PVectorWritable2FType<T>> |
PVectorM2F.clampMaximum(PVectorReadable2FType<T> v,
float maximum,
V out)
Clamp the elements of the vector
v to the range {@code [-Infinity
.. |
static <T> PVectorI2F<T> |
PVectorI2F.clampMaximumByPVector(PVectorReadable2FType<T> v,
PVectorReadable2FType<T> maximum)
Clamp the elements of the vector
v to the inclusive range given by
the corresponding elements in maximum. |
static <T> PVectorI2F<T> |
PVectorI2F.clampMaximumByPVector(PVectorReadable2FType<T> v,
PVectorReadable2FType<T> maximum)
Clamp the elements of the vector
v to the inclusive range given by
the corresponding elements in maximum. |
static <T,V extends PVectorWritable2FType<T>> |
PVectorM2F.clampMaximumByPVector(PVectorReadable2FType<T> v,
PVectorReadable2FType<T> maximum,
V out)
Clamp the elements of the vector
v to the inclusive range given by
the corresponding elements in maximum, saving the result to out. |
static <T,V extends PVectorWritable2FType<T>> |
PVectorM2F.clampMaximumByPVector(PVectorReadable2FType<T> v,
PVectorReadable2FType<T> maximum,
V out)
Clamp the elements of the vector
v to the inclusive range given by
the corresponding elements in maximum, saving the result to out. |
static <T,V extends PVectorWritable2FType<T> & PVectorReadable2FType<T>> |
PVectorM2F.clampMaximumByPVectorInPlace(V v,
PVectorReadable2FType<T> maximum)
Clamp the elements of the vector
v to the inclusive range given by
the corresponding elements in maximum, saving the result to v. |
static <T> PVectorI2F<T> |
PVectorI2F.clampMinimum(PVectorReadable2FType<T> v,
float minimum)
Clamp the elements of the vector
v to the range {@code [minimum .. |
static <T,V extends PVectorWritable2FType<T>> |
PVectorM2F.clampMinimum(PVectorReadable2FType<T> v,
float minimum,
V out)
Clamp the elements of the vector
v to the range {@code [minimum .. |
static <T> PVectorI2F<T> |
PVectorI2F.clampMinimumByPVector(PVectorReadable2FType<T> v,
PVectorReadable2FType<T> minimum)
Clamp the elements of the vector
v to the inclusive range given by
the corresponding elements in minimum. |
static <T> PVectorI2F<T> |
PVectorI2F.clampMinimumByPVector(PVectorReadable2FType<T> v,
PVectorReadable2FType<T> minimum)
Clamp the elements of the vector
v to the inclusive range given by
the corresponding elements in minimum. |
static <T,V extends PVectorWritable2FType<T>> |
PVectorM2F.clampMinimumByPVector(PVectorReadable2FType<T> v,
PVectorReadable2FType<T> minimum,
V out)
Clamp the elements of the vector
v to the inclusive range given by
the corresponding elements in minimum, saving the result to out. |
static <T,V extends PVectorWritable2FType<T>> |
PVectorM2F.clampMinimumByPVector(PVectorReadable2FType<T> v,
PVectorReadable2FType<T> minimum,
V out)
Clamp the elements of the vector
v to the inclusive range given by
the corresponding elements in minimum, saving the result to out. |
static <T,V extends PVectorWritable2FType<T> & PVectorReadable2FType<T>> |
PVectorM2F.clampMinimumByPVectorInPlace(V v,
PVectorReadable2FType<T> minimum)
Clamp the elements of the vector
v to the inclusive range given by
the corresponding elements in minimum, saving the result to v. |
static <T,V extends PVectorWritable2FType<T>> |
PVectorM2F.copy(PVectorReadable2FType<T> input,
V output)
Copy all elements of the vector
input to the vector output. |
void |
PVectorWritable2FType.copyFromTyped2F(PVectorReadable2FType<T> in_v)
Set the current vector to the contents of the input vector.
|
void |
PVectorM4F.copyFromTyped2F(PVectorReadable2FType<T> in_v) |
void |
PVectorM3F.copyFromTyped2F(PVectorReadable2FType<T> in_v) |
void |
PVectorM2F.copyFromTyped2F(PVectorReadable2FType<T> in_v) |
static <T> double |
PVectorM2F.distance(PVectorM2F.ContextPVM2F c,
PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1)
Calculate the distance between the two vectors
v0 and v1. |
static <T> double |
PVectorM2F.distance(PVectorM2F.ContextPVM2F c,
PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1)
Calculate the distance between the two vectors
v0 and v1. |
static <T> double |
PVectorI2F.distance(PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1)
Calculate the distance between the two vectors
v0 and v1. |
static <T> double |
PVectorI2F.distance(PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1)
Calculate the distance between the two vectors
v0 and v1. |
static <T> float |
PVectorM2F.dotProduct(PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1)
Calculate the scalar product of the vectors
v0 and v1. |
static <T> float |
PVectorM2F.dotProduct(PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1)
Calculate the scalar product of the vectors
v0 and v1. |
static <T> double |
PVectorI2F.dotProduct(PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1)
Calculate the scalar product of the vectors
v0 and v1. |
static <T> double |
PVectorI2F.dotProduct(PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1)
Calculate the scalar product of the vectors
v0 and v1. |
static <T,V extends PVectorWritable2FType<T>> |
PVectorM2F.interpolateLinear(PVectorM2F.ContextPVM2F c,
PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1,
double alpha,
V r)
Linearly interpolate between
v0 and v1 by the amount alpha, saving the result to r. |
static <T,V extends PVectorWritable2FType<T>> |
PVectorM2F.interpolateLinear(PVectorM2F.ContextPVM2F c,
PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1,
double alpha,
V r)
Linearly interpolate between
v0 and v1 by the amount alpha, saving the result to r. |
static <T> PVectorI2F<T> |
PVectorI2F.interpolateLinear(PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1,
float alpha)
Linearly interpolate between
v0 and v1 by the amount alpha. |
static <T> PVectorI2F<T> |
PVectorI2F.interpolateLinear(PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1,
float alpha)
Linearly interpolate between
v0 and v1 by the amount alpha. |
static <T> double |
PVectorM2F.magnitude(PVectorReadable2FType<T> v)
Calculate the magnitude of the vector
v. |
static <T> double |
PVectorI2F.magnitude(PVectorReadable2FType<T> v)
Calculate the magnitude of the vector
v. |
static <T> double |
PVectorM2F.magnitudeSquared(PVectorReadable2FType<T> v)
Calculate the squared magnitude of the vector
v. |
static <T> double |
PVectorI2F.magnitudeSquared(PVectorReadable2FType<T> v)
Calculate the squared magnitude of the vector
v. |
static <T> PVectorI2F<T> |
PVectorI2F.normalize(PVectorReadable2FType<T> v)
Normalize the vector
v, preserving its direction but reducing it to
unit length. |
static <T,V extends PVectorWritable2FType<T>> |
PVectorM2F.normalize(PVectorReadable2FType<T> v,
V out)
Returns a vector with the same orientation as
v but with magnitude
equal to 1.0 in out. |
static <T,V extends PVectorWritable2FType<T>> |
PVectorM2F.orthoNormalize(PVectorM2F.ContextPVM2F c,
PVectorReadable2FType<T> v0,
V v0_out,
PVectorReadable2FType<T> v1,
V v1_out)
Orthonormalize and return the vectors
v0 and v1 . |
static <T,V extends PVectorWritable2FType<T>> |
PVectorM2F.orthoNormalize(PVectorM2F.ContextPVM2F c,
PVectorReadable2FType<T> v0,
V v0_out,
PVectorReadable2FType<T> v1,
V v1_out)
Orthonormalize and return the vectors
v0 and v1 . |
static <T> com.io7m.jfunctional.Pair<PVectorI2F<T>,PVectorI2F<T>> |
PVectorI2F.orthoNormalize(PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1)
Orthonormalize and return the vectors
v0 and v1 . |
static <T> com.io7m.jfunctional.Pair<PVectorI2F<T>,PVectorI2F<T>> |
PVectorI2F.orthoNormalize(PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1)
Orthonormalize and return the vectors
v0 and v1 . |
static <T> PVectorI2F<T> |
PVectorI2F.projection(PVectorReadable2FType<T> p,
PVectorReadable2FType<T> q)
Calculate the projection of the vector
p onto the vector q. |
static <T> PVectorI2F<T> |
PVectorI2F.projection(PVectorReadable2FType<T> p,
PVectorReadable2FType<T> q)
Calculate the projection of the vector
p onto the vector q. |
static <T,V extends PVectorWritable2FType<T>> |
PVectorM2F.projection(PVectorReadable2FType<T> p,
PVectorReadable2FType<T> q,
V r)
Calculate the projection of the vector
p onto the vector q,
saving the result in r. |
static <T,V extends PVectorWritable2FType<T>> |
PVectorM2F.projection(PVectorReadable2FType<T> p,
PVectorReadable2FType<T> q,
V r)
Calculate the projection of the vector
p onto the vector q,
saving the result in r. |
static <T> PVectorI2F<T> |
PVectorI2F.scale(PVectorReadable2FType<T> v,
double r)
Scale the vector
v by the scalar r. |
static <T,V extends PVectorWritable2FType<T>> |
PVectorM2F.scale(PVectorReadable2FType<T> v,
double r,
V out)
Scale the vector
v by the scalar r, saving the result to
out. |
static <T> PVectorI2F<T> |
PVectorI2F.subtract(PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1)
Subtract the vector
v1 from the vector v0. |
static <T> PVectorI2F<T> |
PVectorI2F.subtract(PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1)
Subtract the vector
v1 from the vector v0. |
static <T,V extends PVectorWritable2FType<T>> |
PVectorM2F.subtract(PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1,
V out)
Subtract the vector
v1 from the vector v0, saving the
result to out. |
static <T,V extends PVectorWritable2FType<T>> |
PVectorM2F.subtract(PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1,
V out)
Subtract the vector
v1 from the vector v0, saving the
result to out. |
static <T,V extends PVectorWritable2FType<T> & PVectorReadable2FType<T>> |
PVectorM2F.subtractInPlace(V v0,
PVectorReadable2FType<T> v1)
Subtract the vector
v1 from the vector v0, saving the
result to v0. |
| Constructor and Description |
|---|
PVectorI2F(PVectorReadable2FType<T> in_v)
Construct a vector initialized with the values given in the vector
v. |
PVectorM2F(PVectorReadable2FType<T> in_v)
Construct a vector initialized with the values given in the vector
in_v. |
Copyright © 2015 <code@io7m.com> http://io7m.com