Companion

public class Companion

Functions

eulerRotationMatrix3d
Link copied to clipboard
final Matrix eulerRotationMatrix3d(Double alpha, Double beta, Double gamma)
Make a 3-dimensional rotation matrix of given Euler angles.
identityMatrix
Link copied to clipboard
final Matrix identityMatrix(Integer n)
Make an identity matrix of order n.
ones
Link copied to clipboard
final Matrix ones(Integer m, Integer n)
Make a matrix of shape m * n in which all elements are 1
rotationMatrix2d
Link copied to clipboard
final Matrix rotationMatrix2d(Double theta)
Make a 2-dimensional rotation matrix.
rotationMatrix3dX
Link copied to clipboard
final Matrix rotationMatrix3dX(Double theta)
Make a 3-dimensional rotation matrix about the x-axis.
rotationMatrix3dY
Link copied to clipboard
final Matrix rotationMatrix3dY(Double theta)
Make a 3-dimensional rotation matrix about the y-axis.
rotationMatrix3dZ
Link copied to clipboard
final Matrix rotationMatrix3dZ(Double theta)
Make a 3-dimensional rotation matrix about the z-axis.
rowSwitchingMatrix
Link copied to clipboard
final Matrix rowSwitchingMatrix(Integer n, Integer firstIndex, Integer secondIndex)
Make an elementary matrix which represents row-switching transformation.
zeros
Link copied to clipboard
final Matrix zeros(Integer m, Integer n)
Make a zero matrix of shape m * n.

Properties

INSTANCE
Link copied to clipboard
public final static Matrix.Companion INSTANCE