: Index
A C D E G I M N P S T

A

add(Tuple) - Method in class cas.Tuple
Add the given tuple (entry by entry) to this tuple (this+t).
add(Tuple, Tuple) - Method in class cas.Tuple
Add the two tuples (entry by entry) and set the entries of this tuple to be the result (t1+t2).
AlgebraicVector - class cas.AlgebraicVector.
A class representing the abstract entity "n dimensional vector".
AlgebraicVector(AlgebraicVector) - Constructor for class cas.AlgebraicVector
Copy constructor, create a vector according to the given vector.
AlgebraicVector(double[]) - Constructor for class cas.AlgebraicVector
Create a vector according to the given double array.
AlgebraicVector(int) - Constructor for class cas.AlgebraicVector
Create a vector of the given size, with all entries initialized to zero.
AlgebraicVector(int, double) - Constructor for class cas.AlgebraicVector
Create a vector of the given size, with all entries initialized to the given value.
AlgebraicVector(Tuple) - Constructor for class cas.AlgebraicVector
Create a vector according to the given tuple.
AlgebraicVector3D - class cas.AlgebraicVector3D.
A class representing the entity "3 dimensional vector".
AlgebraicVector3D() - Constructor for class cas.AlgebraicVector3D
Create a 3D vector with all entries initialized to zero.
AlgebraicVector3D(AlgebraicVector3D) - Constructor for class cas.AlgebraicVector3D
Copy constructor, create a 3D vector according to the given 3D vector.
AlgebraicVector3D(double) - Constructor for class cas.AlgebraicVector3D
Create a 3D vector with all entries initialized to the given value.
AlgebraicVector3D(double[]) - Constructor for class cas.AlgebraicVector3D
Create a 3D vector according to the given double array.
AlgebraicVector3D(double, double, double) - Constructor for class cas.AlgebraicVector3D
Create a 3D vector with the given coordinates.
angle(AlgebraicVector) - Method in class cas.AlgebraicVector
Compute the angle between this vector and the given vector.

C

clamp(double, double) - Method in class cas.Tuple
Clamp the entries of this tuple to be in the interval [min,max].
clamp(double, double, Tuple) - Method in class cas.Tuple
Clamp the entries of the given tuple to be in the interval [min,max] and set this tuple to be the result.
cross(AlgebraicVector3D, AlgebraicVector3D) - Method in class cas.AlgebraicVector3D
Compute the cross product v1Xv2 and place the result in this 3D vector.

D

data - Variable in class cas.Tuple
The tuple data is stored in an array which is accesible from outside the class, for greater speed.
distanceL1(Point) - Method in class cas.Point
Compute the distance between the points using the L1 norm, ( sum(|this(i) - p(i)|) ).
distanceL2(Point) - Method in class cas.Point
Compute the distance between the points using the L2 norm, ( sqrt(sum((this(i) - p(i))^2)) ).
distanceL2Squared(Point) - Method in class cas.Point
Compute the distance between the points using the L2 norm without taking the square root, ( sum((this(i) - p(i))^2) ).
distanceLinf(Point) - Method in class cas.Point
Compute the distance between the points using the Linfinity norm, ( max(|this(i) - p(i)|) ).
div(Tuple) - Method in class cas.Tuple
Divide this tuple by the given tuple (entry by entry) (this/t).
div(Tuple, Tuple) - Method in class cas.Tuple
Divide the two tuples (entry by entry) and set the entries of this tuple to be the result (t1/t2).
dot(AlgebraicVector) - Method in class cas.AlgebraicVector
Computes the dot product between this vector and the given vector.

E

equals(Tuple, double) - Method in class cas.Tuple
Compare the given tuple with this tuple using the L infinity norm ( max(|this(i) - t(i)|) < epsilon ).

G

getDimension() - Method in class cas.Tuple
Get the dimensionality of this tuple.

I

interpolate(Tuple, double) - Method in class cas.Tuple
Set this tuple to be the linear interpolation between this tuple and the given tuple ( alpha*t + (1-alpha)*this ).
interpolate(Tuple, Tuple, double) - Method in class cas.Tuple
Set this tuple to be the linear interpolation between the two given tuples ( alpha*t2 + (1-alpha)*t1 ).

M

max() - Method in class cas.Tuple
Maximal entry in tuple.
min() - Method in class cas.Tuple
Minimal entry in tuple.
mul(Tuple) - Method in class cas.Tuple
Multiply the given tuple (entry by entry) with this tuple (this*t).
mul(Tuple, Tuple) - Method in class cas.Tuple
Multiply the two tuples (entry by entry) and set the entries of this tuple to be the result (t1*t2).

N

negate() - Method in class cas.Tuple
Negate all entries in this tuple.
negate(Tuple) - Method in class cas.Tuple
Set this tuple to the negative of the given tuple.
normalize() - Method in class cas.AlgebraicVector
Normalize this vector, make this vector a unit vector.
normalize(AlgebraicVector) - Method in class cas.AlgebraicVector
Normalize the given vector and place the result in this vector.
normL1() - Method in class cas.AlgebraicVector
Compute the L1 norm of this vector.
normL2() - Method in class cas.AlgebraicVector
Compute the L2 norm of this vector.
normL2Squared() - Method in class cas.AlgebraicVector
Compute the squared L2 norm of this vector.
normLinf() - Method in class cas.AlgebraicVector
Compute the Linfinity norm of this vector.

P

Point - class cas.Point.
A class representing the abstract entity "n dimensional point".
Point(double[]) - Constructor for class cas.Point
Create a point according to the given double array.
Point(int) - Constructor for class cas.Point
Create a point of the given size, with all entries initialized to zero.
Point(int, double) - Constructor for class cas.Point
Create a point of the given size, with all entries initialized to the given value.
Point(Point) - Constructor for class cas.Point
Copy constructor, create a point according to the given point.
Point(Tuple) - Constructor for class cas.Point
Create a point according to the given tuple.
Point3D - class cas.Point3D.
A class representing the entity "3 dimensional Point".
Point3D() - Constructor for class cas.Point3D
Create a point with all entries initialized to zero.
Point3D(double) - Constructor for class cas.Point3D
Create a point with all entries initialized to the given value.
Point3D(double[]) - Constructor for class cas.Point3D
Create a point according to the given double array.
Point3D(double, double, double) - Constructor for class cas.Point3D
Create a point according to the given coordinates.
Point3D(Point3D) - Constructor for class cas.Point3D
Copy constructor, create a point according to the given point.

S

scale(double) - Method in class cas.Tuple
Multiply all entries in the tuple by the given scalar.
scale(double, Tuple) - Method in class cas.Tuple
Multiply all entries in the given tuple by the given scalar and set this tuple to the result.
set(double) - Method in class cas.Tuple
Set all entries of this tuple to the given value.
set(double[]) - Method in class cas.Tuple
Set the data in this tuple to be the same as the given array.
set(double, double, double) - Method in class cas.Point3D
Set the point's coordinates to the given coordinates.
set(Tuple) - Method in class cas.Tuple
Set the data in this tuple to be the same as the given tuple.
sub(Tuple) - Method in class cas.Tuple
Subtract the given tuple (entry by entry) from this tuple (this-t).
sub(Tuple, Tuple) - Method in class cas.Tuple
Subtract the two tuples (entry by entry) and set the entries of this tuple to be the result (t1-t2).

T

toString() - Method in class cas.Tuple
The string representation of a tuple.
Tuple - class cas.Tuple.
A class representing the abstract mathematical entity "n dimenssional Tuple".
Tuple(double[]) - Constructor for class cas.Tuple
Create a tuple according to the given double array.
Tuple(int) - Constructor for class cas.Tuple
Create a tuple of the given size, with all entries initialized to zero.
Tuple(int, double) - Constructor for class cas.Tuple
Create a tuple of the given size, with all entries initialized to the given value.
Tuple(Tuple) - Constructor for class cas.Tuple
Copy constructor, create a tuple according to the given tuple.

A C D E G I M N P S T