tuple_acostuple_acosTupleAcosTupleAcostuple_acos (Operator)

Name

tuple_acostuple_acosTupleAcosTupleAcostuple_acos — Compute the arccosine of a tuple.

Signature

tuple_acos( : : T : ACos)

Herror tuple_acos(double T, double* ACos)

Herror T_tuple_acos(const Htuple T, Htuple* ACos)

void TupleAcos(const HTuple& T, HTuple* ACos)

HTuple HTuple::TupleAcos() const

static void HOperatorSet.TupleAcos(HTuple t, out HTuple ACos)

HTuple HTuple.TupleAcos()

def tuple_acos(t: MaybeSequence[Union[float, int]]) -> Sequence[float]

def tuple_acos_s(t: MaybeSequence[Union[float, int]]) -> float

Description

tuple_acostuple_acosTupleAcosTupleAcosTupleAcostuple_acos computes the arccosine of the input tuple TTTTtt. The arccosine is always returned as a floating point number in ACosACosACosACosACosacos. The angles in ACosACosACosACosACosacos are represented in radians. The arccosine of a string is not allowed.

Exception: Empty input tuple

If the input tuple is empty, the operator returns an empty tuple.

HDevelop In-line Operation

HDevelop provides an in-line operation for tuple_acostuple_acosTupleAcosTupleAcosTupleAcostuple_acos, which can be used in an expression in the following syntax:

ACos := acos(T)

Execution Information

Parameters

TTTTtt (input_control)  number(-array) HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Input tuple.

Restriction: -1 <= T <= 1

ACosACosACosACosACosacos (output_control)  angle.rad(-array) HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Arccosine of the input tuple.

Alternatives

tuple_asintuple_asinTupleAsinTupleAsinTupleAsintuple_asin, tuple_atantuple_atanTupleAtanTupleAtanTupleAtantuple_atan, tuple_atan2tuple_atan2TupleAtan2TupleAtan2TupleAtan2tuple_atan2

See also

tuple_costuple_cosTupleCosTupleCosTupleCostuple_cos, tuple_coshtuple_coshTupleCoshTupleCoshTupleCoshtuple_cosh, tuple_acoshtuple_acoshTupleAcoshTupleAcoshTupleAcoshtuple_acosh

Module

Foundation