Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cartesian2Spherical ¶
Cartesian2Spherical returns the provided Cartesian coordinates vector in spherical.
func Spherical2Cartesian ¶
Spherical2Cartesian returns the provided spherical coordinates vector in Cartesian.
Types ¶
type Attitude ¶
type Attitude struct { Attitude *MRP Velocity *mat64.Vector InertiaTensor *mat64.Dense // contains filtered or unexported fields }
Attitude defines an attitude with an orientation, an angular velocity and an inertial tensor. *ALMOST* implements rk4.Integrable.
func NewAttitude ¶
NewAttitude returns an Attitude pointer.
func (*Attitude) GetState ¶
GetState returns the state of this attitude for the EOM as defined below.
type MRP ¶
type MRP struct {
// contains filtered or unexported fields
}
MRP defines Modified Rodrigez Parameters.
func (*MRP) OuterProduct ¶
OuterProduct returns the outer product of this MRP with itself. The m parameter allows to multiply directly the outer product with a scalar.
Click to show internal directories.
Click to hide internal directories.