A B C D F G I L M N O P R S T U V

## A

abs() - Method in class Fraction
  Absolute value of the fraction.
add(Fraction) - Method in class Fraction
  Adds another fraction to this fraction.
add(Vector) - Method in class Vector
  Adds another vector to this vector.
addColumn(int, int, Fraction) - Method in class Matrix
  Adds a multiple of one column of this matrix to another column.
addRow(int, int, Fraction) - Method in class Matrix
  Adds a multiple of one row of this matrix to another row.
angle(Subspace) - Method in class Subspace
  Calculates the angle of any two subspaces using the most efficient method.
angleDirectionVectors(Vector) - Method in class Vector
  Calculates the angle of two direction vectors of lines (ie. the resulting angle will be from 0 to π/2).
angleHyperplaneHyperplane(Subspace) - Method in class Subspace
  Calculates the angle of two hyperplanes.
angleLineAny(Subspace) - Method in class Subspace
  Calculates the angle of a line and any other subspace.
angleLineHyperplane(Subspace) - Method in class Subspace
  Calculates the angle of a line and a hyperplane.
angleLineLine(Subspace) - Method in class Subspace
  Calculates the angle of two lines, ie. one-dimensional subspaces.
angleUniversal(Subspace) - Method in class Subspace
  Calculates the angle of two subspaces.

## B

beautifyGeneral() - Method in class Subspace
beautifyParametric() - Method in class Subspace

## C

checkGeneralForm() - Method in class Subspace
  Checks if general form is already available; if it's not, it gets it.
checkGeneralForm(boolean, char) - Method in class Subspace
  Checks if general form is already available; if it's not, it gets it.
checkParametricForm() - Method in class Subspace
  Checks if parametric form is already available; if it's not, it gets it.
checkParametricForm(boolean, char) - Method in class Subspace
  Checks if parametric form is already available; if it's not, it gets it.
compare(Fraction) - Method in class Fraction
  Compares this fraction to another fraction.
compare(long) - Method in class Fraction
  Compares this fraction with an integer.
convertToFraction() - Method in class SquareRootFraction
  Converts this `SquareRootFraction` to a `Fraction` if it indeed is a rational number.
convertToSRF() - Method in class Fraction
  Converts this fraction to a `SquareRootFraction`.
copy(Matrix) - Method in class Matrix
  Copies another matrix onto this matrix.
copy(Point) - Method in class Point
  Copies another point onto this point.
copy(SquareRootMatrix) - Method in class SquareRootMatrix
  Copies another matrix onto this matrix.
copy(Subspace) - Method in class Subspace
  Copies the subspace.
copy(Vector) - Method in class Vector
  Copies another vector onto this vector.
Cyclometric - Class in <Unnamed>
  This class is used to store results of angles of subspaces.
Cyclometric(SquareRootFraction, boolean) - Constructor for class Cyclometric
  Constructs all information about the cyclometric function, given its principal value and type of the cyclometric function.
Cyclometric(double, boolean) - Constructor for class Cyclometric
  Constructs all information about the cyclometric function, given its principal value as a double (in cases when we could not find a rational solution) and type of the cyclometric function.

## D

d - Variable in class Fraction
  the denominator
d - Variable in class PiFraction
  denominator
d - Variable in class SquareRootFraction
  denominator
describe(char) - Method in class Subspace
  Properly describes the subspace.
det(String, boolean) - Method in class Matrix
  Computes the determinant of this matrix.
detGram(char, boolean) - Method in class Matrix
  Computes Gram determinant of this matrix.
distance(Subspace) - Method in class Subspace
distance(Subspace, char, char, boolean) - Method in class Subspace
  Calculates the distance of any two subspaces using the most efficient method.
distanceFromParallelSubspace(Subspace, char, char, boolean) - Method in class Subspace
  Calculates the distance of the subspace from a parallel subspace.
distancePointAny(Subspace, char, char, boolean) - Method in class Subspace
  Calculates the distance of a point from any subspace.
distancePointHyperplane(Subspace, char, char, boolean) - Method in class Subspace
  Calculates the distance of a point from a hyperplane.
distancePointPoint(Subspace, char, char, boolean) - Method in class Subspace
  Calculates the distance of two points.
distanceUniversalUsingGram(Subspace, char, char, boolean) - Method in class Subspace
  Calculates the distance of any two subspaces using Gram determinant.
