- data Matrix
- matrix :: [[RSdouble]] -> Matrix
- transformHomogenous :: RSdouble -> RSdouble -> RSdouble -> RSdouble -> (RSdouble -> RSdouble -> RSdouble -> a) -> Matrix -> a
- rowMajorForm :: Matrix -> [[RSdouble]]
- colMajorForm :: Matrix -> [[RSdouble]]
- rowAt :: Matrix -> Int -> [RSdouble]
- matrixAt :: Matrix -> (Int, Int) -> RSdouble
- identity_matrix :: Matrix
- translationMatrix :: Vector3D -> Matrix
- rotationMatrix :: Vector3D -> Angle -> Matrix
- scaleMatrix :: Vector3D -> Matrix
- xyzMatrix :: Vector3D -> Vector3D -> Vector3D -> Matrix
- matrixAdd :: Matrix -> Matrix -> Matrix
- matrixMultiply :: Matrix -> Matrix -> Matrix
- matrixTranspose :: Matrix -> Matrix
- matrixInverse :: Matrix -> Matrix
- determinant :: Matrix -> RSdouble
- matrixInversePrim :: Matrix -> Matrix
- matrixTransposePrim :: Matrix -> Matrix
- matrixInverseTransposePrim :: Matrix -> Matrix
- determinantPrim :: Matrix -> RSdouble
Documentation
transformHomogenous :: RSdouble -> RSdouble -> RSdouble -> RSdouble -> (RSdouble -> RSdouble -> RSdouble -> a) -> Matrix -> aSource
Generate a column matrix of length 4, perform an affine transformation on it, and produce the resulting value.
rowMajorForm :: Matrix -> [[RSdouble]]Source
colMajorForm :: Matrix -> [[RSdouble]]Source
rotationMatrix :: Vector3D -> Angle -> MatrixSource
scaleMatrix :: Vector3D -> MatrixSource
matrixMultiply :: Matrix -> Matrix -> MatrixSource
matrixInverse :: Matrix -> MatrixSource
determinant :: Matrix -> RSdoubleSource