Trigonometric Function
Overview
This operator offers trigonometric functions and some inverse trigonometric functions (cyclometric functions).Note that some of the functions have restricted input values, due to the mathematical properties of some of the trigonometric functions.
Operator ports
Input S: Floating point valuesOutput tri(S): Floating point values
Properties
Find more information about changing properties here: linkFunction
type: Select from the listThe function of this operator, which is any of the listed trigonometric functions.
Select one of those presets:
sin
Sine (opposite / hypotenuse)
cos
Cosine (adjacent / hypotenuse)
tan
Tangent (opposite / adjacent)
cot
Cotangent (adjacent / opposite)
sec
Secant (hypotenuse / adjacent)
csc
Cosecant (hypotenuse / opposite)
arcsin
Inverse sine, so that y = arcsin x, where x = sin y and -1 <= x <= 1
arccos
Inverse cosine, so that y = arccos x, where x = cos y and -1 <= x <= 1
arctan
Inverse tangent, so that y = arctan x, where x = tan y
arccot
Inverse tangent, so that y = arccot x, x = cot y
sin
Sine (opposite / hypotenuse)
cos
Cosine (adjacent / hypotenuse)
tan
Tangent (opposite / adjacent)
cot
Cotangent (adjacent / opposite)
sec
Secant (hypotenuse / adjacent)
csc
Cosecant (hypotenuse / opposite)
arcsin
Inverse sine, so that y = arcsin x, where x = sin y and -1 <= x <= 1
arccos
Inverse cosine, so that y = arccos x, where x = cos y and -1 <= x <= 1
arctan
Inverse tangent, so that y = arctan x, where x = tan y
arccot
Inverse tangent, so that y = arccot x, x = cot y
Unit
type: Select from the listSelect whether the trigonometric function is in degrees or radians.
Select one of those presets:
Radians
Unit is in radians
Degrees
Unit is in degrees
Radians
Unit is in radians
Degrees
Unit is in degrees
Caption
type: Word or phraseThe name of the object in the project. This name must not contain '.' or '$' characters.
Every object has the Caption property. This property is very important, because it is the name by which Polybench recognizes this object.
It is allowed to give multiple objects the same name, as long as the objects are of the same type. In that case, a reference to this caption includes all the objects with the same caption.
In Polybench, every object can be addressed by an Address specifier, which starts with the dollar sign, for example: $My Page.My Object. 'My Page' would be the Caption of a page, and 'My Object' the Caption of an object on that page.
It is allowed to give multiple objects the same name, as long as the objects are of the same type. In that case, a reference to this caption includes all the objects with the same caption.
In Polybench, every object can be addressed by an Address specifier, which starts with the dollar sign, for example: $My Page.My Object. 'My Page' would be the Caption of a page, and 'My Object' the Caption of an object on that page.
Documentation
type: See descriptionOptional documentation of this object.
It is good practice to write in short notes why you have used this object, and why its properties are set the way they are set. If this object is an operator, the Documentation text is displayed below the operator symbol.