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 ]
- Alphabetic
- By Inheritance
- Rotation
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
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
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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'
-
def
rotCol(n: Int, a: MatriD, 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'
-
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
-
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)
-
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 cos's
- ics
the index offset for the array of cos's
- sn
the array of sin's
- isn
the index offset for the array of sin's
- a
the matrix to rotate
- See also
LAPACK SUBROUTINE DLASR (SIDE, PIVOT, DIRECT, M, N, C, S, A, LDA) restriction: 'PIVOT = v'
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )