scalation.linalgebra

Givens

object Givens

The Givens objects has methods for determinng values 'c = cos(theta)' and 's = sin(theta) for Givens rotation matrices as well as methods for applying Givens rotations.

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

Type Members

  1. type CosSin = (Double, Double)

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. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  10. def givens(y: Double, z: Double): CosSin

    Create the values for a Givens 2-by-2 rotation matrix.

    Create the values for a Givens 2-by-2 rotation matrix. Given scalars 'y' and 'z', efficiently compute 'c = cos(theta)' and 's = sin(theta)' that can be used to form the rotation matrix.

    y

    the first scalar

    z

    the second scalar

    See also

    Algorithm 5.1.3 in Matrix Computation.

  11. def givensColUpdate(a: MatrixD, j: Int, k: Int, cs: CosSin): Unit

    Efficiently perform a Givens column update: a = a * g (i, k, theta).

    Efficiently perform a Givens column update: a = a * g (i, k, theta). The update just affects two columns. FIX

    a

    the matrix to update

    j

    the first column ??

    k

    the second column ??

    cs

    the (cosine, sine) of theta

  12. def givensRo(i: Int, k: Int, n: Int, cs: CosSin): MatrixD

    Return a Givens rotation matrix with angle 'theta = atan(s/c)'.

    Return a Givens rotation matrix with angle 'theta = atan(s/c)'. A matrix is post-multiplied by the Given matrix to clear element (i, k). The 2-by-2 rotation is embedded in an identity matrix of dimension 'n'.

    i

    the first diagonal position (i, i)

    k

    the second diagonal position (k, k)

    n

    the dimension of the resulting rotation matrix

    cs

    the (cosine, sine) of theta

  13. def givensRoT(i: Int, k: Int, n: Int, cs: CosSin): MatrixD

    Return a transposed Givens rotation matrix with angle 'theta = atan(s/c)'.

    Return a transposed Givens rotation matrix with angle 'theta = atan(s/c)'. A matrix is pre-multiplied by the Given matrix to clear element (k, i). The 2-by-2 rotation is embedded in an identity matrix of dimension 'n'.

    i

    the first diagonal position (i, i)

    k

    the second diagonal position (k, k)

    n

    the dimension of the resulting rotation matrix

    cs

    the (cosine, sine) of theta

  14. def givensRowUpdate(a: MatrixD, i: Int, k: Int, cs: CosSin): Unit

    Efficiently perform a Givens row update: 'a = g (i, k, theta).

    Efficiently perform a Givens row update: 'a = g (i, k, theta).t * a'. The update just affects two row. FIX

    a

    the matrix to update

    i

    the first row ??

    k

    the second row ??

    cs

    the (cosine, sine) of theta

  15. def hashCode(): Int

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

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

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

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

    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped