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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

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

    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.

  13. def givensColUpdate(a: MatrixD, j: Int, k: Int, cs: (Double, Double)): 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

  14. def givensRo(i: Int, k: Int, n: Int, cs: (Double, Double)): 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

  15. def givensRoT(i: Int, k: Int, n: Int, cs: (Double, Double)): 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

  16. def givensRowUpdate(a: MatrixD, i: Int, k: Int, cs: (Double, Double)): 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

  17. def hashCode(): Int

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

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

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

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

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

    Definition Classes
    AnyRef
  23. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped