Uses of Class
edu.stanford.rsl.konrad.numerics.SimpleMatrix

Packages that use SimpleMatrix
edu.stanford.rsl.konrad.geometry Contains classes to describe various projection geometries. 
edu.stanford.rsl.konrad.geometry.shapes.simple   
edu.stanford.rsl.konrad.geometry.trajectories   
edu.stanford.rsl.konrad.geometry.transforms   
edu.stanford.rsl.konrad.numerics Contains Matrix and Vector objects and associated linear algebra operations. 
edu.stanford.rsl.konrad.utils Contains various utility classes. 
 

Uses of SimpleMatrix in edu.stanford.rsl.konrad.geometry
 

Methods in edu.stanford.rsl.konrad.geometry that return SimpleMatrix
 SimpleMatrix Projection.computeP()
          Computes the 3x4 projection matrix $\mathbf{P} = s \cdot \mathbf{K} \cdot \left(\begin{array}{c|c} \mathbf{R} & \mathbf{t} \end{array}\right)$ and returns it.
static SimpleMatrix Rotations.create3DChangeOfAxesMatrix(CoordinateSystem oldSystem, CoordinateSystem newSystem)
          Calculates rotational change of axis matrix from old system to new system using directional cosines.
static SimpleMatrix Rotations.createBasicRotationMatrix(Rotations.BasicAxis axis, double angle)
           
static SimpleMatrix Rotations.createBasicXRotationMatrix(double angle)
           
static SimpleMatrix Rotations.createBasicYRotationMatrix(double angle)
           
static SimpleMatrix Rotations.createBasicZRotationMatrix(double angle)
           
static SimpleMatrix General.createHomAffineMotionMatrix(SimpleMatrix A)
           
static SimpleMatrix General.createHomAffineMotionMatrix(SimpleMatrix A, SimpleVector t)
           
static SimpleMatrix General.createHomAffineMotionMatrix(SimpleVector t)
           
static SimpleMatrix Rotations.createRotationMatrixAboutAxis(Axis axis, double angle)
          Creates a Rotation Matrix about an arbitrary axis.
static SimpleMatrix Rotations.createRotationMatrixAboutAxis(SimpleVector axis, double angle)
           
 SimpleMatrix Projection.getK()
          Returns a const reference to the K matrix of intrinsic parameters.
 SimpleMatrix Projection.getR()
          Returns a const reference to the rotation matrix R.
 SimpleMatrix Projection.getRt()
          Returns all extrinsic parameters (R and t) in a homogeneous rigid motion matrix.
 

Methods in edu.stanford.rsl.konrad.geometry with parameters of type SimpleMatrix
 void CoordinateSystem.applyChangeOfCoordinatesMatrix(SimpleMatrix transform)
           
static SimpleMatrix General.createHomAffineMotionMatrix(SimpleMatrix A)
           
static SimpleMatrix General.createHomAffineMotionMatrix(SimpleMatrix A, SimpleVector t)
           
 void Projection.initFromP(SimpleMatrix P)
          Define the projection using a 3x4 projection matrix.
 void Projection.initFromSKRT(double s, SimpleMatrix K, SimpleMatrix R, SimpleVector t)
          Set the projection's intrinsic and extrinsic parameters all at once.
 void Projection.setKValue(SimpleMatrix K)
          Set the intrinsic parameters K of the projection.
 void Projection.setRtValue(SimpleMatrix Rt)
          Set the extrinsic parameters of the projection.
 void Projection.setRValue(SimpleMatrix R)
          Set the rotation part of the extrinsic parameters of the projection.
static void General.splitHomAffineMotionMatrix(SimpleMatrix At, SimpleMatrix A, SimpleVector t)
           
 

Constructors in edu.stanford.rsl.konrad.geometry with parameters of type SimpleMatrix
Projection(SimpleMatrix P)
          Construct this projection from a 3x4 Matrix.
 

Uses of SimpleMatrix in edu.stanford.rsl.konrad.geometry.shapes.simple
 

Methods in edu.stanford.rsl.konrad.geometry.shapes.simple that return SimpleMatrix
 SimpleMatrix SimpleSurface.getChangeOfAxisMatrix(Axis newAxis)
          Calculates matrix for rotating shape from a principal axis to new axis.
 

Uses of SimpleMatrix in edu.stanford.rsl.konrad.geometry.trajectories
 

Methods in edu.stanford.rsl.konrad.geometry.trajectories that return SimpleMatrix
static SimpleMatrix ExtrapolatedTrajectory.getHomogeneousRotationMatrixZ(double angularIncrement)
          Computes a rotation matrix around z axis in homogeneous coordinates.
 

Uses of SimpleMatrix in edu.stanford.rsl.konrad.geometry.transforms
 

Methods in edu.stanford.rsl.konrad.geometry.transforms that return SimpleMatrix
 SimpleMatrix Quaternion.equivalentMatrix()
           
 SimpleMatrix ScaleRotate.getData()
           
 

Constructors in edu.stanford.rsl.konrad.geometry.transforms with parameters of type SimpleMatrix
AffineTransform(SimpleMatrix scaleRotate, SimpleVector translatorVec)
           
ScaleRotate(SimpleMatrix t)
           
 

Uses of SimpleMatrix in edu.stanford.rsl.konrad.numerics
 

Fields in edu.stanford.rsl.konrad.numerics declared as SimpleMatrix
static SimpleMatrix SimpleMatrix.I_2
           
static SimpleMatrix SimpleMatrix.I_3
           
static SimpleMatrix SimpleMatrix.I_4
           
 

Methods in edu.stanford.rsl.konrad.numerics that return SimpleMatrix
static SimpleMatrix SimpleOperators.add(SimpleMatrix... addends)
          Computes the sum of provided matrices
 SimpleMatrix SimpleMatrix.clone()
           
static SimpleMatrix SimpleOperators.concatenateHorizontally(SimpleVector... columns)
          Creates a new matrix which is composed of all input column vectors, stacked next to each other.
 SimpleMatrix SimpleMatrix.dividedBy(double divisor)
          Divide all entries in matrix by divisor [current matrix is not updated]
static SimpleMatrix SimpleOperators.divideElementWise(SimpleMatrix M1, SimpleMatrix M2)
           
 SimpleMatrix DecompositionRQ.getQ()
          Computes the orthogonal $n \times n$ matrix $\mathbf{Q}$.
 SimpleMatrix DecompositionQR.getQ()
          Compute Q from the internal storage QR.
 SimpleMatrix DecompositionRQ.getR()
          Computes the upper-triangular $m \times n$ matrix $\mathbf{R}$.
 SimpleMatrix DecompositionQR.getR()
          Compute R from the internal storages QR and Rdiag.
 SimpleMatrix SimpleMatrix.getSubMatrix(int[] selectRows, int[] selectCols)
          Creates a new sub matrix with entries from ordered rows and ordered columns provided
 SimpleMatrix SimpleMatrix.getSubMatrix(int deleteRow, int deleteCol)
           
 SimpleMatrix SimpleMatrix.getSubMatrix(int firstRow, int firstCol, int sizeRows, int sizeCols)
          Creates a new sub matrix of this matrix
 SimpleMatrix SimpleMatrix.inverse(SimpleMatrix.InversionType inversionType)
          Inverts the given matrix using the specified inversion method.
static SimpleMatrix SimpleOperators.max(SimpleMatrix... matrices)
          Computes and returns the element-wise maximum of all given matrices.
static SimpleMatrix SimpleOperators.min(SimpleMatrix... matrices)
          Computes and returns the element-wise minimum of all given matrices.
 SimpleMatrix SimpleMatrix.multipliedBy(double factor)
          Multiply factor to all entries in matrix [current matrix is not updated]
static SimpleMatrix SimpleOperators.multiplyElementWise(SimpleMatrix... factors)
           
static SimpleMatrix SimpleOperators.multiplyMatrixProd(SimpleMatrix M1, SimpleMatrix M2)
          Computes the product of two matrices
static SimpleMatrix SimpleOperators.multiplyOuterProd(SimpleVector v1, SimpleVector v2)
          Computes the outer product multiplication of v1 and v2; i.e v1 x v2
 SimpleMatrix SimpleMatrix.negated()
           
 SimpleMatrix DecompositionRQ.solve(SimpleMatrix B)
          Computes solution Matrix $\mathbf X$ for the right-hand-side $\mathbf B$.
 SimpleMatrix DecompositionQR.solve(SimpleMatrix B)
          Computes solution Matrix $\mathbf X$ for the right-hand-side $\mathbf B$.
static SimpleMatrix SimpleOperators.subtract(SimpleMatrix M1, SimpleMatrix M2)
          Subtracts M2 from M1
 SimpleMatrix SimpleVector.transposed()
           
 SimpleMatrix SimpleMatrix.transposed()
           
 

Methods in edu.stanford.rsl.konrad.numerics with parameters of type SimpleMatrix
static SimpleMatrix SimpleOperators.add(SimpleMatrix... addends)
          Computes the sum of provided matrices
 void SimpleMatrix.add(SimpleMatrix... addends)
          Method to add a set of matrices to this matrix in place.
static SimpleMatrix SimpleOperators.divideElementWise(SimpleMatrix M1, SimpleMatrix M2)
           
 void SimpleMatrix.divideElementWiseBy(SimpleMatrix other)
          ordered division of matrix entries in place
static boolean SimpleOperators.equalElementWise(SimpleMatrix M1, SimpleMatrix M2, double delta)
           
 void SimpleMatrix.init(SimpleMatrix otherMat)
          Initialize matrix with data from supplied matrix
static SimpleMatrix SimpleOperators.max(SimpleMatrix... matrices)
          Computes and returns the element-wise maximum of all given matrices.
static SimpleMatrix SimpleOperators.min(SimpleMatrix... matrices)
          Computes and returns the element-wise minimum of all given matrices.
static SimpleVector SimpleOperators.multiply(SimpleMatrix M, SimpleVector v)
          Performs a standard matrix-vector product.
static SimpleVector SimpleOperators.multiply(SimpleVector v, SimpleMatrix M)
          Performs a vector-matrix product, assuming a row vector.
static SimpleMatrix SimpleOperators.multiplyElementWise(SimpleMatrix... factors)
           
 void SimpleMatrix.multiplyElementWiseBy(SimpleMatrix other)
          ordered multiplication of matrix entries in place
static SimpleMatrix SimpleOperators.multiplyMatrixProd(SimpleMatrix M1, SimpleMatrix M2)
          Computes the product of two matrices
 void SimpleMatrix.setSubMatrixValue(int firstRow, int firstCol, SimpleMatrix subMatrix)
          Replaces matrix entries starting at firsRow and firstCol with entries from subMatrix
 SimpleMatrix DecompositionRQ.solve(SimpleMatrix B)
          Computes solution Matrix $\mathbf X$ for the right-hand-side $\mathbf B$.
 SimpleMatrix DecompositionQR.solve(SimpleMatrix B)
          Computes solution Matrix $\mathbf X$ for the right-hand-side $\mathbf B$.
static SimpleVector Solvers.solveLinearLeastSquares(SimpleMatrix A, SimpleVector b)
          Solves the linear least squares problem $\min_{\mathbf{x}} \| \mathbf{A} \cdot \mathbf{x} - \mathbf{b} \|^2$ with a matrix A (with as least as much rows as columns).
static SimpleVector Solvers.solveLinearSysytemOfEquations(SimpleMatrix A, SimpleVector b)
          Solves the linear system of equations $\mathbf{A} \cdot \mathbf{x} = \mathbf{b}$ with a square matrix A.
static SimpleVector Solvers.solveLowerTriangular(SimpleMatrix L, SimpleVector b)
          Solves the linear system of equations L*x = b with a square, lower-triangular matrix L using forward substitution.
static SimpleVector Solvers.solveUpperTriangular(SimpleMatrix U, SimpleVector b)
          Solves the linear system of equations U*x = b with a square, upper-triangular matrix U using backward substitution.
 void SimpleMatrix.subtract(SimpleMatrix... subtrahends)
          Method to subtract a set of matrices to this matrix in place.
static SimpleMatrix SimpleOperators.subtract(SimpleMatrix M1, SimpleMatrix M2)
          Subtracts M2 from M1
 

Constructors in edu.stanford.rsl.konrad.numerics with parameters of type SimpleMatrix
DecompositionQR(SimpleMatrix A)
          Constructor performing the actual decomposition of a matrix $\mathbf{A}$ and storing the result in an internal format.
DecompositionRQ(SimpleMatrix A)
          Constructor performing the actual decomposition of a matrix $\mathbf{A}$ and storing the result in an internal format.
SimpleMatrix(SimpleMatrix otherMat)
          Creates a new matrix from another
 

Uses of SimpleMatrix in edu.stanford.rsl.konrad.utils
 

Methods in edu.stanford.rsl.konrad.utils that return SimpleMatrix
static SimpleMatrix TestingTools.randLowerTriangularMatrix(int rows, int cols)
          Randomly generates a lower-triangular matrix of the given size.
static SimpleMatrix TestingTools.randMatrix(int rows, int cols)
          Randomly generates a matrix of the given size.
static SimpleMatrix TestingTools.randMatrixNonSingular(int size)
          Randomly generates a matrix of the given size which is not singular.
static SimpleMatrix TestingTools.randOrthogonalMatrix(int size)
          Randomly generates an orthogonal matrix of the given size, i.e.
static SimpleMatrix TestingTools.randRotationMatrix2D()
          Randomly generates a 2x2 rotation matrix (representing a 2D rotation).
static SimpleMatrix TestingTools.randRotationMatrix3D()
          Randomly generates a 3x3 rotation matrix (representing a 3D rotation).
static SimpleMatrix TestingTools.randSpecialOrthogonalMatrix(int size)
          Randomly generates an special orthogonal matrix of the given size, i.e.
static SimpleMatrix TestingTools.randUpperTriangularMatrix(int rows, int cols)
          Randomly generates an upper-triangular matrix of the given size.
 

Methods in edu.stanford.rsl.konrad.utils with parameters of type SimpleMatrix
static void TestingTools.assertEqualElementWise(SimpleMatrix M1, SimpleMatrix M2, double delta)
          own assert for matrices