divide(Fraction) - Method in class Fraction
  Divides this fraction by another fraction.
divide(SquareRootFraction) - Method in class SquareRootFraction
  Divides this `SquareRootFraction` by another `SquareRootFraction`.

## F

Fraction - Class in <Unnamed>
  This class introduces fractions and enables basic operations with them.
Fraction() - Constructor for class Fraction
  Constructs a fraction 0/1, ie. zero.
Fraction(long, long) - Constructor for class Fraction
  Constructs a fraction from its numerator and denominator.
Fraction(long) - Constructor for class Fraction
  Constructs a fraction from an integer.
Fraction(double) - Constructor for class Fraction
  Constructs an estimate fraction from a real number.

## G

gcd(long, long) - Static method in class Utility
  Calculates the greatest common divisor of two given integers using Euclid's algorithm.
generateMenu() - Method in class GUIsub2
generatePermutation(int) - Static method in class Utility
  Generates a permutation of integers 1 to `n`.
generateRandomHyperplane(int) - Static method in class Subspace
  Generates a random hyperplane in general form.
generateRandomHyperplaneWithIntegerNorm(int) - Static method in class Subspace
  Generates a random hyperplane in general form.
generateRandomParallelVectors(int) - Static method in class Vector
  Generates two random parallel vectors of given dimension.
generateRandomPerpendicularVectors(int) - Static method in class Vector
  Generates two random perpendicular vectors of given dimension.
generateRandomPoint(int) - Static method in class Point
  Generates a random point.
generateRandomSubspace(int, int) - Static method in class Subspace
  Generates a random subspace in general form.
generateRandomSubspacesWithGivenAngle(int, int, int, PiFraction) - Static method in class Subspace
  Generates two random subspaces in parametric form.
generateRandomSubspacesWithGivenDistance(int, int, int, Fraction) - Static method in class Subspace
  Generates two random subspaces in general form.
generateRandomVectorsWithAngle30(int) - Static method in class Vector
  Generates two random vectors of given dimension whose angle is π/6.
generateRandomVectorsWithAngle45(int) - Static method in class Vector
  Generates two random vectors of given dimension whose angle is π/4.
generateRandomVectorsWithAngle60(int) - Static method in class Vector
  Generates two random vectors of given dimension whose angle is π/3.
generateRandomVectorsWithGivenAngle(PiFraction, int) - Static method in class Vector
  Generates two random vectors, while the angle of the vectors will be one of 0, π/6, π/4, π/3, or π/2.
get(int, int) - Method in class Matrix
  The getter of this class - returns the value of a given element ar,c.
get(int) - Method in class Point
  The getter of this class - returns the value of a given coordinate.
get(int, int) - Method in class SquareRootMatrix
  The getter of this class - returns the value of a given element ar,c.
get(int) - Method in class Vector
  The getter of this class - returns the value of a given coordinate.
getAugMatrix() - Method in class Subspace
getC() - Method in class Matrix
  Number of columns of this Matrix.
getC() - Method in class SquareRootMatrix
  Number of columns of this Matrix.
getConstTerms() - Method in class Matrix
  Crops the matrix of constant terms of equation system, ie.
getDim() - Method in class Point
  Gets the dimensions of the point.
getDIM() - Method in class Subspace
getDim() - Method in class Subspace
getDim(boolean) - Method in class Subspace
getDim(boolean, char) - Method in class Subspace
getDim() - Method in class Vector
  Gets the dimensions of the vector.
getEchelonForm() - Method in class Matrix
  Converts this matrix into its echelon form.
getEchelonForm(boolean) - Method in class Matrix
  Converts this matrix into its echelon form.
getEchelonForm(int) - Method in class Matrix
  Converts this matrix into a semi-echelon form.
getEchelonForm(char, int, boolean) - Method in class Matrix
  Converts this matrix into a semi-echelon form.
getGeneralSubspace(String) - Method in class InputReader
getMatrixSubspace(String) - Method in class InputReader
getOriginalForm() - Method in class Subspace
getParametricSubspace(String) - Method in class InputReader
getR() - Method in class Matrix
  Number of rows of this Matrix.
getR() - Method in class SquareRootMatrix
  Number of rows of this Matrix.
getSubspace(String) - Method in class InputReader
getSystemCoeffMatrix() - Method in class Matrix
  Crops the matrix of equation system coefficients, ie.
getVecMatrix() - Method in class Subspace
getVecPointSubspace(String) - Method in class InputReader
gramianMatrixForOutput(Matrix) - Method in class Matrix
  Computes the Gramian matrix.
gramianMatrixProduct(Matrix) - Method in class Matrix
  Computes product of Gramian matrix with its transposed self, ie.
GUIsub2 - Class in <Unnamed>
GUIsub2() - Constructor for class GUIsub2

## I

InputReader - Class in <Unnamed>
  Write a description of class InputReader here.
InputReader() - Constructor for class InputReader
  Constructor for objects of class InputReader
intersectionDiffSpace(Subspace) - Method in class Subspace
  Finds intersection of difference spaces of two subspaces.
intersects(Subspace) - Method in class Subspace
intersects(Subspace, char, char, boolean) - Method in class Subspace
  Checks, if this subspace intersects with the other.
isEqual(Fraction) - Method in class Fraction
  Checks if this fraction is equal to another fraction.
isEqual(int) - Method in class Fraction
  Checks if this fraction is equal to an integer.
isEqual(PiFraction) - Method in class PiFraction
  Checks if this `PiFraction` is equal to another `PiFraction`.
isEqual(Point) - Method in class Point
  Checks if two points are equal.
isEqual(SquareRootFraction) - Method in class SquareRootFraction
  Checks if two `SquareRootFraction`s are equal.
isEqual(Vector) - Method in class Vector
  Checks if two vectors are equal.
isGeneralFormAvailable() - Method in class Subspace
isNull() - Method in class Subspace
  Checks, if this subspace is a null space.
isParallel(Subspace) - Method in class Subspace
isParallel(Subspace, boolean) - Method in class Subspace
  Checks, if this subspace is parallel to the other.
isParametricFormAvailable() - Method in class Subspace
isSolvable() - Method in class Matrix
  Checks the solvability of this matrix.
isSolvable(boolean) - Method in class Matrix
  Checks the solvability of this matrix.
isZeroVector() - Method in class Vector
  Checks whether or not this vector is a zero vector.

## L

lcm(long, long) - Static method in class Utility
  Calculates the least common multiple of two given integers using formula lcm(a,b)=(a*b)/gcd(a,b).
length() - Method in class Vector
  Computes length of this vector.
length(char, boolean) - Method in class Vector
  Computes length of this vector.

## M

main(String[]) - Static method in class GUIsub2
Matrix - Class in <Unnamed>
  This class introduces matrices and enables basic operations with them.
Matrix() - Constructor for class Matrix
  Constructs a null matrix of dimension 0.
Matrix(int) - Constructor for class Matrix
  Constructs a rectangular identity matrix of a given dimension.
Matrix(int, int) - Constructor for class Matrix
  Constructs a zero matrix of given dimensions.
Matrix(Fraction[], int, int) - Constructor for class Matrix
  Constructs a matrix from a field of `Fraction`s.
mergeFromBottom(Matrix) - Method in class Matrix
  Merges another matrix to this matrix from bottom.
mergeFromRight(Matrix) - Method in class Matrix
  Merges another matrix to this matrix from right.
multiply(Fraction) - Method in class Fraction
  Multiplies this fraction by another fraction.
multiply(long) - Method in class Fraction
  Multiplies this fraction by an integer.
multiply(SquareRootFraction) - Method in class SquareRootFraction
  Multiplies this `SquareRootFraction` by another `SquareRootFraction`.
multiply(Fraction) - Method in class Vector
  Multiplies this vector by a scalar.
multiplyColumn(int, Fraction) - Method in class Matrix
  Multiplies a column of this matrix by a given coefficient.
multiplyRow(int, Fraction) - Method in class Matrix
  Multiplies a row of this matrix by a given coefficient.

## N

n - Variable in class Fraction
  the numerator
n - Variable in class PiFraction
  numerator
n - Variable in class SquareRootFraction
  whole part of the numerator
nSqrt - Variable in class SquareRootFraction
  square-root-part of the numerator

## O

opposite() - Method in class Vector
  Finds ppposite vector to this vector.
orthogonalComponent(Matrix) - Method in class Vector
  Finds the orthogonal component of the vector onto a given difference space.
orthogonalComponent(Matrix, boolean) - Method in class Vector
  Finds the orthogonal component of the vector onto a given difference space.
orthogonalizeWithGramSchmidt() - Method in class Matrix
  Orthogonalizes sequence of vectors using the Gram-Schmidt orthogonalization process.
orthogonalProjection(Matrix) - Method in class Vector
  Finds the orthogonal projection of this vector onto a given difference space.
orthogonalProjection(Matrix, boolean) - Method in class Vector
  Finds the orthogonal projection of this vector onto a given difference space.
orthogonalSupplement() - Method in class Subspace
  Finds orthogonal supplement to a subspace.

## P

PiFraction - Class in <Unnamed>
  This class introduces fractions of π.
PiFraction(long, long) - Constructor for class PiFraction
  Constructs a fraction from its numerator and denominator.
PiFraction(long) - Constructor for class PiFraction
  Constructs a fraction from an integer.
Point - Class in <Unnamed>
  This class introduces points and enables basic operations with them.
Point() - Constructor for class Point
  Constructs a null point of dimension 0.
Point(Fraction[], int) - Constructor for class Point
  Constructs a point from a field of `Fraction`s.
Point(int) - Constructor for class Point
  Constructs the origin.
Point(Point, Vector) - Constructor for class Point
  Constructs a point from a point and a vector.
Point(Vector) - Constructor for class Point
  Constructs a point from a vector (from the origin).

## R

randBool() - Static method in class Utility
  Generates a random boolean.
randInt(int, int) - Static method in class Utility
  Generates a random number from interval (inclusive), while the numbers closer to the center of the interval are more probable.
randIntUniform(int, int) - Static method in class Utility
  Generates a random number from interval (inclusive).
randNTuple(int, int, int) - Static method in class Utility
  Generates an n-tuple of random numbers from interval (inclusive), while the numbers closer to the center of the interval are more probable.
randNTupleUniform(int, int, int) - Static method in class Utility
  Generates an n-tuple of random numbers from interval (inclusive).
rank() - Method in class Matrix
  Rank of the matrix.
rank(boolean) - Method in class Matrix
  Rank of the matrix.
rank(char, boolean) - Method in class Matrix
  Rank of the matrix.
rowsToVectors() - Method in class Matrix
  Converts rows of this matrix into a field of vectors.

## S

scalarProduct(Vector) - Method in class Vector
  Computes scalar product of two vectors.
scalarProductNorm(Vector) - Method in class Vector
  Computes scalar product of two vectors after normalizing them.
set(Fraction, int, int) - Method in class Matrix
  The setter of this class - sets given element ar,c to a given value.
set(Fraction, int) - Method in class Point
  The setter of this class - sets given coordinate to a given value.
set(SquareRootFraction, int, int) - Method in class SquareRootMatrix
  The setter of this class - sets given element ar,c to a given value.
set(Fraction, int) - Method in class Vector
  The setter of this class - sets given coordinate to a given value.
solve() - Method in class Matrix
  Solves this matrix, or better converts it to a solved form.
solve(char, boolean) - Method in class Matrix
  Solves this matrix, or better converts it to a solved form.
solve(char, boolean, boolean) - Method in class Matrix
  Solves this matrix, or better converts it to a solved form.
solveOnly(char, boolean) - Method in class Matrix
  Solves this matrix, or better converts it to a solved form.
squared() - Method in class Fraction
  Squares this fraction.
squared() - Method in class SquareRootFraction
  Squares `SquareRootFraction` producing a simple fraction.
SquareRootFraction - Class in <Unnamed>
  This class introduces all square roots of fractions (SRF) and features basic necessary operations with them.
SquareRootFraction(long, long) - Constructor for class SquareRootFraction
  Constructs a `SquareRootFraction` from its numerator and denominator.
SquareRootFraction(Fraction) - Constructor for class SquareRootFraction
  Constructs a `SquareRootFraction` from a `Fraction`.
SquareRootFraction(long) - Constructor for class SquareRootFraction
  Constructs a `SquareRootFraction` from an integer.
SquareRootMatrix - Class in <Unnamed>
  This class introduces matrices of square roots of fractions (`SquareRootFraction` or SRF).
SquareRootMatrix(Fraction[], int, int) - Constructor for class SquareRootMatrix
  Constructs a matrix from a field of `Fraction`s.
SquareRootMatrix(int, int) - Constructor for class SquareRootMatrix
  Constructs a zero matrix of given dimensions.
SquareRootMatrix() - Constructor for class SquareRootMatrix
  Constructs a null matrix of dimension 0.
stringToFraction(String) - Method in class InputReader
submatrix(int, int, int, int) - Method in class Matrix
  Crops a submatrix from this matrix.
Subspace - Class in <Unnamed>
  This is the main class of the package.
Subspace() - Constructor for class Subspace
  Constructs a null subspace.
Subspace(Matrix) - Constructor for class Subspace
  Constructs a subspace given in general form.
Subspace(Point[], Vector[]) - Constructor for class Subspace
  Constructs a subspace given in parametric form (ie. from at least one point and potentially some vectors).
subtract(Fraction) - Method in class Fraction
  Subtracts another fraction from this fraction.
subtract(Vector) - Method in class Vector
  Subtracts another vector from this vector.
swapColumns(int, int) - Method in class Matrix
  Swaps two columns of this matrix.
swapRows(int, int) - Method in class Matrix
  Swaps two rows of this matrix.

## T

texOut(String) - Static method in class Subspace
texOut(String) - Static method in class Utility
  Writes to tex file containing results.
textOut(String) - Static method in class Subspace
textOut(String) - Static method in class Utility
  Writes to text file containing results.
toDegrees() - Method in class PiFraction
  Converts the angle from rads to degrees.
toMatrixColumn() - Method in class Point
  Converts the point to a 1-column matrix.
toMatrixColumn() - Method in class Vector
  Converts the vector to a 1-column matrix.
toMatrixRow() - Method in class Point
  Converts the point to a 1-row matrix.
toMatrixRow() - Method in class Vector
  Converts the vector to a 1-row matrix.
toRealMatrix() - Method in class SquareRootMatrix
  Converts all elements to real numbers.
toTeX() - Method in class Cyclometric
toTeX() - Method in class Fraction
  Prints this fraction formatted as TeX code.
toTeX() - Method in class Matrix
  Prints this matrix formatted as TeX code.
toTeX() - Method in class PiFraction
  Prints this PiFraction formatted as TeX code.
toTeX() - Method in class Point
  Prints this point formatted as TeX code.
toTeX() - Method in class SquareRootFraction
  Prints this `SquareRootFraction` formatted as TeX code.
toTeX() - Method in class SquareRootMatrix
  Prints this matrix formatted as TeX code.
toTeX() - Method in class Vector
  Prints this vector formatted as TeX code.
toTeXGeneral() - Method in class Subspace
  Print general form of this subspace formated as TeX code
toTeXGeneral(char) - Method in class Subspace
  Print general form of this subspace formated as TeX code
toTeXParametric() - Method in class Subspace
  Print paremetric form of this subspace formated as TeX code
toText() - Method in class Cyclometric
toText() - Method in class Fraction
  Prints this fraction formatted as text.
toText() - Method in class Matrix
  Prints this matrix formatted as text.
toText() - Method in class PiFraction
  Prints this PiFraction formatted as text.
toText() - Method in class Point
  Prints this point formatted as text.
toText() - Method in class SquareRootFraction
  Prints this `SquareRootFraction` formatted as text.
toText() - Method in class SquareRootMatrix
  Prints this matrix formatted as text.
toText() - Method in class Vector
  Prints this vector formatted as text.
toTextGeneral() - Method in class Subspace
  Print general form of this subspace formated as text
toTextGeneral(boolean) - Method in class Subspace
  Print general form of this subspace formated as text
toTextGeneral(boolean, char) - Method in class Subspace
  Print general form of this subspace formated as text
toTextParametric() - Method in class Subspace
  Print paremetric form of this subspace formated as text
toTextParametric(boolean) - Method in class Subspace
  Print paremetric form of this subspace formated as text
transpose() - Method in class Matrix
  Transposes this matrix.

## U

Utility - Class in <Unnamed>

## V

Vector - Class in <Unnamed>
  This class introduces vectors and enables basic operations with them.
Vector() - Constructor for class Vector
  Constructs a null vector of dimension 0.
Vector(Fraction[], int) - Constructor for class Vector
  Constructs a vector from a field of `Fraction`s.
Vector(int) - Constructor for class Vector
  Constructs a zero vector of a given dimension.
Vector(Point, Point) - Constructor for class Vector
  Constructs a vector from two given points.
Vector(Point) - Constructor for class Vector
  Constructs a vector from a point (initial point will be the origin).

A B C D F G I L M N O P R S T U V