scalation.linalgebra

Rotation

object Rotation extends Serializable

The Rotation object provides methods for rotating in a plane.

[ cs sn ] . [ f ] = [ r ] where cs2 + sn2 = 1 [ -sn cs ] [ g ] [ 0 ]

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Rotation
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def formMatrix(q: Rotation): MatrixD

    Given the cosine and sine for a rotation, form the rotation matrix.

    Given the cosine and sine for a rotation, form the rotation matrix.

    q

    the results of a rotation

  10. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  16. def rot(n: Int, x: VectorD, y: VectorD, cs: Double, sn: Double): Unit

    Rotate vectors 'x' and 'y' using cosine 'cs' and sine 'sn'.

    Rotate vectors 'x' and 'y' using cosine 'cs' and sine 'sn'.

    n

    the number of elements involved in rotation

    x

    the first vector

    y

    the second vector

    cs

    the cosine for the rotation

    sn

    the sine for the rotation

    See also

    BLAS SUBROUTINE DROT (N, DX, INCX, DY, INCY, C, S) restriction: INCX = INCY = 1

  17. def rotCol(n: Int, a: Matrix, jx: Int, jy: Int, cs: Double, sn: Double): Unit

    Rotate column vectors with indices 'jx' and 'jy' using cosine 'cs' and sine 'sn'.

    Rotate column vectors with indices 'jx' and 'jy' using cosine 'cs' and sine 'sn'.

    n

    the number of elements involved in rotation

    a

    the matrix containing the columns to be rotated

    jx

    the index for the first column vector

    jy

    the index for the second column vector

    cs

    the cosine for the rotation

    sn

    the sine for the rotation

    See also

    BLAS SUBROUTINE DROT (N, DX, INCX, DY, INCY, C, S) restriction: INCX = INCY = 1

  18. def rotate(x: VectorD): Rotation

    Rotate the vector 'x to vector 'y' to make 'y(1) = 0'.

    Rotate the vector 'x to vector 'y' to make 'y(1) = 0'.

    x

    the vector to be rotated

  19. def rotate(f: Double, g: Double): Rotation

    Rotate vector '[f, g]' to vector '[r, 0]' to make the second element 0.

    Rotate vector '[f, g]' to vector '[r, 0]' to make the second element 0.

    f

    the first element of the vector to be rotated

    g

    the second element of the vector to be rotated

    See also

    LAPACK SUBROUTINE DLARTG (F, G, CS, SN, R)

  20. def rotateV(left: Boolean, forward: Boolean, m: Int, n: Int, cs: Array[Double], ics: Int, sn: Array[Double], isn: Int, a: MatrixD): Unit

    Rotate the vectors in matrix 'a'.

    Rotate the vectors in matrix 'a'.

    left

    whether to apply rotation from the left (true) or right (false)

    forward

    whether to loop in the forward (true) or backward (false) direction

    m

    the relevant number of rows

    n

    the relevant number of columns

    cs

    the array of cosines

    ics

    the index offset for the array of cosines

    sn

    the array of sines

    isn

    the index offset for the array of sines

    a

    the matrix to rotate

    See also

    LAPACK SUBROUTINE DLASR (SIDE, PIVOT, DIRECT, M, N, C, S, A, LDA) restriction: PIVOT = 'v'

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. def toString(): String

    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped