Calculation Objects - Math

Math components are a subset of Calculation Object components.

Syntax

ComponentBrowser */ SetValue "Calculation Objects" {Component} {Attribute} <Value> [{Unit}]

ComponentBrowser */ Duplicate "Calculation Objects" {Component} <Duplicate Component Name>

Description

The Math components are:

Component Description
Absolute Value Absolute Value of a specified function
Difference Difference of a specified function. A Difference object expresses the difference of a 'reference' calculation object between two points in time. The first point in time is the beginning of the segment where the 'difference' object is placed and the second is the current time at the end of the segment.
Maximum Value Maximum Value of a specified function
Minimum Value Minimum Value of a specified function
Negative Negative of a specified function

The attributes for each component have the same names and value selections that appear in the Astrogator graphical user interface.

Examples

Duplicating a Math component

ComponentBrowser */ Duplicate "Calculation Objects" Difference "My Difference"

Changing an attribute of a custom Math component

ComponentBrowser */ SetValue "Calculation Objects" "My Absolute Value" CalcObject AtmosPressure

STK Programming Interface 11.0.1